diff --git a/docs/dyn/walletobjects_v1.eventticketclass.html b/docs/dyn/walletobjects_v1.eventticketclass.html index 12c02b58e6..79117e8a52 100644 --- a/docs/dyn/walletobjects_v1.eventticketclass.html +++ b/docs/dyn/walletobjects_v1.eventticketclass.html @@ -165,376 +165,178 @@

Method Details

{ "resource": { # The updated EventTicketClass resource. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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 object that will be used instead. + "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. }, ], }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. + }, + ], }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "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. }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - }, + ], }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], }, + "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. }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "finePrint": { # The fine print, terms, or conditions of the ticket. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + "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". @@ -549,36 +351,9 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -615,153 +390,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. - "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. + "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. }, }, - "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. + "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". @@ -776,7 +429,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -791,202 +444,209 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, }, ], }, - "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. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, ], }, - "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. + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "transitOption": "A 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 event ticket class with the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
-  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
-    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
-    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
-  },
-  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
-    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
-      "firstBottomDetail": { # Optional information to display below the barcode.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+        "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice.
           "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
             { # Reference definition to use with field overrides.
               "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
@@ -994,19 +654,7 @@ 

Method Details

}, ], }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. { # Reference definition to use with field overrides. "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. @@ -1016,266 +664,108 @@

Method Details

}, }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - }, - "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - ], - }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1290,47 +780,7 @@

Method Details

}, ], }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "finePrint": { # The fine print, terms, or conditions of the ticket. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. - "contentDescription": { # Description of the image used for accessibility. + "finePrint": { # The fine print, terms, or conditions of the ticket. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1345,10 +795,9 @@

Method Details

}, ], }, - "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. + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -1363,37 +812,10 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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". @@ -1408,10 +830,37 @@

Method Details

}, ], }, - "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. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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". @@ -1426,18 +875,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -1452,79 +893,82 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - { + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. }, - "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. - }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + ], }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. - "contentDescription": { # Description of the image used for accessibility. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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". @@ -1539,10 +983,15 @@

Method Details

}, ], }, - "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. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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". @@ -1557,40 +1006,128 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + "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. + }, }, - "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. }, - "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. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + ], + }, }, - "localizedHeader": { # Translated strings for the message header. + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1605,29 +1142,8 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1642,7 +1158,11 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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". @@ -1657,63 +1177,168 @@

Method Details

}, ], }, - }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + }, }, }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. +}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the event ticket class with the given class ID.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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.
+        },
       },
-      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-      "translatedValues": [ # Contains the translations for the string.
-        {
+      "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#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.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the 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".
@@ -1728,29 +1353,178 @@ 

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -1765,22 +1539,8 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, }, -}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an event ticket class with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -2570,100 +2330,342 @@ 

Method Details

"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 +
+ insert(body=None, x__xgafv=None) +
Inserts an event ticket class with the given ID and properties.
 
-Returns:
-  An object of the form:
+Args:
+  body: object, The request body.
+    The object takes the form of:
 
-    {
+{
   "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
-  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
-    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
-    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
-  },
-  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
-    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
-      "firstBottomDetail": { # Optional information to display below the barcode.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+  "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 object that will be used instead.
+    "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.
             },
           ],
         },
-      },
-      "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+        "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.
         },
       },
-      "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+      "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.
         },
       },
-    },
-    "cardTemplateOverride": { # Override for the card view.
-      "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
-        {
-          "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "item": { # The item to be displayed in the row. This item will be automatically centered.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
+      "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.
           },
-          "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+        ],
+      },
+      "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.
+          },
+        ],
+      },
+    },
+    "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.
             },
-            "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+            "translatedValues": [ # Contains the translations for the string.
+              {
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the 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.
+          },
+        ],
+      },
+    },
+  },
+  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
+    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
+    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
+  },
+  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
+    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
+      "firstBottomDetail": { # Optional information to display below the barcode.
+        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+            { # Reference definition to use with field overrides.
+              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            },
+          ],
+        },
+      },
+      "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
+        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+            { # Reference definition to use with field overrides.
+              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            },
+          ],
+        },
+      },
+      "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
+        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+            { # Reference definition to use with field overrides.
+              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            },
+          ],
+        },
+      },
+    },
+    "cardTemplateOverride": { # Override for the card view.
+      "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
+        {
+          "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
+            "item": { # The item to be displayed in the row. This item will be automatically centered.
               "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
                 "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
                   { # Reference definition to use with field overrides.
@@ -2682,7 +2684,9 @@ 

Method Details

], }, }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. { # Reference definition to use with field overrides. @@ -2701,9 +2705,7 @@

Method Details

], }, }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. { # Reference definition to use with field overrides. @@ -2742,20 +2744,60 @@

Method Details

}, }, }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. @@ -3371,17 +3413,8 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, -}
-
- -
- list(issuerId=None, maxResults=None, token=None, x__xgafv=None) -
Returns a list of all event ticket classes for a given issuer ID.
+}
 
-Args:
-  issuerId: string, The ID of the issuer authorized to list classes.
-  maxResults: integer, Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.
-  token: string, Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -3391,95 +3424,1467 @@ 

Method Details

An object of the form: { - "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. - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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. + }, + ], }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "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. }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + }, + "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. + }, + ], + }, + }, + "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. { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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. }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + ], + }, + "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. + }, + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "finePrint": { # The fine print, terms, or conditions of the ticket. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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(issuerId=None, maxResults=None, token=None, x__xgafv=None) +
Returns a list of all event ticket classes for a given issuer ID.
+
+Args:
+  issuerId: string, The ID of the issuer authorized to list classes.
+  maxResults: integer, Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.
+  token: string, Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
+    {
+      "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+      "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 object that will be used instead.
+        "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.
+              },
+            ],
+          },
+        },
+        "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.
+              },
+            ],
+          },
+        },
+      },
+      "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
+        "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
+        "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
+      },
+      "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
+        "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
+          "firstBottomDetail": { # Optional information to display below the barcode.
+            "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                { # Reference definition to use with field overrides.
+                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                },
+              ],
+            },
+          },
+          "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
+            "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                { # Reference definition to use with field overrides.
+                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                },
+              ],
+            },
+          },
+          "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
+            "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                { # Reference definition to use with field overrides.
+                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                },
+              ],
+            },
+          },
+        },
+        "cardTemplateOverride": { # Override for the card view.
+          "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
+            {
+              "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
+                "item": { # The item to be displayed in the row. This item will be automatically centered.
+                  "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                      { # Reference definition to use with field overrides.
+                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                      },
+                    ],
+                  },
+                  "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                  "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                      { # Reference definition to use with field overrides.
+                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                      },
+                    ],
+                  },
+                },
+              },
+              "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
+                "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
+                  "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                      { # Reference definition to use with field overrides.
+                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                      },
+                    ],
+                  },
+                  "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                  "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                      { # Reference definition to use with field overrides.
+                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                      },
+                    ],
+                  },
+                },
                 "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
                   "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
                     "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
@@ -3489,107 +4894,1179 @@ 

Method Details

}, ], }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "finePrint": { # The fine print, terms, or conditions of the ticket. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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 event ticket class referenced by the given class ID. This method supports patch semantics.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
+
+{
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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.
+          },
+        ],
+      },
+    },
+    "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.
+          },
+        ],
+      },
+    },
+  },
+  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
+    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
+    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
+  },
+  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
+    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
+      "firstBottomDetail": { # Optional information to display below the barcode.
+        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+            { # Reference definition to use with field overrides.
+              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            },
+          ],
+        },
+      },
+      "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
+        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+            { # Reference definition to use with field overrides.
+              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            },
+          ],
+        },
+      },
+      "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
+        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+            { # Reference definition to use with field overrides.
+              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            },
+          ],
+        },
+      },
+    },
+    "cardTemplateOverride": { # Override for the card view.
+      "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
+        {
+          "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
+            "item": { # The item to be displayed in the row. This item will be automatically centered.
+              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                   },
-                },
-                "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-                  "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
+                ],
+              },
+            },
+          },
+          "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
+            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
+              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                   },
-                  "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                  "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
+                ],
+              },
+              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                   },
-                },
+                ],
               },
-              "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
-                "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-                  "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
+            },
+            "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
+              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                   },
-                  "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                  "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
+                ],
+              },
+              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+            },
+            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
+              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+            },
+          },
+          "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
+            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
+              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                   },
-                },
-                "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-                  "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
+                ],
+              },
+              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                   },
-                  "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                  "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
+                ],
+              },
+            },
+            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
+              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                   },
-                },
+                ],
+              },
+              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
               },
             },
-          ],
+          },
         },
-        "detailsTemplateOverride": { # Override for the details view (beneath the card view).
-          "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
-            {
-              "item": { # The item to be displayed in the details list.
-                "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                    { # Reference definition to use with field overrides.
-                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                    },
-                  ],
-                },
-                "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                    { # Reference definition to use with field overrides.
-                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                    },
-                  ],
+      ],
+    },
+    "detailsTemplateOverride": { # Override for the details view (beneath the card view).
+      "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
+        {
+          "item": { # The item to be displayed in the details list.
+            "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                { # Reference definition to use with field overrides.
+                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
                 },
-              },
+              ],
             },
-          ],
-        },
-        "listTemplateOverride": { # Override for the passes list view.
-          "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice.
-            "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row.
+            "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+            "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
               "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
                 { # Reference definition to use with field overrides.
                   "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
@@ -3597,29 +6074,192 @@ 

Method Details

}, ], }, - "transitOption": "A String", }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, + ], + }, + }, + }, + "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + ], + }, + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "finePrint": { # The fine print, terms, or conditions of the ticket. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + ], + }, + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -3634,22 +6274,186 @@

Method Details

}, ], }, - "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, ], }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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". @@ -3664,7 +6468,25 @@

Method Details

}, ], }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "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". @@ -3679,7 +6501,7 @@

Method Details

}, ], }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "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". @@ -3692,33 +6514,31 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + ], + }, + "messageType": "A String", # The message type. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -3733,7 +6553,7 @@

Method Details

}, ], }, - "finePrint": { # The fine print, terms, or conditions of the ticket. + "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". @@ -3748,180 +6568,100 @@

Method Details

}, ], }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + }, + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + ], + }, + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "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. - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + }, + "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. { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], - "showLastUpdateTime": True or False, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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. }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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". @@ -3936,14 +6676,24 @@

Method Details

}, ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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: + + { + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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"`. @@ -3980,22 +6730,13 @@

Method Details

"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. + "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". @@ -4010,44 +6751,61 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "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. + }, + ], + }, + }, + "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#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -4062,7 +6820,16 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4077,44 +6844,42 @@

Method Details

}, ], }, + "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. }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + }, + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, + ], }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. When provided, this will be used in place of the logo in the top left of the card view. + }, + "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"`. @@ -4151,26 +6916,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -4185,25 +6937,41 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - }, - ], -}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the event ticket class referenced by the given class ID. This method supports patch semantics.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
-
-{
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+      "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.
+          },
+        ],
+      },
+    },
+  },
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -4448,285 +7216,28 @@ 

Method Details

"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "finePrint": { # The fine print, terms, or conditions of the ticket. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], - "showLastUpdateTime": True or False, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "uris": [ # The list of URIs. + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4741,15 +7252,23 @@

Method Details

}, ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4764,162 +7283,46 @@

Method Details

}, ], }, - "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. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + }, + "finePrint": { # The fine print, terms, or conditions of the ticket. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, + ], }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. When provided, this will be used in place of the logo in the top left of the card view. + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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"`. @@ -4956,8 +7359,12 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -4965,312 +7372,129 @@

Method Details

}, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - { + ], + }, + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. }, - ], - }, - "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: - - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, - ], + }, }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, ], }, - }, - }, - "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, ], + "showLastUpdateTime": True or False, }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "uris": [ # The list of URIs. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, ], }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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". @@ -5285,23 +7509,15 @@

Method Details

}, ], }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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". @@ -5316,46 +7532,162 @@

Method Details

}, ], }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "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. + }, }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "finePrint": { # The fine print, terms, or conditions of the ticket. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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"`. @@ -5392,12 +7724,8 @@

Method Details

"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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -5412,13 +7740,230 @@

Method Details

}, ], }, - "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. + "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. + }, }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the event ticket class referenced by the given class ID.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
+
+{
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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.
+          },
+        ],
+      },
+    },
+    "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"`.
@@ -5455,79 +8000,313 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, + }, + }, + "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, ], - "showLastUpdateTime": True or False, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "uris": [ # The list of URIs. + "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5542,15 +8321,38 @@

Method Details

}, ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5565,162 +8367,46 @@

Method Details

}, ], }, - "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. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + }, + "finePrint": { # The fine print, terms, or conditions of the ticket. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, + ], }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. When provided, this will be used in place of the logo in the top left of the card view. + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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"`. @@ -5757,8 +8443,12 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -5773,262 +8463,122 @@

Method Details

}, ], }, - "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. - { + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. }, - ], - }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the event ticket class referenced by the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
-
-{
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
-  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
-    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
-    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
-  },
-  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
-    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
-      "firstBottomDetail": { # Optional information to display below the barcode.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-      "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-      "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+          "translatedValues": [ # Contains the translations for the string.
+            {
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+              "value": "A String", # The UTF-8 encoded translated string.
             },
           ],
         },
-      },
-    },
-    "cardTemplateOverride": { # Override for the card view.
-      "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
-        {
-          "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "item": { # The item to be displayed in the row. This item will be automatically centered.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-          "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-          "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
+        "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.
         },
-      ],
+      },
     },
-    "detailsTemplateOverride": { # Override for the details view (beneath the card view).
-      "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
-        {
-          "item": { # The item to be displayed in the details list.
-            "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+  ],
+  "infoModuleData": { # Deprecated. Use textModulesData instead.
+    "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column.
+      {
+        "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name.
+          { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items.
+            "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+            "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+              "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+              "translatedValues": [ # Contains the translations for the string.
+                {
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                  "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                  "value": "A String", # The UTF-8 encoded translated string.
                 },
               ],
             },
-            "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-            "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+              "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+              "translatedValues": [ # Contains the translations for the string.
+                {
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                  "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                  "value": "A String", # The UTF-8 encoded translated string.
                 },
               ],
             },
-          },
-        },
-      ],
-    },
-    "listTemplateOverride": { # Override for the passes list view.
-      "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice.
-        "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-        "transitOption": "A String",
-      },
-      "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice.
-        "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-          { # Reference definition to use with field overrides.
-            "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-            "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
           },
         ],
       },
-      "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees.
-        "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-          { # Reference definition to use with field overrides.
-            "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-            "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+    ],
+    "showLastUpdateTime": True or False,
+  },
+  "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.
+  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`.
+  "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed.
+    "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.
       },
-    },
+    ],
   },
-  "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used.
-  "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.
-  "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used.
+  "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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".
@@ -6043,68 +8593,151 @@ 

Method Details

}, ], }, - "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. + }, }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + ], }, - ], - }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -6119,46 +8752,26 @@

Method Details

}, ], }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "finePrint": { # The fine print, terms, or conditions of the ticket. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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"`. @@ -6195,12 +8808,8 @@

Method Details

"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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -6215,13 +8824,42 @@

Method Details

}, ], }, - "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. + "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. + }, }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + { - "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. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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"`. @@ -6258,120 +8896,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. - "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. + ], + }, + "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. }, - ], - }, - "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. + }, + "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". @@ -6386,25 +8935,7 @@

Method Details

}, ], }, - "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. + "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". @@ -6419,44 +8950,70 @@

Method Details

}, ], }, - "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. - { + }, + "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. + }, }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -6471,7 +9028,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -6487,62 +9044,69 @@

Method Details

], }, }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. }, - ], - }, - }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -6557,29 +9121,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -6594,21 +9136,8 @@

Method Details

}, ], }, - "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: - - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.eventticketobject.html b/docs/dyn/walletobjects_v1.eventticketobject.html index 26bbf1980d..b202d38d40 100644 --- a/docs/dyn/walletobjects_v1.eventticketobject.html +++ b/docs/dyn/walletobjects_v1.eventticketobject.html @@ -167,9 +167,9 @@

Method Details

{ "resource": { # The updated EventTicketObject resource. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -206,7 +206,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -230,7 +230,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -245,7 +245,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -262,7 +262,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -299,7 +299,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -323,7 +323,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -338,7 +338,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -354,8 +354,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -392,7 +392,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -416,7 +416,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -431,7 +431,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -473,6 +473,287 @@

Method Details

"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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -1616,77 +1897,170 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + ], + "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". + "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). + "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, +}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the event ticket 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 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)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
           },
-          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-          "translatedValues": [ # Contains the translations for the string.
-            {
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-              "value": "A String", # The UTF-8 encoded translated string.
-            },
-          ],
-        },
-      },
-    ],
-    "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe".
-    "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.).
-    "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard".
-      "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
-        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-        "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-        "value": "A String", # The UTF-8 encoded translated string.
+        ],
       },
-      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-      "translatedValues": [ # Contains the translations for the 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.
         },
-      ],
-    },
-    "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
-      "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.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+            "value": "A String", # The UTF-8 encoded translated string.
+          },
+        ],
       },
     },
-    "version": "A String", # Deprecated
-  },
-}
-
- -
- close() -
Close httplib2 connections.
-
- -
- get(resourceId, x__xgafv=None) -
Returns the event ticket 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 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)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -1723,7 +2097,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1747,7 +2121,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1762,7 +2136,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1778,8 +2152,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1816,7 +2190,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1840,7 +2214,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1855,7 +2229,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1871,9 +2245,204 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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". @@ -1888,10 +2457,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -1906,90 +2475,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -3133,7 +3695,141 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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. + }, + ], + }, + }, + ], + "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". + "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). + "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ insert(body=None, x__xgafv=None) +
Inserts an event ticket object with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "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".
@@ -3149,49 +3845,8 @@ 

Method Details

], }, }, - ], - "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". - "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). - "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an event ticket object with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -3228,7 +3883,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3252,7 +3907,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3267,7 +3922,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3283,8 +3938,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3321,7 +3976,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3345,7 +4000,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3360,7 +4015,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3376,9 +4031,96 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -3393,10 +4135,25 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -3411,16 +4168,85 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, + ], }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "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". @@ -3433,68 +4259,85 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4583,47 +5426,273 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". + "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). + "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + ], + }, }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -4638,7 +5707,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4654,48 +5723,8 @@

Method Details

], }, }, - ], - "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". - "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). - "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4732,7 +5761,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4756,7 +5785,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4771,7 +5800,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4787,9 +5816,96 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -4804,10 +5920,25 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -4822,67 +5953,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -4897,10 +6028,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -4915,90 +6046,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -6213,9 +7337,102 @@

Method Details

}, "resources": [ # Resources corresponding to the list request. { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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. + }, + ], + }, + }, + "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"`. @@ -6252,7 +7469,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6276,7 +7493,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -6291,7 +7508,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -6307,8 +7524,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -6345,7 +7562,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6369,7 +7586,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -6384,7 +7601,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -6400,9 +7617,96 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -6417,10 +7721,25 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -6435,16 +7754,85 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, + ], }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "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". @@ -6459,66 +7847,83 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -7591,40 +8996,252 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventSeat"`. + "row": { # The row of the seat, such as "1", E", "BB", or "A5". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". + "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). + "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], +}
+
+ +
+ modifylinkedofferobjects(resourceId, body=None, x__xgafv=None) +
Modifies linked offer objects for the event ticket object with the given ID.
+
+Args:
+  resourceId: string, The unique identifier for an object. This ID must be unique across all objects 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:
+
+{
+  "linkedOfferObjectIds": { # The linked offer object ids to add or remove from the object.
+    "addLinkedOfferObjectIds": [ # The linked offer object ids to add to the object.
+      "A String",
+    ],
+    "removeLinkedOfferObjectIds": [ # The linked offer object ids to remove from the object.
+      "A String",
+    ],
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
         },
-        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventSeat"`.
-        "row": { # The row of the seat, such as "1", E", "BB", or "A5". This field is localizable so you may translate words or use different alphabets for the characters in an identifier.
-          "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+      },
+      "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.
           },
-          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-          "translatedValues": [ # Contains the translations for the string.
-            {
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the 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.
         },
-        "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier.
-          "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
             "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
             "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
             "value": "A String", # The UTF-8 encoded translated string.
           },
-          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-          "translatedValues": [ # Contains the translations for the string.
-            {
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-              "value": "A String", # The UTF-8 encoded translated string.
-            },
-          ],
-        },
-        "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier.
+        ],
+      },
+    },
+    "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".
@@ -7639,15 +9256,10 @@ 

Method Details

}, ], }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -7662,7 +9274,16 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -7677,11 +9298,10 @@

Method Details

}, ], }, + "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. }, - ], - "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". - "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). - "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + }, + "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". @@ -7696,53 +9316,24 @@

Method Details

}, ], }, - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + "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. + }, + ], }, - "version": "A String", # Deprecated }, - ], -}
-
- -
- modifylinkedofferobjects(resourceId, body=None, x__xgafv=None) -
Modifies linked offer objects for the event ticket object with the given ID.
-
-Args:
-  resourceId: string, The unique identifier for an object. This ID must be unique across all objects 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:
-
-{
-  "linkedOfferObjectIds": { # The linked offer object ids to add or remove from the object.
-    "addLinkedOfferObjectIds": [ # The linked offer object ids to add to the object.
-      "A String",
-    ],
-    "removeLinkedOfferObjectIds": [ # The linked offer object ids to remove from the object.
-      "A String",
-    ],
-  },
-}
-
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -7779,7 +9370,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -7800,43 +9391,145 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -7851,10 +9544,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -7869,67 +9562,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -7944,10 +9637,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -7962,90 +9655,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -9246,9 +10932,9 @@

Method Details

The object takes the form of: { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9285,7 +10971,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9309,7 +10995,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9324,7 +11010,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9341,7 +11027,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9378,7 +11064,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9402,7 +11088,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9417,7 +11103,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9433,8 +11119,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9471,7 +11157,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9492,66 +11178,347 @@

Method Details

}, ], }, - "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. + "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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, }, - }, - "description": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -10655,32 +12622,165 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". + "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). + "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -10695,7 +12795,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -10711,48 +12811,8 @@

Method Details

], }, }, - ], - "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". - "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). - "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -10789,7 +12849,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10813,7 +12873,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10828,7 +12888,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -10844,8 +12904,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -10882,7 +12942,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10906,7 +12966,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10919,27 +12994,207 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -10954,10 +13209,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -10972,90 +13227,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -12231,34 +14479,127 @@

Method Details

"language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + ], + }, + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the event ticket 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 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:
+
+{
+  "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.
+          },
+        ],
+      },
     },
-  },
-  "version": "A String", # Deprecated
-}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the event ticket 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 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:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -12295,7 +14636,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12319,7 +14660,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12334,7 +14675,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12350,8 +14691,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12388,7 +14729,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12412,7 +14753,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12427,7 +14768,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12443,9 +14784,96 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -12460,10 +14888,25 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -12478,16 +14921,85 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, + ], }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "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". @@ -12500,68 +15012,85 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -13634,63 +16163,289 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventSeat"`. - "row": { # The row of the seat, such as "1", E", "BB", or "A5". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventSeat"`. + "row": { # The row of the seat, such as "1", E", "BB", or "A5". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". + "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). + "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + ], + }, }, - "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -13705,7 +16460,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -13721,48 +16476,8 @@

Method Details

], }, }, - ], - "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". - "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). - "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -13799,7 +16514,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -13823,7 +16538,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -13836,27 +16566,114 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -13871,10 +16688,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -13889,67 +16706,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -13964,10 +16781,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -13982,90 +16799,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.flightclass.html b/docs/dyn/walletobjects_v1.flightclass.html index e286ec15af..3f0af5497f 100644 --- a/docs/dyn/walletobjects_v1.flightclass.html +++ b/docs/dyn/walletobjects_v1.flightclass.html @@ -165,255 +165,9 @@

Method Details

{ "resource": { # The updated FlightClass resource. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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 object that will be used instead. + "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"`. @@ -450,26 +204,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -484,10 +225,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -502,52 +243,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -584,26 +297,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -618,10 +318,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -636,10 +336,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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"`. @@ -676,30 +390,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -714,127 +429,273 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. }, - ], - }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -849,54 +710,65 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "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. + }, }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -911,7 +783,126 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -926,13 +917,52 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -947,10 +977,261 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], @@ -1062,255 +1343,9 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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 object that will be used instead. + "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"`. @@ -1347,26 +1382,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -1381,10 +1403,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -1399,52 +1421,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -1481,26 +1475,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -1515,10 +1496,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -1533,10 +1514,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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"`. @@ -1573,30 +1568,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -1611,127 +1607,273 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. }, - ], - }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -1746,54 +1888,65 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "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. + }, }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1808,7 +1961,126 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1823,13 +2095,52 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -1844,11 +2155,262 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. @@ -1947,255 +2509,9 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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 object that will be used instead. + "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"`. @@ -2232,26 +2548,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -2266,10 +2569,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -2284,52 +2587,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -2366,26 +2641,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -2400,10 +2662,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -2418,10 +2680,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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"`. @@ -2458,30 +2734,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -2496,127 +2773,273 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. }, - ], - }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -2631,54 +3054,65 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "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. + }, }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2693,7 +3127,126 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2708,13 +3261,52 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -2729,10 +3321,261 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], @@ -2831,255 +3674,9 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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 object that will be used instead. + "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"`. @@ -3116,26 +3713,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -3150,10 +3734,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -3168,52 +3752,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -3250,26 +3806,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -3284,10 +3827,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -3302,10 +3845,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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"`. @@ -3342,30 +3899,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -3380,127 +3938,273 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. }, - ], - }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -3515,54 +4219,65 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "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. + }, }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -3577,7 +4292,126 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -3592,13 +4426,52 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -3613,11 +4486,262 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. @@ -3731,6 +4855,287 @@

Method Details

"resources": [ # Resources corresponding to the list request. { "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. @@ -4619,255 +6024,9 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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 object that will be used instead. + "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"`. @@ -4904,27 +6063,14 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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. @@ -4938,10 +6084,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -4956,52 +6102,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -5038,26 +6156,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -5072,10 +6177,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -5090,10 +6195,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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"`. @@ -5130,30 +6249,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -5168,127 +6288,273 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. }, - ], - }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -5303,54 +6569,65 @@

Method Details

}, ], }, - "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. + "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. + }, }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5365,7 +6642,126 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5380,13 +6776,52 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -5401,26 +6836,207 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "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. + }, }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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". @@ -5435,7 +7051,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -5450,12 +7066,13 @@

Method Details

}, ], }, + "messageType": "A String", # The message type. }, ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5470,10 +7087,26 @@

Method Details

}, ], }, - "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. + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5488,21 +7121,355 @@

Method Details

}, ], }, - "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: - - { + "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. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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: + + { "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. @@ -5523,213 +7490,544 @@

Method Details

}, ], }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. }, }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. }, ], }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - }, + ], }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + "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. }, - ], + }, }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. }, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "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. }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -5744,14 +8042,13 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + "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. }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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"`. @@ -5787,45 +8084,209 @@

Method Details

}, "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. - "contentDescription": { # Description of the image used for accessibility. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -5840,52 +8301,64 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + }, +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the flight class referenced by the given class ID.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
+
+{
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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"`.
@@ -5922,26 +8395,13 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -5956,10 +8416,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -5974,70 +8434,7 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. - }, - }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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". @@ -6052,36 +8449,9 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -6118,123 +8488,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "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. }, }, - "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. + "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". @@ -6249,7 +8527,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -6264,62 +8542,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -6334,30 +8620,7 @@

Method Details

}, ], }, - }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -6372,23 +8635,8 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, }, -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the flight class referenced by the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
-
-{
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users.
     "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`.
     "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`.
@@ -7071,56 +9319,272 @@ 

Method Details

"language": "A String", # Represents the 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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + ], + }, + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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: + + { + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, }, - "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. + "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". @@ -7135,7 +9599,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -7150,47 +9614,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -7205,7 +9692,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -7221,29 +9708,84 @@

Method Details

], }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -7258,21 +9800,8 @@

Method Details

}, ], }, - "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: - - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. diff --git a/docs/dyn/walletobjects_v1.flightobject.html b/docs/dyn/walletobjects_v1.flightobject.html index 65d2a2c718..fc2b83aad5 100644 --- a/docs/dyn/walletobjects_v1.flightobject.html +++ b/docs/dyn/walletobjects_v1.flightobject.html @@ -164,9 +164,9 @@

Method Details

{ "resource": { # The updated FlightObject resource. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -203,7 +203,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -227,7 +227,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -242,7 +242,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -259,7 +259,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -296,7 +296,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -320,7 +320,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -335,7 +335,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -351,8 +351,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -389,7 +389,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -413,7 +413,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -428,7 +428,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -531,255 +531,9 @@

Method Details

"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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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 object that will be used instead. + "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"`. @@ -816,26 +570,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -850,10 +591,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -868,52 +609,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -950,26 +663,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -984,10 +684,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -1002,10 +702,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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"`. @@ -1042,30 +756,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -1080,127 +795,273 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. }, - ], - }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -1215,54 +1076,65 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "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. + }, }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1277,77 +1149,126 @@

Method Details

}, ], }, - "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. - { + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + ], }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1362,11 +1283,51 @@

Method Details

}, ], }, - }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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"`. @@ -1403,34 +1364,12 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -1445,34 +1384,14 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, - }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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". @@ -1487,18 +1406,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -1513,92 +1424,162 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - { + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. }, - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + ], }, - ], - "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. + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "localizedHeader": { # Translated strings for the message header. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1613,22 +1594,61 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - ], - "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. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], - "screenshotEligibility": "A String", # The screenshot eligibility for the pass. - }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -1643,49 +1663,36 @@

Method Details

}, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "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. + }, + ], }, - ], - "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, }, - "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. }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. "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"`. @@ -1722,83 +1729,142 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + }, + }, }, ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, }, - "version": "A String", # Deprecated - }, -}
-
- -
- close() -
Close httplib2 connections.
-
- -
- get(resourceId, x__xgafv=None) -
Returns the flight 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 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)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
-        "contentDescription": { # Description of the image used for accessibility.
+    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`.
+    "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed.
+      "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.
+        },
+      ],
+    },
+    "locations": [ # Note: This field is currently not supported to trigger geo notifications.
+      {
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`.
+        "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected.
+        "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected.
+      },
+    ],
+    "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".
@@ -1813,52 +1879,66 @@ 

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, + "messageType": "A String", # The message type. }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + ], + "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. + }, + "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + "reservationInfo": { # Required. Information about flight reservation. + "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. + "eticketNumber": "A String", # E-ticket number. + "frequentFlyerInfo": { # Frequent flyer membership information. + "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. + "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. + }, + "rotatingBarcode": { # The rotating barcode type and value. + "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", + ], }, - "description": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1873,7 +1953,21 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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. + }, + "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "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". @@ -1888,10 +1982,10 @@

Method Details

}, ], }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -1906,14 +2000,201 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, +}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the flight 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 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)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
+          },
+        ],
+      },
+    },
+    "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.
@@ -1927,7 +2208,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1951,7 +2232,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1966,7 +2247,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1982,8 +2263,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2020,7 +2301,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2044,7 +2325,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2059,7 +2340,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2162,255 +2443,102 @@

Method Details

"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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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 object that will be used instead. + "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. }, ], }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], }, + "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. }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, ], }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + ], + }, }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -2447,27 +2575,14 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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. @@ -2481,10 +2596,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -2499,52 +2614,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -2581,26 +2668,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -2615,10 +2689,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -2633,70 +2707,7 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. - }, - }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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". @@ -2711,127 +2722,258 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -2846,54 +2988,65 @@

Method Details

}, ], }, - "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. + "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. + }, }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2908,7 +3061,126 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2923,82 +3195,52 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -3034,34 +3276,12 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -3076,34 +3296,14 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, - }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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". @@ -3118,18 +3318,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -3144,92 +3336,162 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - { + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. }, - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + ], }, - ], - "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. - }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. }, - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "localizedHeader": { # Translated strings for the message header. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -3244,22 +3506,61 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - ], - "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. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], - "screenshotEligibility": "A String", # The screenshot eligibility for the pass. - }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -3274,49 +3575,36 @@

Method Details

}, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "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. + }, + ], }, - ], - "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, }, - "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. }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. "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"`. @@ -3353,84 +3641,26 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. }, - ], - }, - "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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an flight object with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed 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#localizedString"`.
+          "translatedValues": [ # Contains the translations for the string.
+            {
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+              "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.
@@ -3453,64 +3683,59 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the 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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, ], }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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". @@ -3525,52 +3750,33 @@

Method Details

}, ], }, - "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. - }, + "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. }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, }, - "description": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3585,7 +3791,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3600,70 +3806,98 @@

Method Details

}, ], }, + "messageType": "A String", # The message type. }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed 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. + ], + "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. + }, + "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + "reservationInfo": { # Required. Information about flight reservation. + "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. + "eticketNumber": "A String", # E-ticket number. + "frequentFlyerInfo": { # Frequent flyer membership information. + "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. + "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. + }, + "rotatingBarcode": { # The rotating barcode type and value. + "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. + }, + "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "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. }, - "description": { # String to be displayed in the description of the App Link Module Required + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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". @@ -3678,7 +3912,17 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -3693,36 +3937,7 @@

Method Details

}, ], }, - }, - }, - "barcode": { # The barcode type and value. - "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. - }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -3737,10 +3952,34 @@

Method Details

}, ], }, - "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. + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ insert(body=None, x__xgafv=None) +
Inserts an flight object with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "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".
@@ -3755,259 +3994,67 @@ 

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + "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. }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + "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. { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "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". @@ -4022,15 +4069,28 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -4045,29 +4105,16 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. - "contentDescription": { # Description of the image used for accessibility. + }, + "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". @@ -4082,28 +4129,43 @@

Method Details

}, ], }, - "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. + "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. }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -4118,11 +4180,10 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -4137,33 +4198,154 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, + "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. }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + "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. + }, + "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. + "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. + "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. + "boardingPosition": "A String", # The value of boarding position. eg: "76" + "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + "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. + }, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. + "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" + "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" + "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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"`. @@ -4200,26 +4382,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -4234,10 +4403,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -4252,10 +4421,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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. + }, + ], + }, + }, + "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"`. @@ -4292,30 +4475,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -4330,36 +4514,24 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. + }, + ], + }, }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -4396,123 +4568,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "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. }, }, - "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. + "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". @@ -4527,7 +4607,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -4542,82 +4622,235 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4632,79 +4865,88 @@

Method Details

}, ], }, - "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. - { + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. }, - ], - }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + }, + ], + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + ], }, - ], - }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4719,10 +4961,11 @@

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -4737,18 +4980,52 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -4763,7 +5040,29 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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". @@ -4778,21 +5077,10 @@

Method Details

}, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4807,33 +5095,52 @@

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" }, - ], - "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. + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -4848,37 +5155,33 @@

Method Details

}, ], }, - "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#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. }, - "messageType": "A String", # The message type. }, - ], - "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. - }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -4893,50 +5196,129 @@

Method Details

}, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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", - ], + "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. }, - "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. + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], }, ], + "showLastUpdateTime": True or False, }, - "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. + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. }, ], - "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. - }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. - "contentDescription": { # Description of the image used for accessibility. + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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". @@ -4951,50 +5333,65 @@

Method Details

}, ], }, - "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. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5009,33 +5406,26 @@

Method Details

}, ], }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", }, - "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. + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5050,67 +5440,27 @@

Method Details

}, ], }, - "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. - }, - ], + "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. }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -5125,10 +5475,10 @@

Method Details

}, ], }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -5143,67 +5493,37 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. - }, + }, + }, + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + "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. }, - "description": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required + ], + }, + "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". @@ -5218,9 +5538,15 @@

Method Details

}, ], }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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"`. @@ -5257,31 +5583,115 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "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. + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], }, - "description": { # String to be displayed in the description of the App Link Module Required + "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". @@ -5296,7 +5706,22 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "messageType": "A String", # The message type. + }, + ], + "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. + }, + "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + "reservationInfo": { # Required. Information about flight reservation. + "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. + "eticketNumber": "A String", # E-ticket number. + "frequentFlyerInfo": { # Frequent flyer membership information. + "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. + "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5311,11 +5736,19 @@

Method Details

}, ], }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. }, - "barcode": { # The barcode type and value. + "rotatingBarcode": { # The rotating barcode type and value. "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"`. + "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. @@ -5332,15 +5765,39 @@

Method Details

}, ], }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. + "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. }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. - "contentDescription": { # Description of the image used for accessibility. + "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "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". @@ -5355,10 +5812,73 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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". @@ -5373,259 +5893,297 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + ], + }, }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "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. + }, + ], }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + "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. }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + "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. { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + "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. }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, + ], }, - ], + "uri": "A String", # The location of the image. URIs must have a scheme. + }, }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "transitOption": "A 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. }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + }, + "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. }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + ], }, }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + }, + "barcode": { # The barcode type and value. + "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. + }, + "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. + "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. + "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. + "boardingPosition": "A String", # The value of boarding position. eg: "76" + "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + "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". @@ -5640,14 +6198,53 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + "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. + }, }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. + "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" + "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" + "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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"`. @@ -5684,26 +6281,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -5718,10 +6302,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -5736,52 +6320,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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"`. @@ -5818,26 +6374,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "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". @@ -5852,10 +6395,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "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". @@ -5870,10 +6413,24 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. + "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"`. @@ -5910,30 +6467,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. }, - ], - }, - "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. + }, + "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". @@ -5948,127 +6506,273 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. }, - ], - }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - ], - "showLastUpdateTime": True or False, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -6083,54 +6787,65 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "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. + }, }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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#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. + "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. }, }, - "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. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -6145,62 +6860,126 @@

Method Details

}, ], }, - "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. - { + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + ], }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -6215,26 +6994,51 @@

Method Details

}, ], }, - "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. - { + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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"`. @@ -6271,34 +7075,12 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -6313,34 +7095,14 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, - }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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". @@ -6355,18 +7117,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -6381,92 +7135,162 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - { + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. }, - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + ], }, - ], - "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. + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "localizedHeader": { # Translated strings for the message header. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -6481,22 +7305,61 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - ], - "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. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], - "screenshotEligibility": "A String", # The screenshot eligibility for the pass. - }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -6511,49 +7374,36 @@

Method Details

}, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "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. + }, + ], }, - ], - "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, }, - "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. }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. "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"`. @@ -6590,161 +7440,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- list(classId=None, maxResults=None, token=None, x__xgafv=None) -
Returns a list of all flight 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:
-
-    {
-  "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.
-    {
-      "appLinkData": { # Optional information about the partner app link.
-        "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-          "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed 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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app.
-            "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": { # String to be displayed in the description of the App Link Module Required
-            "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-              "value": "A String", # The UTF-8 encoded translated string.
-            },
-            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-            "translatedValues": [ # Contains the translations for the string.
-              {
-                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-                "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required
+        "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".
@@ -6759,10 +7479,18 @@ 

Method Details

}, ], }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -6777,85 +7505,7 @@

Method Details

}, ], }, - "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -6870,88 +7520,21 @@

Method Details

}, ], }, - "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. - }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "description": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. - "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. + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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". @@ -6966,300 +7549,2094 @@

Method Details

}, ], }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. + "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. }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. - "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. - }, - ], + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "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. + ], + }, + "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. + }, + ], + "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. + }, + "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + "reservationInfo": { # Required. Information about flight reservation. + "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. + "eticketNumber": "A String", # E-ticket number. + "frequentFlyerInfo": { # Frequent flyer membership information. + "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. + "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. + }, + "rotatingBarcode": { # The rotating barcode type and value. + "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. }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" + ], + }, + "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. + }, + "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "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. }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + ], + }, + "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. }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ list(classId=None, maxResults=None, token=None, x__xgafv=None) +
Returns a list of all flight 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:
+
+    {
+  "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.
+    {
+      "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.
+                },
+              ],
             },
-            "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
-              "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+            "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.
             },
-            "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
-              "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+          },
+          "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.
             },
           },
-          "cardTemplateOverride": { # Override for the card view.
-            "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
+          "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.
               {
-                "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
-                  "item": { # The item to be displayed in the row. This item will be automatically centered.
-                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
-                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
-                  },
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the 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.
+              },
+            ],
+          },
+        },
+        "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.
                 },
-                "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
-                  "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
-                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
+              ],
+            },
+            "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.
                   },
-                  "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
-                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
-                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
+                ],
+              },
+              "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.
                   },
-                  "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
-                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
+                ],
+              },
+              "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.
+        "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.
+      },
+      "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating.
+        "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set.
+        "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object.
+        "boardingPosition": "A String", # The value of boarding position. eg: "76"
+        "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program.
+          "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.
                 },
-                "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
-                  "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
-                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
+              ],
+            },
+            "uri": "A String", # The location of the image. URIs must have a scheme.
+          },
+        },
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`.
+        "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate"
+          "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+            "value": "A String", # The UTF-8 encoded translated string.
+          },
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+          "translatedValues": [ # Contains the translations for the string.
+            {
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+              "value": "A String", # The UTF-8 encoded translated string.
+            },
+          ],
+        },
+        "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus"
+        "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A"
+        "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49"
+      },
+      "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you.
+      "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET.
+        "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+        "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 object that will be used instead.
+          "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.
+                },
+              ],
+            },
+          },
+          "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.
+                },
+              ],
+            },
+          },
+        },
+        "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users.
+          "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`.
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`.
+          "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`.
+        },
+        "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
+          "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
+          "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
+        },
+        "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
+          "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
+            "firstBottomDetail": { # Optional information to display below the barcode.
+              "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+            },
+            "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
+              "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+            },
+            "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
+              "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+            },
+          },
+          "cardTemplateOverride": { # Override for the card view.
+            "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
+              {
+                "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
+                  "item": { # The item to be displayed in the row. This item will be automatically centered.
+                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                  },
+                },
+                "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
+                  "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
+                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                  },
+                  "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
+                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                  },
+                  "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
+                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                  },
+                },
+                "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
+                  "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
+                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                  },
+                  "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
+                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                        { # Reference definition to use with field overrides.
+                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                        },
+                      ],
+                    },
+                  },
+                },
+              },
+            ],
+          },
+          "detailsTemplateOverride": { # Override for the details view (beneath the card view).
+            "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
+              {
+                "item": { # The item to be displayed in the details list.
+                  "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                      { # Reference definition to use with field overrides.
+                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                      },
+                    ],
+                  },
+                  "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                  "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                      { # Reference definition to use with field overrides.
+                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                      },
+                    ],
+                  },
+                },
+              },
+            ],
+          },
+          "listTemplateOverride": { # Override for the passes list view.
+            "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice.
+              "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row.
+                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                  { # Reference definition to use with field overrides.
+                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                  },
+                ],
+              },
+              "transitOption": "A String",
+            },
+            "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice.
+              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                { # Reference definition to use with field overrides.
+                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                },
+              ],
+            },
+            "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees.
+              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                { # Reference definition to use with field overrides.
+                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                },
+              ],
+            },
+          },
+        },
+        "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.
+        "destination": { # Required. Destination airport.
+          "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO"
+          "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it.
+            "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+              "value": "A String", # The UTF-8 encoded translated string.
+            },
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+            "translatedValues": [ # Contains the translations for the string.
+              {
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+            ],
+          },
+          "gate": "A String", # A name of the gate. Eg: "B59" or "59"
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`.
+          "terminal": "A String", # Terminal name. Eg: "INTL" or "I"
+        },
+        "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.
+        "flightHeader": { # Required. Information about the flight carrier and number.
+          "carrier": { # Information about airline carrier. This is a required property of `flightHeader`.
+            "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board.
+              "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.
+              },
+            },
+            "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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.
+              },
+            },
+            "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX"
+              "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+              "translatedValues": [ # Contains the translations for the string.
+                {
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                  "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                  "value": "A String", # The UTF-8 encoded translated string.
+                },
+              ],
+            },
+            "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air
+            "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`.
+            "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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.
+              },
+            },
+          },
+          "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123"
+          "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576"
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`.
+          "operatingCarrier": { # Information about operating airline carrier.
+            "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board.
+              "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.
+              },
+            },
+            "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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.
+              },
+            },
+            "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX"
+              "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+              "translatedValues": [ # Contains the translations for the string.
+                {
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                  "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                  "value": "A String", # The UTF-8 encoded translated string.
+                },
+              ],
+            },
+            "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air
+            "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`.
+            "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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.
+              },
+            },
+          },
+          "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234"
+        },
+        "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses.
+        "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.
+        "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object).
+          "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.
+        },
+        "id": "A String", # Required. The unique identifier for a class. 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 '-'.
+        "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.
+          {
+            "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.
+              },
+            },
+          },
+        ],
+        "infoModuleData": { # Deprecated. Use textModulesData instead.
+          "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column.
+            {
+              "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name.
+                { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items.
+                  "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+                  "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+                    "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                      "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                      "value": "A String", # The UTF-8 encoded translated string.
+                    },
+                    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+                    "translatedValues": [ # Contains the translations for the string.
+                      {
+                        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                        "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                        "value": "A String", # The UTF-8 encoded translated string.
+                      },
+                    ],
+                  },
+                  "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+                    "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                      "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                      "value": "A String", # The UTF-8 encoded translated string.
+                    },
+                    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+                    "translatedValues": [ # Contains the translations for the string.
+                      {
+                        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                        "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                        "value": "A String", # The UTF-8 encoded translated string.
+                      },
+                    ],
+                  },
+                  "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+                },
+              ],
+            },
+          ],
+          "showLastUpdateTime": True or False,
+        },
+        "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`.
+        "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+        "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed.
+          "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.
+            },
+          ],
+        },
+        "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources.
+        "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources.
+        "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources.
+        "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.
+        "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources.
+        "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.
+        "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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.
+            },
+          ],
+        },
+        "locations": [ # Note: This field is currently not supported to trigger geo notifications.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`.
+            "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected.
+            "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected.
+          },
+        ],
+        "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.
+          },
+        ],
+        "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class.
+        "origin": { # Required. Origin airport.
+          "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO"
+          "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it.
+            "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+              "value": "A String", # The UTF-8 encoded translated string.
+            },
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+            "translatedValues": [ # Contains the translations for the string.
+              {
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+            ],
+          },
+          "gate": "A String", # A name of the gate. Eg: "B59" or "59"
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`.
+          "terminal": "A String", # Terminal name. Eg: "INTL" or "I"
+        },
+        "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.
+          "A String",
+        ],
+        "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`.
+          "comments": "A String",
+        },
+        "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`.
+        "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details.
+          "animationType": "A String", # Type of animation.
+        },
+        "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
+          { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined.
+            "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
+            "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens.
+            "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules.
+            "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
+              "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+              "translatedValues": [ # Contains the translations for the string.
+                {
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                  "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                  "value": "A String", # The UTF-8 encoded translated string.
+                },
+              ],
+            },
+            "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens.
+              "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+              "translatedValues": [ # Contains the translations for the string.
+                {
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                  "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                  "value": "A String", # The UTF-8 encoded translated string.
+                },
+              ],
+            },
+          },
+        ],
+        "version": "A String", # Deprecated
+        "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass.
+        "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated.
+          "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.
+          },
+        },
+      },
+      "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights.
+      "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.
+      },
+      "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information.
+      "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform.
+      "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed.
+        "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.
+      "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.
+      "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.
+        {
+          "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.
+            },
+          },
+        },
+      ],
+      "infoModuleData": { # Deprecated. Use textModulesData instead.
+        "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column.
+          {
+            "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name.
+              { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items.
+                "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+                "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+                  "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                    "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                    "value": "A String", # The UTF-8 encoded translated string.
+                  },
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+                  "translatedValues": [ # Contains the translations for the string.
+                    {
+                      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                      "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                      "value": "A String", # The UTF-8 encoded translated string.
                     },
+                  ],
+                },
+                "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
+                  "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+                    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                    "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                    "value": "A String", # The UTF-8 encoded translated string.
                   },
-                  "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-                    "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
-                    },
-                    "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                    "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                      "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                        { # Reference definition to use with field overrides.
-                          "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                          "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                        },
-                      ],
+                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+                  "translatedValues": [ # Contains the translations for the string.
+                    {
+                      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                      "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                      "value": "A String", # The UTF-8 encoded translated string.
                     },
-                  },
+                  ],
                 },
+                "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
               },
             ],
           },
-          "detailsTemplateOverride": { # Override for the details view (beneath the card view).
-            "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
-              {
-                "item": { # The item to be displayed in the details list.
-                  "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
-                  },
-                  "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-                  "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                    "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                      { # Reference definition to use with field overrides.
-                        "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                        "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                      },
-                    ],
-                  },
+        ],
+        "showLastUpdateTime": True or False,
+      },
+      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`.
+      "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed.
+        "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.
+          },
+        ],
+      },
+      "locations": [ # Note: This field is currently not supported to trigger geo notifications.
+        {
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`.
+          "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected.
+          "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected.
+        },
+      ],
+      "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.
               },
             ],
           },
-          "listTemplateOverride": { # Override for the passes list view.
-            "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice.
-              "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+          "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.
               },
-              "transitOption": "A String",
+            ],
+          },
+          "messageType": "A String", # The message type.
+        },
+      ],
+      "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.
+      },
+      "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM"
+      "reservationInfo": { # Required. Information about flight reservation.
+        "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass.
+        "eticketNumber": "A String", # E-ticket number.
+        "frequentFlyerInfo": { # Frequent flyer membership information.
+          "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`.
+          "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More"
+            "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+              "value": "A String", # The UTF-8 encoded translated string.
             },
-            "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice.
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                },
-              ],
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+            "translatedValues": [ # Contains the translations for the string.
+              {
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
+              },
+            ],
+          },
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`.
+        },
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`.
+      },
+      "rotatingBarcode": { # The rotating barcode type and value.
+        "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.
             },
-            "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees.
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                },
-              ],
+          ],
+        },
+        "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.
+      },
+      "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger.
+        "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.
         },
-        "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.
-        "destination": { # Required. Destination airport.
-          "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO"
-          "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it.
+      },
+      "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", # Required. 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.
+      "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
+        { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined.
+          "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
+          "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens.
+          "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules.
+          "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
             "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
               "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
               "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
@@ -7274,282 +9651,163 @@ 

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "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. - }, - }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. - }, + "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. }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. - }, - }, + ], }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "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. - }, - }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. - }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], +}
+
+ +
+ patch(resourceId, body=None, x__xgafv=None) +
Updates the flight 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 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:
+
+{
+  "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.
             },
-            "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX"
-              "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+          ],
+        },
+        "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.
               },
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-              "translatedValues": [ # Contains the translations for the string.
-                {
-                  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-                  "language": "A String", # Represents the 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.
             },
-            "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air
-            "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet
-            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`.
-            "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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.
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+            "translatedValues": [ # Contains the translations for the string.
+              {
+                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+                "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+                "value": "A String", # The UTF-8 encoded translated string.
               },
-            },
+            ],
           },
-          "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234"
+          "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.
         },
-        "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses.
-        "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width.
-          "contentDescription": { # Description of the image used for accessibility.
+      },
+      "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.
+          },
+        ],
+      },
+    },
+    "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".
@@ -7564,29 +9822,105 @@ 

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "uri": "A String", # The location of the image. URIs must have a scheme. + ], + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + }, + "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"`. @@ -7607,127 +9941,85 @@

Method Details

}, "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. }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + }, + "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. { - "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. - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, + }, + "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. }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + "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. }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + ], + }, + "type": "A String", # The type of barcode. + "value": "A String", # The value encoded in the barcode. + }, + "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. + "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. + "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. + "boardingPosition": "A String", # The value of boarding position. eg: "76" + "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + "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". @@ -7742,29 +10034,54 @@

Method Details

}, ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. + "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" + "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" + "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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". @@ -7779,7 +10096,16 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -7794,13 +10120,43 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "uri": "A String", # The location of a web page, image, or other resource. URIs in the `LinksModuleData` module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + }, + "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. + }, + ], + }, + }, + "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". @@ -7815,26 +10171,10 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -7849,7 +10189,16 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -7864,11 +10213,42 @@

Method Details

}, ], }, + "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. }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + }, + "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"`. @@ -7905,16 +10285,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -7929,284 +10324,273 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "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. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "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. }, ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "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. + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], + }, }, - "messageType": "A String", # The message type. - }, - ], - "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. }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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", - ], + "transitOption": "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. + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], - "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. }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. - "contentDescription": { # Description of the image used for accessibility. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -8221,17 +10605,29 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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". @@ -8246,52 +10642,28 @@

Method Details

}, ], }, - "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#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. }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated - }, - ], -}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the flight 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 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:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
-        "contentDescription": { # Description of the image used for accessibility.
+        "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX"
           "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
             "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
             "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
@@ -8306,10 +10678,11 @@ 

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -8324,85 +10697,34 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - ], - }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 # Optional image to be displayed 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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, }, - "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. + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -8417,16 +10739,29 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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". @@ -8441,43 +10776,28 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -8492,10 +10812,11 @@

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -8510,92 +10831,32 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - ], - }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. - "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. - }, - ], + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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"`. @@ -8620,268 +10881,366 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. - }, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. }, ], }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "transitOption": "A String", + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, ], }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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. }, }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + }, + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + "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". @@ -8894,17 +11253,36 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "contentDescription": { # Description of the image used for accessibility. + ], + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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". @@ -8919,10 +11297,18 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -8937,29 +11323,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -8974,10 +11338,264 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "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. + }, + "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + "reservationInfo": { # Required. Information about flight reservation. + "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. + "eticketNumber": "A String", # E-ticket number. + "frequentFlyerInfo": { # Frequent flyer membership information. + "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. + "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. + }, + "rotatingBarcode": { # The rotating barcode type and value. + "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. + }, + "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "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. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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". @@ -8992,11 +11610,10 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -9011,34 +11628,16 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -9053,65 +11652,43 @@

Method Details

}, ], }, - "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. - }, + "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. }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + "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. }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -9126,11 +11703,10 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -9145,33 +11721,49 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + "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. }, - }, + ], }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -9186,10 +11778,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -9204,37 +11796,10 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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". @@ -9249,78 +11814,12 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "uris": [ # The list of URIs. - { + "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"`. @@ -9341,88 +11840,23 @@

Method Details

}, "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. }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - { + "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. }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "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". @@ -9437,60 +11871,35 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, + }, + "barcode": { # The barcode type and value. + "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. }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. + "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. + "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. + "boardingPosition": "A String", # The value of boarding position. eg: "76" + "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. "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"`. @@ -9527,16 +11936,8 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. + "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -9551,34 +11952,92 @@

Method Details

}, ], }, - "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. + "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" + "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" + "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -9593,10 +12052,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -9611,18 +12070,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -9637,7 +12088,16 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -9652,21 +12112,103 @@

Method Details

}, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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. + }, + ], + }, }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. + "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". @@ -9681,194 +12223,250 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. - { + "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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - ], - "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. - }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, }, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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. - }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. - "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. + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -9883,51 +12481,15 @@

Method Details

}, ], }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed 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. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -9942,16 +12504,29 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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". @@ -9966,43 +12541,28 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -10017,10 +12577,11 @@

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -10035,16 +12596,34 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -10059,43 +12638,65 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, + ], }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "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. + }, + }, + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -10110,10 +12711,11 @@

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -10128,92 +12730,32 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - ], - }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. - }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + }, + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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"`. @@ -10250,256 +12792,12 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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". @@ -10514,14 +12812,13 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + "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. }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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"`. @@ -10558,8 +12855,61 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. - "contentDescription": { # Description of the image used for accessibility. + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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". @@ -10574,28 +12924,177 @@

Method Details

}, ], }, - "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 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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "uri": "A String", # The location of the image. URIs must have a scheme. + ], + }, + "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. + }, + ], }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "messageType": "A String", # The message type. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -10610,53 +13109,79 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, - }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -10671,10 +13196,18 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -10689,29 +13222,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -10726,10 +13237,21 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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". @@ -10744,52 +13266,33 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. - }, - }, + "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. }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. - "contentDescription": { # Description of the image used for accessibility. + ], + "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". @@ -10804,33 +13307,37 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, + "messageType": "A String", # The message type. }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + ], + "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. + }, + "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + "reservationInfo": { # Required. Information about flight reservation. + "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. + "eticketNumber": "A String", # E-ticket number. + "frequentFlyerInfo": { # Frequent flyer membership information. + "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. + "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -10845,129 +13352,50 @@

Method Details

}, ], }, - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. + }, + "rotatingBarcode": { # The rotating barcode type and value. + "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. }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], - "showLastUpdateTime": True or False, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "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. }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "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. + }, + "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "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". @@ -10982,65 +13410,50 @@

Method Details

}, ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. - }, - ], + "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. }, - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "messageType": "A String", # The message type. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "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". @@ -11055,26 +13468,35 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "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. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "version": "A String", # Deprecated +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the flight 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 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:
+
+{
+  "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".
@@ -11089,27 +13511,52 @@ 

Method Details

}, ], }, - "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#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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -11124,55 +13571,7 @@

Method Details

}, ], }, - "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. - }, - }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + "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". @@ -11187,15 +13586,9 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -11232,100 +13625,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "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. }, }, - "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. + "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". @@ -11340,7 +13664,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -11355,98 +13679,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "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. - }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + "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. }, - ], - "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. - }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. - "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. + "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. }, - ], - }, - "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. + }, + "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". @@ -11461,17 +13757,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -11486,7 +13772,36 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + }, + }, + "barcode": { # The barcode type and value. + "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. + }, + "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. + "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. + "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. + "boardingPosition": "A String", # The value of boarding position. eg: "76" + "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + "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". @@ -11501,35 +13816,10 @@

Method Details

}, ], }, - }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the flight 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 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:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
-        "contentDescription": { # Description of the image used for accessibility.
+      "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".
@@ -11544,10 +13834,36 @@ 

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. + "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" + "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" + "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -11562,67 +13878,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -11637,10 +13953,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -11655,67 +13971,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -11730,10 +14046,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -11748,111 +14064,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. - }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. - "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#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + "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". @@ -11867,32 +14139,8 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. @@ -13079,19 +15327,228 @@

Method Details

"language": "A String", # Represents the 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. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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. + }, + ], + }, + }, + "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. + }, }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -13106,7 +15563,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -13122,31 +15579,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -13183,7 +15617,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -13207,7 +15641,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -13222,7 +15656,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -13238,9 +15672,53 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. + "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. + "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. + "boardingPosition": "A String", # The value of boarding position. eg: "76" + "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + "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". @@ -13255,10 +15733,129 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. + "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" + "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" + "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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". @@ -13273,67 +15870,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -13348,10 +15945,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -13366,111 +15963,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. - }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. - "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#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + "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". @@ -13485,32 +16038,8 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. diff --git a/docs/dyn/walletobjects_v1.genericclass.html b/docs/dyn/walletobjects_v1.genericclass.html index 0446008e69..1e190124c6 100644 --- a/docs/dyn/walletobjects_v1.genericclass.html +++ b/docs/dyn/walletobjects_v1.genericclass.html @@ -164,230 +164,9 @@

Method Details

{ # Response to adding a new issuer message to the class. This contains the entire updated GenericClass. "resource": { # Generic Class # The updated EventTicketClass resource. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. - "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. - "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. - { - "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. - "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. + "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 object that will be used instead. + "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"`. @@ -424,49 +203,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - "uris": [ # The list of URIs. - { - "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. - "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. - "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "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. - }, - ], - }, - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, }, - "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. + "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". @@ -481,7 +242,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -496,22 +257,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -526,7 +335,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -542,173 +351,267 @@

Method Details

], }, }, - ], - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. - }, -}
-
- -
- close() -
Close httplib2 connections.
-
- -
- get(resourceId, x__xgafv=None) -
Returns the generic class with the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # Generic Class
-  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
-    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
-    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
-  },
-  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
-    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
-      "firstBottomDetail": { # Optional information to display below the barcode.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+      "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.
+          },
         },
-      },
-      "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+        "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.
             },
           ],
         },
-      },
-      "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+        "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.
             },
           ],
         },
       },
     },
-    "cardTemplateOverride": { # Override for the card view.
-      "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
-        {
-          "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "item": { # The item to be displayed in the row. This item will be automatically centered.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+    "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
+      "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
+      "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
+    },
+    "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
+      "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
+        "firstBottomDetail": { # Optional information to display below the barcode.
+          "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+            "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+              { # Reference definition to use with field overrides.
+                "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
               },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+            ],
+          },
+        },
+        "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
+          "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+            "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+              { # Reference definition to use with field overrides.
+                "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
               },
-            },
+            ],
           },
-          "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+        },
+        "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
+          "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
+            "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+              { # Reference definition to use with field overrides.
+                "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
               },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+            ],
+          },
+        },
+      },
+      "cardTemplateOverride": { # Override for the card view.
+        "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
+          {
+            "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
+              "item": { # The item to be displayed in the row. This item will be automatically centered.
+                "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
+                "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
               },
             },
-            "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+            "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
+              "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
+                "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
+                "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
               },
-            },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+              "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
+                "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
+                "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
               },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+              "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
+                "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
+                "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
               },
             },
-          },
-          "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+            "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
+              "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
+                "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
+                "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
               },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
+              "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
+                "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
+                "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
+                "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
+                  "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
+                    { # Reference definition to use with field overrides.
+                      "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
+                      "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+                    },
+                  ],
+                },
               },
             },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
+          },
+        ],
+      },
+      "detailsTemplateOverride": { # Override for the details view (beneath the card view).
+        "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
+          {
+            "item": { # The item to be displayed in the details list.
               "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
                 "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
                   { # Reference definition to use with field overrides.
@@ -728,37 +631,29 @@ 

Method Details

}, }, }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, + "transitOption": "A String", }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. { # Reference definition to use with field overrides. "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. @@ -766,51 +661,59 @@

Method Details

}, ], }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], }, }, - }, - "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. - "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. - "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. - { - "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. - "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. - "contentDescription": { # Description of the image used for accessibility. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. + "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. + "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. + { + "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. + "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. + "contentDescription": { # Description of the image used for accessibility. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. + "sourceUri": { # The URI for the image. + "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. + "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "uri": "A String", # The location of the image. URIs must have a scheme. + }, }, - "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. + }, + ], + "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. + "uris": [ # The list of URIs. + { + "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. + "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. + "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -825,18 +728,26 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, - }, + ], }, - ], - "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - "uris": [ # The list of URIs. - { - "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. - "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. - "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. + "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". @@ -851,339 +762,96 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "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. - { + "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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "messageType": "A String", # The message type. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, }, - }, - ], - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. + ], + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. + }, }
- insert(body=None, x__xgafv=None) -
Inserts a generic class with the given ID and properties.
+    close()
+  
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the generic class with the given class ID.
 
 Args:
-  body: object, The request body.
-    The object takes the form of:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
 
-{ # Generic Class
-  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
-    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
-    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
-  },
-  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
-    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
-      "firstBottomDetail": { # Optional information to display below the barcode.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-      "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-      "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-    },
-    "cardTemplateOverride": { # Override for the card view.
-      "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
-        {
-          "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "item": { # The item to be displayed in the row. This item will be automatically centered.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-          "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-          "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-        },
-      ],
-    },
-    "detailsTemplateOverride": { # Override for the details view (beneath the card view).
-      "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
-        {
-          "item": { # The item to be displayed in the details list.
-            "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                },
-              ],
-            },
-            "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-            "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                },
-              ],
-            },
-          },
-        },
-      ],
-    },
-    "listTemplateOverride": { # Override for the passes list view.
-      "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice.
-        "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-        "transitOption": "A String",
-      },
-      "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice.
-        "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-          { # Reference definition to use with field overrides.
-            "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-            "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-          },
-        ],
-      },
-      "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees.
-        "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-          { # Reference definition to use with field overrides.
-            "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-            "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-          },
-        ],
-      },
-    },
-  },
-  "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance.
-  "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.
-  "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set.
-    {
-      "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules.
-      "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image.
+Returns:
+  An object of the form:
+
+    { # Generic Class
+  "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 object that will be used instead.
+    "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"`.
@@ -1220,49 +888,124 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - "uris": [ # The list of URIs. - { - "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. - "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. - "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "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. }, - ], - }, - "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. + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + ], }, - "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. + }, + "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". @@ -1277,7 +1020,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -1292,22 +1035,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -1322,7 +1113,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -1338,19 +1129,7 @@

Method Details

], }, }, - ], - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # Generic Class + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -1735,347 +1514,2930 @@

Method Details

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

Method Details

}, ], }, - "messageType": "A String", # The message type. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. }, - "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -2120,39 +4476,41 @@

Method Details

}, ], }, - "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. - }, - ], + "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. }, - ], - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, }, - ], -}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the generic class referenced by the given class ID. This method supports patch semantics.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # Generic Class
+  },
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -2351,32 +4709,204 @@ 

Method Details

}, ], }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. + "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. + "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. + { + "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. + "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. + "contentDescription": { # Description of the image used for accessibility. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. + "sourceUri": { # The URI for the image. + "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. + "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + ], + "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. + "uris": [ # The list of URIs. + { + "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. + "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. + "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "uri": "A String", # The location of a web page, image, or other resource. URIs in the `LinksModuleData` module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme. + }, + ], + }, + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, ], }, }, - }, - "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. - "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. - "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. - { - "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. - "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. + ], + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the Generic class referenced by the given class ID.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Generic Class
+  "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 object that will be used instead.
+    "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"`.
@@ -2413,15 +4943,64 @@ 

Method Details

"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. + }, + ], + }, }, - ], - "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - "uris": [ # The list of URIs. - { - "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. - "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. - "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. + "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". @@ -2436,26 +5015,52 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "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#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. }, - "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. + }, + "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. }, }, - "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. + "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". @@ -2470,7 +5075,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -2485,22 +5090,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -2515,7 +5168,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -2531,19 +5184,7 @@

Method Details

], }, }, - ], - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # Generic Class + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -2892,275 +5533,52 @@

Method Details

"header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - ], - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the Generic class referenced by the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # Generic Class
-  "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
-    "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
-    "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
-  },
-  "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
-    "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode.
-      "firstBottomDetail": { # Optional information to display below the barcode.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-      "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-      "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section.
-        "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
-        },
-      },
-    },
-    "cardTemplateOverride": { # Override for the card view.
-      "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified.
-        {
-          "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "item": { # The item to be displayed in the row. This item will be automatically centered.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-          "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-          "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.
-            "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-            "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left.
-              "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-              "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-              "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-                "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                  { # Reference definition to use with field overrides.
-                    "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                    "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                  },
-                ],
-              },
-            },
-          },
-        },
-      ],
-    },
-    "detailsTemplateOverride": { # Override for the details view (beneath the card view).
-      "detailsItemInfos": [ # Information for the "nth" item displayed in the details list.
-        {
-          "item": { # The item to be displayed in the details list.
-            "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                },
-              ],
-            },
-            "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.
-            "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated.
-              "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-                { # Reference definition to use with field overrides.
-                  "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-                  "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-                },
-              ],
-            },
-          },
-        },
-      ],
-    },
-    "listTemplateOverride": { # Override for the passes list view.
-      "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice.
-        "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row.
-          "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-            { # Reference definition to use with field overrides.
-              "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-              "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
-            },
-          ],
+        "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+          "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+          "value": "A String", # The UTF-8 encoded translated string.
         },
-        "transitOption": "A String",
-      },
-      "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice.
-        "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-          { # Reference definition to use with field overrides.
-            "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-            "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+            "value": "A String", # The UTF-8 encoded translated string.
           },
         ],
       },
-      "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees.
-        "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed.
-          { # Reference definition to use with field overrides.
-            "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.
-            "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
+      "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.
           },
         ],
       },
     },
-  },
-  "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance.
-  "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.
-  "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set.
-    {
-      "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules.
-      "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image.
+  ],
+  "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Generic Class
+  "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 object that will be used instead.
+    "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"`.
@@ -3197,15 +5615,64 @@ 

Method Details

"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. + }, + ], + }, }, - ], - "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - "uris": [ # The list of URIs. - { - "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. - "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. - "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. + "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". @@ -3220,26 +5687,52 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "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#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. }, - "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. + }, + "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. }, }, - "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. + "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". @@ -3254,7 +5747,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -3269,22 +5762,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -3299,7 +5840,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -3315,19 +5856,7 @@

Method Details

], }, }, - ], - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # Generic Class + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.genericobject.html b/docs/dyn/walletobjects_v1.genericobject.html index dc864a8578..545fd8b155 100644 --- a/docs/dyn/walletobjects_v1.genericobject.html +++ b/docs/dyn/walletobjects_v1.genericobject.html @@ -164,9 +164,9 @@

Method Details

{ # Response to adding a new issuer message to the object. This contains the entire updated GenericObject. "resource": { # Generic Object # The updated GenericObject resource. - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -203,7 +203,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -227,7 +227,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -242,7 +242,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -259,7 +259,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -296,7 +296,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -320,7 +320,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -335,7 +335,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -351,8 +351,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -389,7 +389,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -413,7 +413,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -428,7 +428,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -823,9 +823,9 @@

Method Details

An object of the form: { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -862,7 +862,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -886,7 +886,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -901,7 +901,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -918,7 +918,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -955,7 +955,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -979,7 +979,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -994,7 +994,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1010,8 +1010,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1048,7 +1048,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1072,7 +1072,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1087,7 +1087,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1470,9 +1470,9 @@

Method Details

The object takes the form of: { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1509,7 +1509,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1533,7 +1533,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1548,7 +1548,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1565,7 +1565,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1602,7 +1602,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1626,7 +1626,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1641,7 +1641,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1657,8 +1657,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1695,7 +1695,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1719,7 +1719,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1734,7 +1734,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2116,9 +2116,9 @@

Method Details

An object of the form: { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2155,7 +2155,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2179,7 +2179,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2194,7 +2194,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2211,7 +2211,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2248,7 +2248,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2272,7 +2272,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2287,7 +2287,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2303,8 +2303,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2341,7 +2341,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2365,7 +2365,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2380,7 +2380,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2778,9 +2778,9 @@

Method Details

}, "resources": [ # Resources corresponding to the list request. { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2817,7 +2817,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2841,7 +2841,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2856,7 +2856,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2873,7 +2873,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2910,7 +2910,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2934,7 +2934,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2949,7 +2949,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2965,8 +2965,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3003,7 +3003,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3027,7 +3027,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3042,7 +3042,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3428,9 +3428,9 @@

Method Details

The object takes the form of: { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3467,7 +3467,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3491,7 +3491,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3506,7 +3506,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3523,7 +3523,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3560,7 +3560,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3584,7 +3584,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3599,7 +3599,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3615,8 +3615,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3653,7 +3653,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3677,7 +3677,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3692,7 +3692,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4074,9 +4074,9 @@

Method Details

An object of the form: { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4113,7 +4113,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4137,7 +4137,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4152,7 +4152,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4169,7 +4169,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4206,7 +4206,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4230,7 +4230,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4245,7 +4245,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4261,8 +4261,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4299,7 +4299,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4323,7 +4323,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4338,7 +4338,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4722,9 +4722,9 @@

Method Details

The object takes the form of: { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4761,7 +4761,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4785,7 +4785,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4800,7 +4800,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4817,7 +4817,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4854,7 +4854,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4878,7 +4878,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4893,7 +4893,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4909,8 +4909,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4947,7 +4947,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4971,7 +4971,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4986,7 +4986,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -5368,9 +5368,9 @@

Method Details

An object of the form: { # Generic Object - "appLinkData": { # Information about the partner app link. The maximum number of these fields displayed is 10. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -5407,7 +5407,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -5431,7 +5431,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -5446,7 +5446,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -5463,7 +5463,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -5500,7 +5500,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -5524,7 +5524,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -5539,7 +5539,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -5555,8 +5555,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -5593,7 +5593,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -5617,7 +5617,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -5632,7 +5632,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". diff --git a/docs/dyn/walletobjects_v1.giftcardclass.html b/docs/dyn/walletobjects_v1.giftcardclass.html index f1fab9ffe7..6b78093a93 100644 --- a/docs/dyn/walletobjects_v1.giftcardclass.html +++ b/docs/dyn/walletobjects_v1.giftcardclass.html @@ -166,248 +166,163 @@

Method Details

"resource": { # The updated GiftCardClass resource. "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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 object that will be used instead. + "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. }, ], }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. + }, + ], }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "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. }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - }, + ], }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], }, + "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. }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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". @@ -422,36 +337,24 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. + }, + ], + }, }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -488,158 +391,536 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + ], + }, + "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. }, ], }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. }, - ], - }, - "localizedCardNumberLabel": { # Translated strings for the card_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - ], - }, - "localizedEventNumberLabel": { # Translated strings for the event_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "localizedPinLabel": { # Translated strings for the pin_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedCardNumberLabel": { # Translated strings for the card_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedEventNumberLabel": { # Translated strings for the event_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. + }, + ], + }, + "localizedPinLabel": { # Translated strings for the pin_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, ], "merchantName": "A String", # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. @@ -879,248 +1160,163 @@

Method Details

{ "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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 object that will be used instead. + "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. }, ], }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + }, + "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. }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, ], }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, ], }, }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -1135,36 +1331,24 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. + }, + ], + }, }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -1201,154 +1385,532 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + ], + }, + "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. }, ], }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. }, - ], - }, - "localizedCardNumberLabel": { # Translated strings for the card_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - ], - }, - "localizedEventNumberLabel": { # Translated strings for the event_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - { + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. }, - ], - }, - "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + }, + ], }, - ], - }, - "localizedPinLabel": { # Translated strings for the pin_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedCardNumberLabel": { # Translated strings for the card_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedEventNumberLabel": { # Translated strings for the event_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. + }, + ], + }, + "localizedPinLabel": { # Translated strings for the pin_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. @@ -1580,38 +2142,319 @@

Method Details

{ "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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 object that will be used instead. + "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. }, ], }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], @@ -2280,248 +3123,163 @@

Method Details

{ "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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 object that will be used instead. + "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. }, ], }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. + }, + ], }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "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. }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - }, + ], }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], }, + "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. }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "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". @@ -2536,36 +3294,24 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - { + "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. + }, + ], + }, }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -2602,160 +3348,538 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + ], + }, + "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. }, ], }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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. }, - ], - }, - "localizedCardNumberLabel": { # Translated strings for the card_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - ], - }, - "localizedEventNumberLabel": { # Translated strings for the event_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "localizedPinLabel": { # Translated strings for the pin_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedCardNumberLabel": { # Translated strings for the card_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedEventNumberLabel": { # Translated strings for the event_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. + }, + ], + }, + "localizedPinLabel": { # Translated strings for the pin_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], "merchantName": "A String", # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. "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 @@ -2962,40 +4086,321 @@

Method Details

"language": "A String", # Represents the 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(issuerId=None, maxResults=None, token=None, x__xgafv=None) +
Returns a list of all gift card classes for a given issuer ID.
+
+Args:
+  issuerId: string, The ID of the issuer authorized to list classes.
+  maxResults: integer, Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.
+  token: string, Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
+    {
+      "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed.
+      "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+      "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 object that will be used instead.
+        "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.
+              },
+            ],
+          },
+        },
+        "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.
+              },
+            ],
+          },
+        },
       },
-      "uri": "A String", # The location of the image. URIs must have a scheme.
-    },
-  },
-}
-
- -
- list(issuerId=None, maxResults=None, token=None, x__xgafv=None) -
Returns a list of all gift card classes for a given issuer ID.
-
-Args:
-  issuerId: string, The ID of the issuer authorized to list classes.
-  maxResults: integer, Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.
-  token: string, Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "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.
-    {
-      "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed.
-      "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
       "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
         "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
         "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -3590,7 +4995,255 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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 gift card class referenced by the given class ID. This method supports patch semantics.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
+
+{
+  "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed.
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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.
+          },
+        ],
+      },
+    },
+    "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".
@@ -3605,11 +5258,42 @@ 

Method Details

}, ], }, + "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. }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program logo in the top left of the card view. + }, + "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"`. @@ -3646,26 +5330,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -3680,26 +5351,41 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, + ], }, }, - ], -}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the gift card class referenced by the given class ID. This method supports patch semantics.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
-
-{
-  "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed.
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  },
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -4222,12 +5908,135 @@ 

Method Details

}, ], }, - "messageType": "A String", # The message type. + "messageType": "A String", # The message type. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. "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"`. @@ -4264,22 +6073,83 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -4294,7 +6164,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4310,29 +6180,84 @@

Method Details

], }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -4347,29 +6272,85 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -4384,22 +6365,8 @@

Method Details

}, ], }, - "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: - - { - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4884,15 +6851,288 @@

Method Details

"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. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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 gift card class referenced by the given class ID.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
+
+{
+  "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed.
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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.
         },
       },
-      "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.
+      "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".
@@ -4907,7 +7147,7 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -4922,64 +7162,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. - "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. - { + "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. + }, }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -4994,7 +7240,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -5010,29 +7256,69 @@

Method Details

], }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -5047,29 +7333,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -5084,24 +7348,8 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, }, -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the gift card class referenced by the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
-
-{
-  "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed.
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -5586,15 +7834,286 @@ 

Method Details

"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. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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: + + { + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, }, - "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. + "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". @@ -5609,7 +8128,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -5624,64 +8143,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. - "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. - { + "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. + }, }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -5696,7 +8221,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -5712,29 +8237,69 @@

Method Details

], }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -5749,29 +8314,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -5786,22 +8329,8 @@

Method Details

}, ], }, - "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: - - { - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.giftcardobject.html b/docs/dyn/walletobjects_v1.giftcardobject.html index 05c7b10e07..361548ad0c 100644 --- a/docs/dyn/walletobjects_v1.giftcardobject.html +++ b/docs/dyn/walletobjects_v1.giftcardobject.html @@ -164,9 +164,9 @@

Method Details

{ "resource": { # The updated GiftCardObject resource. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -203,7 +203,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -227,7 +227,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -242,7 +242,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -259,7 +259,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -296,7 +296,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -320,7 +320,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -335,7 +335,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -351,8 +351,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -389,7 +389,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -413,7 +413,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -428,7 +428,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -480,6 +480,287 @@

Method Details

"classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -1453,54 +1734,147 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, +}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the gift card 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 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)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
+          },
+        ],
       },
-      "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.
+      "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.
+          },
+        ],
       },
     },
-    "version": "A String", # Deprecated
-  },
-}
-
- -
- close() -
Close httplib2 connections.
-
- -
- get(resourceId, x__xgafv=None) -
Returns the gift card 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 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)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -1537,7 +1911,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1561,7 +1935,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1576,7 +1950,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1592,8 +1966,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1630,7 +2004,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1654,7 +2028,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1669,25 +2043,230 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, + "barcode": { # The barcode type and value. + "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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -1702,10 +2281,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -1720,100 +2299,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -2753,20 +3315,137 @@

Method Details

"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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + ], + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ insert(body=None, x__xgafv=None) +
Inserts an gift card object with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "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".
@@ -2781,7 +3460,7 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -2797,32 +3476,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an gift card object with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -2859,7 +3514,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2883,7 +3538,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2898,7 +3553,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2914,8 +3569,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2952,7 +3607,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2976,7 +3631,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2991,25 +3646,230 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, + "barcode": { # The barcode type and value. + "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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -3024,10 +3884,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -3042,100 +3902,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4075,20 +4918,136 @@

Method Details

"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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + ], + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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". @@ -4103,7 +5062,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4119,31 +5078,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4180,7 +5116,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4204,7 +5140,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4219,7 +5155,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4235,8 +5171,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4273,7 +5209,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4297,7 +5233,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4312,7 +5248,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4328,9 +5264,106 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, + "barcode": { # The barcode type and value. + "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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -4345,34 +5378,118 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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. - }, - ], - }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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. + }, + ], }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "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". @@ -4387,76 +5504,83 @@

Method Details

}, ], }, - "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. + "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. + }, }, - }, - "description": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -5437,50 +6561,143 @@

Method Details

"language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- list(classId=None, maxResults=None, token=None, x__xgafv=None) -
Returns a list of all gift card 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:
-
-    {
-  "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.
-    {
-      "appLinkData": { # Optional information about the partner app link.
-        "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-          "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+        ],
+      },
+    },
+  ],
+  "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
+    "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.
+    },
+  },
+  "version": "A String", # Deprecated
+}
+
+ +
+ list(classId=None, maxResults=None, token=None, x__xgafv=None) +
Returns a list of all gift card 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:
+
+    {
+  "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.
+    {
+      "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.
+              },
+            ],
+          },
+        },
+        "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"`.
@@ -5517,7 +6734,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -5541,7 +6758,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -5556,7 +6773,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -5572,8 +6789,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -5610,7 +6827,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -5634,7 +6851,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -5649,7 +6866,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -5665,9 +6882,106 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, + "barcode": { # The barcode type and value. + "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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -5682,10 +6996,25 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -5700,16 +7029,85 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, + ], }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "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". @@ -5722,78 +7120,85 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -6691,27 +8096,215 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "messageType": "A String", # The message type. + }, + ], + "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. + }, + "pin": "A String", # The card's PIN. + "rotatingBarcode": { # The rotating barcode type and value. + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], +}
+
+ +
+ patch(resourceId, body=None, x__xgafv=None) +
Updates the gift card 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 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:
+
+{
+  "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.
         },
-      ],
-      "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",
+      },
+      "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.
+          },
         ],
-        "screenshotEligibility": "A String", # The screenshot eligibility for the pass.
       },
-      "pin": "A String", # The card's PIN.
-      "rotatingBarcode": { # The rotating barcode type and value.
-        "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",
-          ],
+      "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.
         },
-        "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.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the 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".
@@ -6726,27 +8319,10 @@ 

Method Details

}, ], }, - "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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -6761,7 +8337,16 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -6776,36 +8361,42 @@

Method Details

}, ], }, + "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. }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + }, + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + ], }, - "version": "A String", # Deprecated }, - ], -}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the gift card 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 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:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -6842,7 +8433,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6863,43 +8454,155 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + ], + }, + }, + }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, + "barcode": { # The barcode type and value. + "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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -6914,10 +8617,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -6932,67 +8635,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -7007,10 +8710,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -7025,100 +8728,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -8124,9 +9810,9 @@

Method Details

An object of the form: { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -8163,7 +9849,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -8187,7 +9873,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -8202,7 +9888,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -8219,7 +9905,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -8256,7 +9942,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -8280,7 +9966,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -8295,7 +9981,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -8311,8 +9997,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -8349,7 +10035,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -8373,7 +10059,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -8388,7 +10074,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -8430,16 +10116,297 @@

Method Details

"language": "A String", # Represents the 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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -9279,35 +11246,238 @@

Method Details

"language": "A String", # Represents the 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + ], + }, + "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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "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. + }, + "pin": "A String", # The card's PIN. + "rotatingBarcode": { # The rotating barcode type and value. + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the gift card 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 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:
+
+{
+  "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.
         },
       },
-      "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.
+      "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".
@@ -9322,7 +11492,7 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -9337,62 +11507,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "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. - }, - "pin": "A String", # The card's PIN. - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "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. + }, + ], }, - ], - }, - "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. + "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. }, - ], - "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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -9407,7 +11585,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -9423,33 +11601,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the gift card 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 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:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -9486,7 +11639,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9507,43 +11660,155 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + ], + }, + }, + }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, + "barcode": { # The barcode type and value. + "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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -9558,10 +11823,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -9576,67 +11841,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -9651,10 +11916,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -9669,100 +11934,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -10627,10 +12875,211 @@

Method Details

"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. + "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. + }, + ], + "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. + }, + "pin": "A String", # The card's PIN. + "rotatingBarcode": { # The rotating barcode type and value. + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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". @@ -10645,7 +13094,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -10660,62 +13109,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "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. - }, - "pin": "A String", # The card's PIN. - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "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. + }, + ], }, - ], - }, - "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. + "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. }, - ], - "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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -10730,7 +13187,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -10746,31 +13203,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -10807,7 +13241,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10831,7 +13265,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10844,27 +13293,124 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + }, + }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, + "barcode": { # The barcode type and value. + "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. + }, + "cardNumber": "A String", # Required. The card's number. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -10879,10 +13425,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -10897,67 +13443,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -10972,10 +13518,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -10990,100 +13536,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.jwt.html b/docs/dyn/walletobjects_v1.jwt.html index 6e62fb9802..51baac9be3 100644 --- a/docs/dyn/walletobjects_v1.jwt.html +++ b/docs/dyn/walletobjects_v1.jwt.html @@ -111,376 +111,178 @@

Method Details

"eventTicketClasses": [ { "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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 object that will be used instead. + "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. }, ], }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. + }, + ], }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "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. }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], + }, + "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. }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + }, + "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. }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "finePrint": { # The fine print, terms, or conditions of the ticket. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + "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". @@ -495,36 +297,9 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -561,153 +336,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. - "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. + "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. }, }, - "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. + "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". @@ -722,7 +375,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -737,252 +390,378 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, }, ], }, - }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, ], }, - "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. + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + }, + "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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. - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, + ], }, - }, - ], - "eventTicketObjects": [ - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed 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. - }, + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. - }, + ], + }, + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "description": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + ], + }, + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + }, + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "finePrint": { # The fine print, terms, or conditions of the ticket. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. }, - "title": { # String to be displayed in the title of the App Link Module Required + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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". @@ -997,9 +776,36 @@

Method Details

}, ], }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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"`. @@ -1036,35 +842,124 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the 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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. @@ -1075,7 +970,25 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1090,70 +1003,44 @@

Method Details

}, ], }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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": { # String to be displayed in the description of the App Link Module Required + "messageType": "A String", # The message type. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1168,7 +1055,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1184,12 +1071,25 @@

Method Details

], }, }, - }, - "barcode": { # The barcode type and value. - "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. + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1204,233 +1104,48 @@

Method Details

}, ], }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + }, + ], }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "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. }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -1445,141 +1160,35 @@

Method Details

}, ], }, - "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "dateTime": { # The date & time information of the event. - "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. - "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. - "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). - "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "finePrint": { # The fine print, terms, or conditions of the ticket. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + }, + }, + ], + "eventTicketObjects": [ + { + "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". @@ -1594,37 +1203,10 @@

Method Details

}, ], }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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". @@ -1639,77 +1221,12 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "uris": [ # The list of URIs. - { + "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"`. @@ -1730,32 +1247,23 @@

Method Details

}, "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. }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - { + "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. }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -1770,10 +1278,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -1788,110 +1296,52 @@

Method Details

}, ], }, - "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#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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. - "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. - "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, }, - ], - "venue": { # Event venue details. - "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. + "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". @@ -1906,8 +1356,7 @@

Method Details

}, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. - "name": { # The name of the venue, such as "AT&T Park". This is required. + "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". @@ -1923,28 +1372,9 @@

Method Details

], }, }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "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". @@ -1959,11 +1389,52 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -1978,42 +1449,28 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, }, }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. - "faceValue": { # The face value of the ticket, matching what would be printed on a physical version of the ticket. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "contentDescription": { # Description of the image used for accessibility. + "barcode": { # The barcode type and value. + "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". @@ -2028,34 +1485,76 @@

Method Details

}, ], }, - "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. - }, + "type": "A String", # The type of barcode. + "value": "A String", # The value encoded in the barcode. }, - "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -2070,10 +1569,25 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -2088,18 +1602,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -2114,7 +1620,16 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -2129,24 +1644,10 @@

Method Details

}, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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. }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketObject"`. - "linkedOfferIds": [ # A list of offer objects linked to this event ticket. The offer objects must already exist. Offer object IDs should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. - "A String", - ], - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. + }, + "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". @@ -2161,86 +1662,337 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "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. + }, + ], }, }, - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + ], + }, }, - "messageType": "A String", # The message type. }, - ], - "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. - }, - "reservationInfo": { # Reservation details for this ticket. This is expected to be shared amongst all tickets that were purchased in the same order. - "confirmationCode": "A String", # The confirmation code of the event reservation. This may also take the form of an "order number", "confirmation number", "reservation number", or other equivalent. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventReservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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", - ], + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. }, - "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. + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "confirmationCodeLabel": "A String", # The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2255,21 +2007,7 @@

Method Details

}, ], }, - "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. - }, - "seatInfo": { # Seating details for this ticket. - "gate": { # The gate the ticket holder should enter to get to their seat, such as "A" or "West". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "customGateLabel": { # A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default "Gate" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2284,8 +2022,7 @@

Method Details

}, ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventSeat"`. - "row": { # The row of the seat, such as "1", E", "BB", or "A5". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "customRowLabel": { # A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default "Row" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2300,7 +2037,7 @@

Method Details

}, ], }, - "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "customSeatLabel": { # A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default "Seat" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2315,7 +2052,7 @@

Method Details

}, ], }, - "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "customSectionLabel": { # A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default "Section" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2330,15 +2067,8 @@

Method Details

}, ], }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "dateTime": { # The date & time information of the event. + "customDoorsOpenLabel": { # A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default "Doors Open" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2353,7 +2083,47 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "doorsOpen": "A String", # The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "doorsOpenLabel": "A String", # The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. + "end": "A String", # The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. + "start": "A String", # The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventId": "A String", # The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable). + "eventName": { # Required. The name of the event, such as "LA Dodgers at SF Giants". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "finePrint": { # The fine print, terms, or conditions of the ticket. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gateLabel": "A String", # The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -2368,267 +2138,163 @@

Method Details

}, ], }, - }, - ], - "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". - "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). - "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated - }, - ], - "flightClasses": [ - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + ], }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, }, }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, + ], }, ], + "showLastUpdateTime": True or False, }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "uris": [ # The list of URIs. { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "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. }, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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". @@ -2643,15 +2309,33 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "contentDescription": { # Description of the image used for accessibility. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the ticket. This image is displayed in the card detail view of the app. + "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". @@ -2666,29 +2350,25 @@

Method Details

}, ], }, - "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. }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -2703,47 +2383,44 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. - }, - }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rowLabel": "A String", # The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. + "seatLabel": "A String", # The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. + "sectionLabel": "A String", # The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -2758,34 +2435,7 @@

Method Details

}, ], }, - "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. - }, - }, - }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -2800,29 +2450,63 @@

Method Details

}, ], }, - "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. - }, - ], + }, + ], + "venue": { # Event venue details. + "address": { # The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107". Address lines are separated by line feed (`\n`) characters. This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventVenue"`. + "name": { # The name of the venue, such as "AT&T Park". This is required. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. - "contentDescription": { # Description of the image used for accessibility. + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the event ticket. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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". @@ -2837,28 +2521,11 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -2873,11 +2540,10 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -2892,32 +2558,23 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. + "faceValue": { # The face value of the ticket, matching what would be printed on a physical version of the ticket. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. "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"`. @@ -2955,28 +2612,7 @@

Method Details

}, }, "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. { "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. @@ -3062,10 +2698,11 @@

Method Details

], "showLastUpdateTime": True or False, }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventTicketObject"`. + "linkedOfferIds": [ # A list of offer objects linked to this event ticket. The offer objects must already exist. Offer object IDs should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. + "A String", + ], + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. "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. @@ -3090,27 +2727,6 @@

Method Details

}, ], }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, "locations": [ # Note: This field is currently not supported to trigger geo notifications. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. @@ -3166,10 +2782,27 @@

Method Details

"messageType": "A String", # The message type. }, ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "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. + }, + "reservationInfo": { # Reservation details for this ticket. This is expected to be shared amongst all tickets that were purchased in the same order. + "confirmationCode": "A String", # The confirmation code of the event reservation. This may also take the form of an "order number", "confirmation number", "reservation number", or other equivalent. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventReservationInfo"`. + }, + "rotatingBarcode": { # The rotating barcode type and value. + "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". @@ -3184,20 +2817,84 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A 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. }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "seatInfo": { # Seating details for this ticket. + "gate": { # The gate the ticket holder should enter to get to their seat, such as "A" or "West". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventSeat"`. + "row": { # The row of the seat, such as "1", E", "BB", or "A5". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "seat": { # The seat number, such as "1", "2", "3", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "section": { # The section of the seat, such as "121". This field is localizable so you may translate words or use different alphabets for the characters in an identifier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, }, + "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", # Required. 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. "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. { # 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. @@ -3235,52 +2932,41 @@

Method Details

}, }, ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "ticketHolderName": "A String", # Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". + "ticketNumber": "A String", # The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). + "ticketType": { # The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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#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. + "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. }, }, + "version": "A String", # Deprecated }, ], - "flightObjects": [ + "flightClasses": [ { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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"`. @@ -3317,7 +3003,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3341,7 +3027,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3356,7 +3042,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3373,7 +3059,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3410,7 +3096,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3434,7 +3120,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3449,7 +3135,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3465,8 +3151,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3503,7 +3189,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3527,7 +3213,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3542,7 +3228,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -3559,264 +3245,152 @@

Method Details

}, }, }, - "barcode": { # The barcode type and value. - "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. + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. }, - "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. - "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. - "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. - "boardingPosition": "A String", # The value of boarding position. eg: "76" - "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. - "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. + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. - "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" - "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" - "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. - "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. - "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. - }, - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. { # Reference definition to use with field overrides. @@ -3836,29 +3410,37 @@

Method Details

}, }, }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. { # Reference definition to use with field overrides. "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. @@ -3866,72 +3448,71 @@

Method Details

}, ], }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "destination": { # Required. Destination airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. }, - ], - }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "flightHeader": { # Required. Information about the flight carrier and number. - "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. - }, + ], }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -3946,28 +3527,11 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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". @@ -3982,11 +3546,10 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -4001,34 +3564,47 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" - "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. - "operatingCarrier": { # Information about operating airline carrier. - "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. - "contentDescription": { # Description of the image used for accessibility. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -4043,29 +3619,34 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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. + }, + ], }, - "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -4080,28 +3661,11 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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". @@ -4116,11 +3680,10 @@

Method Details

}, ], }, - "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air - "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. - "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -4135,33 +3698,10 @@

Method Details

}, ], }, - "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. - }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" - }, - "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. - "contentDescription": { # Description of the image used for accessibility. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4176,10 +3716,11 @@

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -4194,15 +3735,51 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -4217,32 +3794,81 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4257,126 +3883,38 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. - "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. - }, - ], + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "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. - }, - ], - }, - "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. - "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. - "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + ], }, ], - "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. + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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". @@ -4391,28 +3929,69 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "origin": { # Required. Origin airport. - "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" - "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "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". @@ -4427,61 +4006,47 @@

Method Details

}, ], }, - "gate": "A String", # A name of the gate. Eg: "B59" or "59" - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. - "terminal": "A String", # Terminal name. Eg: "INTL" or "I" - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. + "messageType": "A String", # The message type. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -4496,36 +4061,26 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. "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"`. @@ -4562,12 +4117,13 @@

Method Details

"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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + }, + ], + "flightObjects": [ + { + "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"`. @@ -4604,100 +4160,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "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. }, }, - "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. + "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". @@ -4712,7 +4199,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -4727,98 +4214,85 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "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. - }, - "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" - "reservationInfo": { # Required. Information about flight reservation. - "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. - "eticketNumber": "A String", # E-ticket number. - "frequentFlyerInfo": { # Frequent flyer membership information. - "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. - "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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#frequentFlyerInfo"`. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. - }, - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + "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. }, - ], - "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. - }, - "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. - "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. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -4833,17 +4307,70 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -4858,7 +4385,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4874,265 +4401,35 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated - }, - ], - "giftCardClasses": [ - { - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. }, - "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + "barcode": { # The barcode type and value. + "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. }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - }, - }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. - { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - ], - }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, + ], }, + "type": "A String", # The type of barcode. + "value": "A String", # The value encoded in the barcode. }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. + "boardingAndSeatingInfo": { # Passenger specific information about boarding and seating. + "boardingDoor": "A String", # Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. + "boardingGroup": "A String", # The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. + "boardingPosition": "A String", # The value of boarding position. eg: "76" + "boardingPrivilegeImage": { # Wrapping type for Google hosted images. Next ID: 7 # A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program. + "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". @@ -5147,15 +4444,29 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingInfo"`. + "seatAssignment": { # The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: "assigned at gate" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5170,32 +4481,17 @@

Method Details

}, ], }, - "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. + "seatClass": "A String", # The value of the seat class. eg: "Economy" or "Economy Plus" + "seatNumber": "A String", # The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: "25A" + "sequenceNumber": "A String", # The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: "49" }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -5210,18 +4506,10 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -5236,7 +4524,16 @@

Method Details

}, ], }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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". @@ -5251,22 +4548,10 @@

Method Details

}, ], }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "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. }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + }, + "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". @@ -5281,311 +4566,193 @@

Method Details

}, ], }, - "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. - }, - ], - }, - "localizedCardNumberLabel": { # Translated strings for the card_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedEventNumberLabel": { # Translated strings for the event_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. - }, - ], - }, - "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. - }, - ], - }, - "localizedPinLabel": { # Translated strings for the pin_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "merchantName": "A String", # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. - "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. + "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. + }, + ], }, }, - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + ], + }, }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. - "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. + "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. + }, + ], }, - ], - }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + "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. }, - ], - }, - }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. - { + "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. }, - ], - }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. - }, - }, - }, - ], - "giftCardObjects": [ - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -5600,67 +4767,235 @@

Method Details

}, ], }, - "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. + }, + }, + "boardingAndSeatingPolicy": { # Policies for boarding and seating. These will inform which labels will be shown to users. + "boardingPolicy": "A String", # Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. + "seatClassPolicy": "A String", # Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". }, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "destination": { # Required. Destination airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5675,28 +5010,15 @@

Method Details

}, ], }, + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed 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. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "flightHeader": { # Required. Information about the flight carrier and number. + "carrier": { # Information about airline carrier. This is a required property of `flightHeader`. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -5711,22 +5033,35 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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"`. + "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. + }, + }, + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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"`. @@ -5735,43 +5070,28 @@

Method Details

}, ], }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -5786,10 +5106,11 @@

Method Details

}, ], }, - "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. + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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". @@ -5804,16 +5125,34 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "flightNumber": "A String", # The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: "123" + "flightNumberDisplayOverride": "A String", # Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightHeader"`. + "operatingCarrier": { # Information about operating airline carrier. + "airlineAllianceLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline alliance, displayed below the QR code that the passenger scans to board. + "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". @@ -5828,25 +5167,125 @@

Method Details

}, ], }, - "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. + "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. + }, }, - }, - "description": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "airlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed 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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "airlineName": { # A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air" for "LX" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "carrierIataCode": "A String", # Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + "carrierIcaoCode": "A String", # Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightCarrier"`. + "wideAirlineLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the airline. When provided, this will be used in place of the airline 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. + }, + }, }, - "title": { # String to be displayed in the title of the App Link Module Required + "operatingFlightNumber": "A String", # The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234" + }, + "flightStatus": "A String", # Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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". @@ -5861,21 +5300,170 @@

Method Details

}, ], }, - }, - }, - "balance": { # The card's monetary balance. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. - "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. - }, - "barcode": { # The barcode type and value. - "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. + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightClass"`. + "languageOverride": "A String", # If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localBoardingDateTime": "A String", # The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualArrivalDateTime": "A String", # The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localEstimatedOrActualDepartureDateTime": "A String", # The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources. + "localGateClosingDateTime": "A String", # The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localScheduledArrivalDateTime": "A String", # The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources. + "localScheduledDepartureDateTime": "A String", # Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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". @@ -5890,237 +5478,133 @@

Method Details

}, ], }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "cardNumber": "A String", # Required. The card's number. - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "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. + }, + ], }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "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. }, - "cardTemplateOverride": { # Override for the card view. - "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. - { - "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. - "item": { # The item to be displayed in the row. This item will be automatically centered. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. - "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - }, - }, - ], - }, - "detailsTemplateOverride": { # Override for the details view (beneath the card view). - "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "origin": { # Required. Origin airport. + "airportIataCode": "A String", # Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: "SFO" + "airportNameOverride": { # Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. { - "item": { # The item to be displayed in the details list. - "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. - "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + "gate": "A String", # A name of the gate. Eg: "B59" or "59" + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#airportInfo"`. + "terminal": "A String", # Terminal name. Eg: "INTL" or "I" + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "transitOption": "A String", - }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, ], }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + "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. }, ], }, }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the boarding pass. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. "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"`. @@ -6157,13 +5641,35 @@

Method Details

"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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + }, + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + "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. @@ -6177,14 +5683,34 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + }, + "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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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". @@ -6199,10 +5725,18 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -6217,82 +5751,151 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + ], }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#flightObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. }, - "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. + ], + }, + "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. + }, + ], + "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. + }, + "passengerName": "A String", # Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + "reservationInfo": { # Required. Information about flight reservation. + "confirmationCode": "A String", # Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass. + "eticketNumber": "A String", # E-ticket number. + "frequentFlyerInfo": { # Frequent flyer membership information. + "frequentFlyerNumber": "A String", # Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`. + "frequentFlyerProgramName": { # Frequent flyer program name. eg: "Lufthansa Miles & More" + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#frequentFlyerInfo"`. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#reservationInfo"`. + }, + "rotatingBarcode": { # The rotating barcode type and value. + "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", ], }, - "localizedCardNumberLabel": { # Translated strings for the card_number_label. + "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". @@ -6307,37 +5910,21 @@

Method Details

}, ], }, - "localizedEventNumberLabel": { # Translated strings for the event_number_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "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. }, - "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. + "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. + }, + "securityProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # An image for the security program that applies to the passenger. + "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". @@ -6352,81 +5939,50 @@

Method Details

}, ], }, - "localizedPinLabel": { # Translated strings for the pin_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "merchantName": "A String", # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -6441,10 +5997,28 @@

Method Details

}, ], }, - "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. + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], + "giftCardClasses": [ + { + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -6459,60 +6033,52 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -6527,29 +6093,7 @@

Method Details

}, ], }, - "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. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -6564,11 +6108,11 @@

Method Details

}, ], }, - "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. + }, + "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. @@ -6582,38 +6126,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, }, - }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. - "eventNumber": "A String", # The card's event number, an optional field used by some gift cards. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -6628,14 +6201,9 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -6672,100 +6240,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "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. }, }, - "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. + "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". @@ -6780,7 +6279,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -6795,146 +6294,45 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "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. }, - "pin": "A String", # The card's PIN. - "rotatingBarcode": { # The rotating barcode type and value. - "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. + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], }, - ], - }, - "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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated - }, - ], - "loyaltyClasses": [ - { - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, - "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, }, "cardTemplateOverride": { # Override for the card view. "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. @@ -7118,59 +6516,8 @@

Method Details

}, }, "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "discoverableProgram": { # Information about how a class may be discovered and instantiated from within the Android Pay app. This is done by searching for a loyalty or gift card program and scanning or manually entering. # Information about how the class may be discovered and instantiated from within the Google Pay app. - "merchantSigninInfo": { # Information about the merchant hosted signin flow for a program. # Information about the ability to signin and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled. - "signinWebsite": { # The URL to direct the user to for the merchant's signin site. - "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. - }, - }, - "merchantSignupInfo": { # Information about the merchant hosted signup flow for a program. # Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled. - "signupSharedDatas": [ # User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. - "A String", - ], - "signupWebsite": { # The URL to direct the user to for the merchant's signup site. - "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. - }, - }, - "state": "A String", # Visibility state of the discoverable program. - }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and one of object level `smartTapRedemptionLevel`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. "contentDescription": { # Description of the image used for accessibility. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. @@ -7317,7 +6664,7 @@

Method Details

"showLastUpdateTime": True or False, }, "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#loyaltyClass"`. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. "uris": [ # The list of URIs. { @@ -7343,7 +6690,7 @@

Method Details

}, ], }, - "localizedAccountIdLabel": { # Translated strings for the account_id_label. Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "localizedCardNumberLabel": { # Translated strings for the card_number_label. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7358,7 +6705,7 @@

Method Details

}, ], }, - "localizedAccountNameLabel": { # Translated strings for the account_name_label. Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "localizedEventNumberLabel": { # Translated strings for the event_number_label. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7388,52 +6735,7 @@

Method Details

}, ], }, - "localizedProgramName": { # Translated strings for the program_name. The app may display an ellipsis after the first 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. - }, - ], - }, - "localizedRewardsTier": { # Translated strings for the rewards_tier. Recommended maximum length is 7 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. - }, - ], - }, - "localizedRewardsTierLabel": { # Translated strings for the rewards_tier_label. Recommended maximum length is 9 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. - }, - ], - }, - "localizedSecondaryRewardsTier": { # Translated strings for the secondary_rewards_tier. + "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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". @@ -7448,7 +6750,7 @@

Method Details

}, ], }, - "localizedSecondaryRewardsTierLabel": { # Translated strings for the secondary_rewards_tier_label. + "localizedPinLabel": { # Translated strings for the pin_label. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7470,6 +6772,7 @@

Method Details

"longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, ], + "merchantName": "A String", # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. "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. @@ -7519,7 +6822,8 @@

Method Details

}, ], "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. + "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. "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"`. @@ -7556,18 +6860,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. "A String", ], "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. "comments": "A String", }, "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. - "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. - "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." - "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. "animationType": "A String", # Type of animation. }, @@ -7609,8 +6908,8 @@

Method Details

}, ], "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo in the top left of the card view. + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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"`. @@ -7686,13 +6985,11 @@

Method Details

}, }, ], - "loyaltyObjects": [ + "giftCardObjects": [ { - "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. - "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -7729,7 +7026,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -7753,7 +7050,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -7768,7 +7065,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -7785,7 +7082,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -7822,7 +7119,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -7846,7 +7143,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -7861,7 +7158,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -7877,8 +7174,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -7915,7 +7212,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -7939,7 +7236,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -7954,7 +7251,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -7971,6 +7268,14 @@

Method Details

}, }, }, + "balance": { # The card's monetary balance. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "balanceUpdateTime": { # The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time. + "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. + }, "barcode": { # The barcode type and value. "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"`. @@ -7993,20 +7298,302 @@

Method Details

"type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, + "cardNumber": "A String", # Required. The card's number. "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowBarcodeRedemption": True or False, # Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. - "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. - "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. - "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. - }, - "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. - "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. - "firstBottomDetail": { # Optional information to display below the barcode. - "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "cardNumberLabel": "A String", # The label to display for the card number, such as "Card Number". + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. { # Reference definition to use with field overrides. "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". @@ -8214,63 +7801,3200 @@

Method Details

}, ], }, - }, - }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "discoverableProgram": { # Information about how a class may be discovered and instantiated from within the Android Pay app. This is done by searching for a loyalty or gift card program and scanning or manually entering. # Information about how the class may be discovered and instantiated from within the Google Pay app. - "merchantSigninInfo": { # Information about the merchant hosted signin flow for a program. # Information about the ability to signin and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled. - "signinWebsite": { # The URL to direct the user to for the merchant's signin site. - "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. + }, + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "eventNumberLabel": "A String", # The label to display for event number, such as "Target Event #". + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedCardNumberLabel": { # Translated strings for the card_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedEventNumberLabel": { # Translated strings for the event_number_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "localizedMerchantName": { # Translated strings for the merchant_name. The app may display an ellipsis after the first 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. + }, + ], + }, + "localizedPinLabel": { # Translated strings for the pin_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "merchantName": "A String", # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "pinLabel": "A String", # The label to display for the PIN, such as "4-digit PIN". + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the gift card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the gift card program or company. When provided, this will be used in place of the program 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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. + }, + }, + }, + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. + "eventNumber": "A String", # The card's event number, an optional field used by some gift cards. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + "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. + }, + }, + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#giftCardObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "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. + }, + "pin": "A String", # The card's PIN. + "rotatingBarcode": { # The rotating barcode type and value. + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], + "loyaltyClasses": [ + { + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "discoverableProgram": { # Information about how a class may be discovered and instantiated from within the Android Pay app. This is done by searching for a loyalty or gift card program and scanning or manually entering. # Information about how the class may be discovered and instantiated from within the Google Pay app. + "merchantSigninInfo": { # Information about the merchant hosted signin flow for a program. # Information about the ability to signin and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled. + "signinWebsite": { # The URL to direct the user to for the merchant's signin site. + "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. + }, + }, + "merchantSignupInfo": { # Information about the merchant hosted signup flow for a program. # Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled. + "signupSharedDatas": [ # User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. + "A String", + ], + "signupWebsite": { # The URL to direct the user to for the merchant's signup site. + "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. + }, + }, + "state": "A String", # Visibility state of the discoverable program. + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and one of object level `smartTapRedemptionLevel`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#loyaltyClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedAccountIdLabel": { # Translated strings for the account_id_label. Recommended maximum length is 15 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. + }, + ], + }, + "localizedAccountNameLabel": { # Translated strings for the account_name_label. Recommended maximum length is 15 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. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "localizedProgramName": { # Translated strings for the program_name. The app may display an ellipsis after the first 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. + }, + ], + }, + "localizedRewardsTier": { # Translated strings for the rewards_tier. Recommended maximum length is 7 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. + }, + ], + }, + "localizedRewardsTierLabel": { # Translated strings for the rewards_tier_label. Recommended maximum length is 9 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. + }, + ], + }, + "localizedSecondaryRewardsTier": { # Translated strings for the secondary_rewards_tier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedSecondaryRewardsTierLabel": { # Translated strings for the secondary_rewards_tier_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. + "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. + "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." + "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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. + }, + }, + }, + ], + "loyaltyObjects": [ + { + "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. + "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "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. + }, + ], + }, + }, + "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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, + "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. + "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. + "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. + }, + "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. + "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. + "firstBottomDetail": { # Optional information to display below the barcode. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. + "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "cardTemplateOverride": { # Override for the card view. + "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. + { + "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. + "item": { # The item to be displayed in the row. This item will be automatically centered. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. + "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + }, + ], + }, + "detailsTemplateOverride": { # Override for the details view (beneath the card view). + "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. + { + "item": { # The item to be displayed in the details list. + "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. + "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + ], + }, + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "discoverableProgram": { # Information about how a class may be discovered and instantiated from within the Android Pay app. This is done by searching for a loyalty or gift card program and scanning or manually entering. # Information about how the class may be discovered and instantiated from within the Google Pay app. + "merchantSigninInfo": { # Information about the merchant hosted signin flow for a program. # Information about the ability to signin and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled. + "signinWebsite": { # The URL to direct the user to for the merchant's signin site. + "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. + }, + }, + "merchantSignupInfo": { # Information about the merchant hosted signup flow for a program. # Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled. + "signupSharedDatas": [ # User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. + "A String", + ], + "signupWebsite": { # The URL to direct the user to for the merchant's signup site. + "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. + }, + }, + "state": "A String", # Visibility state of the discoverable program. + }, + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and one of object level `smartTapRedemptionLevel`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#loyaltyClass"`. + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "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. + }, + ], + }, + "localizedAccountIdLabel": { # Translated strings for the account_id_label. Recommended maximum length is 15 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. + }, + ], + }, + "localizedAccountNameLabel": { # Translated strings for the account_name_label. Recommended maximum length is 15 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. + }, + ], + }, + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + }, + ], + }, + "localizedProgramName": { # Translated strings for the program_name. The app may display an ellipsis after the first 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. + }, + ], + }, + "localizedRewardsTier": { # Translated strings for the rewards_tier. Recommended maximum length is 7 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. + }, + ], + }, + "localizedRewardsTierLabel": { # Translated strings for the rewards_tier_label. Recommended maximum length is 9 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. + }, + ], + }, + "localizedSecondaryRewardsTier": { # Translated strings for the secondary_rewards_tier. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedSecondaryRewardsTierLabel": { # Translated strings for the secondary_rewards_tier_label. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. + "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. + "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." + "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, }, - "merchantSignupInfo": { # Information about the merchant hosted signup flow for a program. # Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled. - "signupSharedDatas": [ # User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. - "A String", + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program 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. + }, ], - "signupWebsite": { # The URL to direct the user to for the merchant's signup site. - "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#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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "state": "A String", # Visibility state of the discoverable program. }, - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and one of object level `smartTapRedemptionLevel`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. "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"`. @@ -8307,12 +11031,34 @@

Method Details

"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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + }, + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + "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". @@ -8327,14 +11073,33 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + }, + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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". @@ -8349,145 +11114,103 @@

Method Details

}, ], }, - "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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. - }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#loyaltyClass"`. - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. }, - "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. - }, - ], - }, - "localizedAccountIdLabel": { # Translated strings for the account_id_label. Recommended maximum length is 15 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. + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#loyaltyObject"`. + "linkedOfferIds": [ # A list of offer objects linked to this loyalty card. The offer objects must already exist. Offer object IDs should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. + "A String", + ], + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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. + }, + ], }, - ], - }, - "localizedAccountNameLabel": { # Translated strings for the account_name_label. Recommended maximum length is 15 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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + ], + "loyaltyPoints": { # The loyalty reward points label, balance, and type. + "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. + "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. }, - "localizedProgramName": { # Translated strings for the program_name. The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. + "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. + "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -8502,37 +11225,72 @@

Method Details

}, ], }, - "localizedRewardsTier": { # Translated strings for the rewards_tier. Recommended maximum length is 7 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. + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "localizedRewardsTierLabel": { # Translated strings for the rewards_tier_label. Recommended maximum length is 9 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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. + }, + ], + "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 type and value. + "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", ], }, - "localizedSecondaryRewardsTier": { # Translated strings for the secondary_rewards_tier. + "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". @@ -8547,79 +11305,70 @@

Method Details

}, ], }, - "localizedSecondaryRewardsTierLabel": { # Translated strings for the secondary_rewards_tier_label. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + "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. + }, + "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. + "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. + "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. }, - ], - "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. - }, - ], + "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + }, + "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. + "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + ], + }, + }, + "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. + "state": "A String", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -8634,10 +11383,27 @@

Method Details

}, ], }, - "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. + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], + "offerClasses": [ + { + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -8652,65 +11418,52 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. - "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. - "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." - "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#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. }, - ], - }, - "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -8725,29 +11478,7 @@

Method Details

}, ], }, - "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. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -8762,10 +11493,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -8780,37 +11511,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, }, - }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -8825,14 +11586,9 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -8869,243 +11625,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#loyaltyObject"`. - "linkedOfferIds": [ # A list of offer objects linked to this loyalty card. The offer objects must already exist. Offer object IDs should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. - "A String", - ], - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - { + "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. }, - ], - }, - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "loyaltyPoints": { # The loyalty reward points label, balance, and type. - "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. - "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - }, - "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. - "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - "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. - }, - ], - "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 type and value. - "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. - }, - "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. - "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. - "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - }, - "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. - "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. - "state": "A String", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -9120,7 +11664,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -9136,22 +11680,7 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, }, - "version": "A String", # Deprecated - }, - ], - "offerClasses": [ - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -9881,9 +12410,9 @@

Method Details

], "offerObjects": [ { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9920,7 +12449,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9944,7 +12473,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9959,7 +12488,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9976,7 +12505,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -10013,7 +12542,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10037,7 +12566,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10052,7 +12581,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -10068,8 +12597,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -10106,7 +12635,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10130,7 +12659,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10145,7 +12674,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -10179,14 +12708,295 @@

Method Details

"language": "A String", # Represents the 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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -10779,9 +13589,278 @@

Method Details

"language": "A String", # Represents the 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. + ], + }, + "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. + }, + ], + }, + }, + ], + "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. + "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. + "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. + }, + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. + "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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. + }, + }, + }, + "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. + "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. + }, + "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. + "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. + "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. + }, + }, + "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#offerObject"`. + "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. + "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". @@ -10796,11 +13875,33 @@

Method Details

}, ], }, + "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. }, ], - "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. - "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. - "contentDescription": { # Description of the image used for accessibility. + }, + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "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". @@ -10815,31 +13916,76 @@

Method Details

}, ], }, - "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. + "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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, + "messageType": "A String", # The message type. }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. - "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image in the top left of the card view. - "contentDescription": { # Description of the image used for accessibility. + ], + "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 type and value. + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -10854,29 +14000,7 @@

Method Details

}, ], }, - "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. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -10891,10 +14015,31 @@

Method Details

}, ], }, - "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. + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], + "transitClasses": [ + { + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -10909,37 +14054,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, }, - }, - }, - "disableExpirationNotification": True or False, # Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers. - "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. - }, - "hasLinkedDevice": True or False, # Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information. - "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -10954,14 +14129,9 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. The unique identifier should only include alphanumeric characters, '.', '_', or '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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"`. @@ -10998,100 +14168,31 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "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. }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#offerObject"`. - "linksModuleData": { # Links module data. If links module data is also defined on the class, both will be displayed. - "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. - }, - ], - }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "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. + "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. }, }, - "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. + "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". @@ -11106,7 +14207,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -11121,61 +14222,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "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 type and value. - "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. + "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. + }, + ], }, - ], - }, - "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. + "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. }, - ], - "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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -11190,7 +14300,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -11203,29 +14313,10 @@

Method Details

"language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + ], + }, }, }, - "version": "A String", # Deprecated - }, - ], - "transitClasses": [ - { - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. - }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -12195,9 +15286,9 @@

Method Details

"activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. "state": "A String", }, - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12234,7 +15325,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12258,7 +15349,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12273,7 +15364,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12290,7 +15381,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12327,7 +15418,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12351,7 +15442,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12366,7 +15457,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12382,8 +15473,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12420,7 +15511,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12444,7 +15535,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12459,7 +15550,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12505,6 +15596,287 @@

Method Details

"allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. }, "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.loyaltyclass.html b/docs/dyn/walletobjects_v1.loyaltyclass.html index e6938db90b..d0df598711 100644 --- a/docs/dyn/walletobjects_v1.loyaltyclass.html +++ b/docs/dyn/walletobjects_v1.loyaltyclass.html @@ -167,6 +167,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -979,6 +1260,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -1779,6 +2341,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -2578,6 +3421,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -3393,6 +4517,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4196,6 +5601,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4774,15 +6460,291 @@

Method Details

"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. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. + "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. + "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." + "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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: + + { + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, }, - "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. + "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". @@ -4797,7 +6759,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -4812,68 +6774,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. - "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. - { + "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. + }, }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. - "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. - "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." - "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -4888,7 +6852,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4904,29 +6868,69 @@

Method Details

], }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -4941,29 +6945,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -4978,23 +6960,8 @@

Method Details

}, ], }, - "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: - - { - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -5796,6 +7763,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -6374,15 +8622,291 @@

Method Details

"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. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. + "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. + }, + }, + "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. + "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. + "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." + "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. + "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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: + + { + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, }, - "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. + "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". @@ -6397,7 +8921,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -6412,68 +8936,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "programLogo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. - "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. - { + "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. + }, }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "programName": "A String", # Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "rewardsTier": "A String", # The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. - "rewardsTierLabel": "A String", # The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. - "secondaryRewardsTier": "A String", # The secondary rewards tier, such as "Gold" or "Platinum." - "secondaryRewardsTierLabel": "A String", # The secondary rewards tier label, such as "Rewards Tier." - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -6488,7 +9014,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -6504,29 +9030,69 @@

Method Details

], }, }, - ], - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the loyalty card. - "wideProgramLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the loyalty program or company. When provided, this will be used in place of the program 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -6541,29 +9107,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -6578,23 +9122,8 @@

Method Details

}, ], }, - "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: - - { - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.loyaltyobject.html b/docs/dyn/walletobjects_v1.loyaltyobject.html index 012c50059a..db0bfc07d3 100644 --- a/docs/dyn/walletobjects_v1.loyaltyobject.html +++ b/docs/dyn/walletobjects_v1.loyaltyobject.html @@ -169,9 +169,9 @@

Method Details

"resource": { # The updated LoyaltyObject resource. "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -208,7 +208,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -232,7 +232,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -247,7 +247,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -264,7 +264,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -301,7 +301,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -325,7 +325,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -340,7 +340,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -356,8 +356,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -394,7 +394,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -418,7 +418,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -433,7 +433,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -477,6 +477,287 @@

Method Details

"accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -1652,9 +1933,9 @@

Method Details

{ "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1691,7 +1972,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1715,7 +1996,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1730,7 +2011,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1747,7 +2028,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1784,7 +2065,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1808,7 +2089,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1823,7 +2104,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1839,8 +2120,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1877,7 +2158,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1901,7 +2182,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1916,7 +2197,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1950,16 +2231,297 @@

Method Details

"language": "A String", # Represents the 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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -2970,7 +3532,238 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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. + }, + ], + "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 type and value. + "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. + }, + "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. + "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. + "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + }, + "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. + "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. + "state": "A String", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ insert(body=None, x__xgafv=None) +
Inserts an loyalty object with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters.
+  "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.
+  "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".
@@ -2985,89 +3778,70 @@ 

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "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 type and value. - "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. + "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. + }, + ], }, - ], - }, - "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. + "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. }, - ], - "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. - }, - "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. - "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. - "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - }, - "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. - "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - }, - "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. - "state": "A String", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -3082,7 +3856,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -3098,34 +3872,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an loyalty object with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters.
-  "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -3162,7 +3910,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3186,7 +3934,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3199,27 +3962,116 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -3234,10 +4086,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -3252,67 +4104,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -3327,10 +4179,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -3345,92 +4197,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4593,9 +5436,9 @@

Method Details

{ "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4632,7 +5475,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4656,7 +5499,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4671,7 +5514,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4688,7 +5531,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4725,7 +5568,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4749,7 +5592,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4764,7 +5607,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4780,8 +5623,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4818,7 +5661,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4842,7 +5685,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4857,7 +5700,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4891,16 +5734,297 @@

Method Details

"language": "A String", # Represents the 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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -6079,9 +7203,9 @@

Method Details

{ "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -6118,7 +7242,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6142,7 +7266,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -6157,7 +7281,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -6174,7 +7298,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -6211,7 +7335,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6235,7 +7359,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -6250,7 +7374,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -6266,8 +7390,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -6304,7 +7428,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6328,7 +7452,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -6343,7 +7467,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -6377,16 +7501,297 @@

Method Details

"language": "A String", # Represents the 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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -7414,64 +8819,261 @@

Method Details

}, "messageType": "A String", # The message type. }, - ], - "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", + ], + "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 type and value. + "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. + }, + "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. + "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. + "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + }, + "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. + "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. + "state": "A String", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], +}
+
+ +
+ modifylinkedofferobjects(resourceId, body=None, x__xgafv=None) +
Modifies linked offer objects for the loyalty object with the given ID.
+
+Args:
+  resourceId: string, The unique identifier for an object. This ID must be unique across all objects 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:
+
+{
+  "linkedOfferObjectIds": { # The linked offer object ids to add or remove from the object.
+    "addLinkedOfferObjectIds": [ # The linked offer object ids to add to the object.
+      "A String",
+    ],
+    "removeLinkedOfferObjectIds": [ # The linked offer object ids to remove from the object.
+      "A String",
+    ],
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters.
+  "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.
+  "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.
+          },
         ],
-        "screenshotEligibility": "A String", # The screenshot eligibility for the pass.
       },
-      "rotatingBarcode": { # The rotating barcode type and value.
-        "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",
-          ],
+      "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.
         },
-        "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#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
             "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
             "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
             "value": "A String", # The UTF-8 encoded translated string.
           },
-          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-          "translatedValues": [ # Contains the translations for the string.
-            {
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the 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.
+        ],
       },
-      "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points.
-        "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`.
-          "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated.
-          "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated.
-          "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated.
-            "currencyCode": "A String", # The currency code, such as "USD" or "EUR."
-            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`.
-            "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros.
-          },
-          "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated.
-        },
-        "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters.
-        "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters.
+    },
+    "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".
@@ -7486,15 +9088,10 @@ 

Method Details

}, ], }, - }, - "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. - "state": "A String", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "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". @@ -7509,7 +9106,16 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -7524,57 +9130,42 @@

Method Details

}, ], }, + "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. }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + }, + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + ], }, - "version": "A String", # Deprecated }, - ], -}
-
- -
- modifylinkedofferobjects(resourceId, body=None, x__xgafv=None) -
Modifies linked offer objects for the loyalty object with the given ID.
-
-Args:
-  resourceId: string, The unique identifier for an object. This ID must be unique across all objects 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:
-
-{
-  "linkedOfferObjectIds": { # The linked offer object ids to add or remove from the object.
-    "addLinkedOfferObjectIds": [ # The linked offer object ids to add to the object.
-      "A String",
-    ],
-    "removeLinkedOfferObjectIds": [ # The linked offer object ids to remove from the object.
-      "A String",
-    ],
-  },
-}
-
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters.
-  "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -7611,7 +9202,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -7635,7 +9226,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -7648,27 +9254,116 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -7683,10 +9378,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -7701,67 +9396,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -7776,10 +9471,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -7794,92 +9489,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -9044,9 +10730,9 @@

Method Details

{ "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9083,7 +10769,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9107,7 +10793,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9122,7 +10808,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9139,7 +10825,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9176,7 +10862,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9200,7 +10886,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9215,7 +10901,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9231,8 +10917,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9269,7 +10955,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9293,7 +10979,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9308,7 +10994,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9342,16 +11028,297 @@

Method Details

"language": "A String", # Represents the 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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -10362,7 +12329,237 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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. + }, + ], + "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 type and value. + "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. + }, + "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. + "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. + "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + }, + "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. + "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. + "state": "A String", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. + "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "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". @@ -10377,89 +12574,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "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 type and value. - "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. + "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. + }, + ], }, - ], - }, - "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. + "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. }, - ], - "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. - }, - "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. - "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. - "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - }, - "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. - "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - }, - "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. - "state": "A String", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -10474,7 +12652,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -10490,33 +12668,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. - "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -10553,7 +12706,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10577,7 +12730,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10590,27 +12758,116 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -10625,10 +12882,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -10643,67 +12900,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -10718,10 +12975,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -10736,92 +12993,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -11986,9 +14234,9 @@

Method Details

{ "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12025,7 +14273,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12049,7 +14297,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12064,7 +14312,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12081,7 +14329,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12118,7 +14366,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12142,7 +14390,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12157,7 +14405,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12173,8 +14421,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12211,7 +14459,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12235,7 +14483,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12250,7 +14498,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12284,16 +14532,297 @@

Method Details

"language": "A String", # Represents the 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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, }, - "type": "A String", # The type of barcode. - "value": "A String", # The value encoded in the barcode. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -13304,7 +15833,237 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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. + }, + ], + "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 type and value. + "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. + }, + "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. + "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. + "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + "currencyCode": "A String", # The currency code, such as "USD" or "EUR." + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. + "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. + }, + "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. + }, + "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. + "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. + "state": "A String", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. + "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "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". @@ -13319,89 +16078,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "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 type and value. - "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. + "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. + }, + ], }, - ], - }, - "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. + "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. }, - ], - "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. - }, - "secondaryLoyaltyPoints": { # The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. - "balance": { # The account holder's loyalty point balance, such as "500" or "$10.00". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`. - "double": 3.14, # The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "int": 42, # The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "money": { # The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - "currencyCode": "A String", # The currency code, such as "USD" or "EUR." - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#money"`. - "micros": "A String", # The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. - }, - "string": "A String", # The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated. - }, - "label": "A String", # The loyalty points label, such as "Points". Recommended maximum length is 9 characters. - "localizedLabel": { # Translated strings for the label. Recommended maximum length is 9 characters. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - }, - "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. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. - "state": "A String", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -13416,7 +16156,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -13432,33 +16172,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "accountId": "A String", # The loyalty account identifier. Recommended maximum length is 20 characters. - "accountName": "A String", # The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -13495,7 +16210,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -13519,7 +16234,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -13532,27 +16262,116 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -13567,10 +16386,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -13585,67 +16404,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -13660,10 +16479,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -13678,92 +16497,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "accountIdLabel": "A String", # The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "accountNameLabel": "A String", # The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.offerclass.html b/docs/dyn/walletobjects_v1.offerclass.html index 5afb13201c..a373cfd544 100644 --- a/docs/dyn/walletobjects_v1.offerclass.html +++ b/docs/dyn/walletobjects_v1.offerclass.html @@ -165,6 +165,287 @@

Method Details

{ "resource": { # The updated OfferClass resource. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -915,6 +1196,287 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -1434,15 +1996,289 @@

Method Details

"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. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "provider": "A String", # Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens. + "redemptionChannel": "A String", # Required. The redemption channels applicable to this offer. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "shortTitle": "A String", # A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. + "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. + "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. + }, + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. + "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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 an offer class with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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.
         },
       },
-      "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.
+      "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".
@@ -1457,7 +2293,7 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -1472,44 +2308,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "provider": "A String", # Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens. - "redemptionChannel": "A String", # Required. The redemption channels applicable to this offer. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "shortTitle": "A String", # A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -1524,29 +2386,7 @@

Method Details

}, ], }, - }, - ], - "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. - "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. - "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. + "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". @@ -1561,68 +2401,85 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. - "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image 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. - { + "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. + }, }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -1637,22 +2494,8 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, }, -}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an offer class with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -2172,15 +3015,288 @@ 

Method Details

"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. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "provider": "A String", # Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens. + "redemptionChannel": "A String", # Required. The redemption channels applicable to this offer. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "shortTitle": "A String", # A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. + "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. + "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. + }, + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. + "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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: + + { + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, }, - "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. + "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". @@ -2195,7 +3311,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -2210,44 +3326,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "provider": "A String", # Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens. - "redemptionChannel": "A String", # Required. The redemption channels applicable to this offer. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "shortTitle": "A String", # A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -2262,29 +3404,7 @@

Method Details

}, ], }, - }, - ], - "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. - "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. - "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. + "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". @@ -2299,31 +3419,70 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. - "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -2337,30 +3496,8 @@

Method Details

"value": "A String", # The UTF-8 encoded translated string. }, ], - }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + }, + "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". @@ -2375,21 +3512,8 @@

Method Details

}, ], }, - "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: - - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -3143,6 +4267,287 @@

Method Details

"resources": [ # Resources corresponding to the list request. { "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -3884,6 +5289,287 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4621,6 +6307,287 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -5360,6 +7327,287 @@

Method Details

{ "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -5879,15 +8127,288 @@

Method Details

"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. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "provider": "A String", # Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens. + "redemptionChannel": "A String", # Required. The redemption channels applicable to this offer. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "shortTitle": "A String", # A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. + "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. + "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. + }, + }, + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. + "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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: + + { + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. }, }, - "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. + "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". @@ -5902,7 +8423,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -5917,44 +8438,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "provider": "A String", # Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens. - "redemptionChannel": "A String", # Required. The redemption channels applicable to this offer. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "shortTitle": "A String", # A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -5969,29 +8516,7 @@

Method Details

}, ], }, - }, - ], - "title": "A String", # Required. The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens. - "titleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The title image of the offer. This image is displayed in both the details and list views of the app. - "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. + "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". @@ -6006,31 +8531,70 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the offer. - "wideTitleImage": { # Wrapping type for Google hosted images. Next ID: 7 # The wide title image of the offer. When provided, this will be used in place of the title image 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -6045,29 +8609,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -6082,21 +8624,8 @@

Method Details

}, ], }, - "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: - - { - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.offerobject.html b/docs/dyn/walletobjects_v1.offerobject.html index 0d875935d6..0805850c74 100644 --- a/docs/dyn/walletobjects_v1.offerobject.html +++ b/docs/dyn/walletobjects_v1.offerobject.html @@ -164,9 +164,9 @@

Method Details

{ "resource": { # The updated OfferObject resource. - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -203,7 +203,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -227,7 +227,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -242,7 +242,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -259,7 +259,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -296,7 +296,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -320,7 +320,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -335,7 +335,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -351,8 +351,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -389,7 +389,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -413,7 +413,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -428,7 +428,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -470,6 +470,287 @@

Method Details

"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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -1464,69 +1745,162 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, +}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the offer 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 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)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
         },
-        "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#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
             "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
             "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
             "value": "A String", # The UTF-8 encoded translated string.
           },
-          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-          "translatedValues": [ # Contains the translations for the string.
-            {
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
-      "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.
+        ],
       },
     },
-    "version": "A String", # Deprecated
-  },
-}
-
- -
- close() -
Close httplib2 connections.
-
- -
- get(resourceId, x__xgafv=None) -
Returns the offer 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 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)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -1563,7 +1937,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1587,7 +1961,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1602,7 +1976,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -1618,8 +1992,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -1656,7 +2030,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -1680,7 +2054,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -1695,25 +2069,220 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -1728,10 +2297,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -1746,90 +2315,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -2796,29 +3358,146 @@

Method Details

"language": "A String", # Represents the 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. + ], + }, + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ insert(body=None, x__xgafv=None) +
Inserts an offer object with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "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.
         },
-      ],
-      "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.
-  },
-  "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", # Required. 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.
-  "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
-    { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined.
-      "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
-      "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens.
-      "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules.
-      "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
+      },
+      "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".
@@ -2833,7 +3512,7 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -2849,32 +3528,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an offer object with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -2911,7 +3566,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2935,7 +3590,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2950,7 +3605,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2966,8 +3621,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -3004,7 +3659,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -3028,7 +3683,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -3041,27 +3711,207 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -3076,10 +3926,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -3094,90 +3944,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4153,20 +4996,136 @@

Method Details

"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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + ], + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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". @@ -4181,7 +5140,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4197,31 +5156,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4258,7 +5194,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4282,7 +5218,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4297,7 +5233,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4313,8 +5249,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4351,7 +5287,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4375,7 +5311,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4390,7 +5326,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4406,9 +5342,96 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -4423,10 +5446,118 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -4441,90 +5572,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -5526,65 +6650,158 @@

Method Details

"language": "A String", # Represents the 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. + ], + }, + "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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ list(classId=None, maxResults=None, token=None, x__xgafv=None) +
Returns a list of all offer 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:
+
+    {
+  "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.
+    {
+      "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.
+              },
+            ],
+          },
         },
-        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-        "translatedValues": [ # Contains the translations for the string.
-          {
-            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-            "language": "A String", # Represents the 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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
-    "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.
-    },
-  },
-  "version": "A String", # Deprecated
-}
-
- -
- list(classId=None, maxResults=None, token=None, x__xgafv=None) -
Returns a list of all offer 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:
-
-    {
-  "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.
-    {
-      "appLinkData": { # Optional information about the partner app link.
-        "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-          "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+        "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"`.
@@ -5621,7 +6838,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -5645,7 +6862,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -5660,7 +6877,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -5676,8 +6893,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -5711,67 +6928,262 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. - { + "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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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 app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -5786,10 +7198,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -5804,90 +7216,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -6891,7 +8296,94 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], +}
+
+ +
+ patch(resourceId, body=None, x__xgafv=None) +
Updates the offer 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 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:
+
+{
+  "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".
@@ -6906,36 +8398,42 @@ 

Method Details

}, ], }, + "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. }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + }, + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + }, + ], }, - "version": "A String", # Deprecated }, - ], -}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the offer 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 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:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -6972,7 +8470,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6996,7 +8494,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -7011,7 +8509,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -7027,8 +8525,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -7065,7 +8563,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -7089,7 +8587,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -7102,27 +8615,207 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -7137,10 +8830,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -7155,90 +8848,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -8205,29 +9891,145 @@

Method Details

"language": "A String", # Represents the 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. + ], + }, + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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. }, - ], - "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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -8242,7 +10044,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -8258,31 +10060,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -8319,7 +10098,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -8343,7 +10122,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -8358,7 +10137,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -8374,8 +10153,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -8412,7 +10191,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -8436,7 +10215,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -8449,27 +10243,207 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -8484,10 +10458,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -8502,90 +10476,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -9589,7 +11556,125 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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 `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the offer 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 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:
+
+{
+  "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".
@@ -9605,33 +11690,8 @@ 

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the offer 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 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:
-
-{
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -9668,7 +11728,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9692,7 +11752,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9707,7 +11767,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9723,8 +11783,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -9761,7 +11821,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -9785,7 +11845,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -9800,7 +11860,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -9816,9 +11876,96 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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". @@ -9833,10 +11980,25 @@

Method Details

}, ], }, - "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. + "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. + }, + ], + }, + }, + "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". @@ -9851,16 +12013,85 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, + ], }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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. + "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". @@ -9873,68 +12104,85 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -10831,15 +13079,215 @@

Method Details

"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. + "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. + }, + ], + "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 type and value. + "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. + }, + "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", # Required. 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. + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "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. }, }, - "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. + "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". @@ -10854,7 +13302,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -10869,61 +13317,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. - }, - ], - "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 type and value. - "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. + "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. + }, + ], }, - ], - }, - "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. + "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. }, - ], - "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. - }, - "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", # Required. 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. - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + "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". @@ -10938,7 +13395,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -10954,31 +13411,8 @@

Method Details

], }, }, - ], - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -11015,7 +13449,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -11039,7 +13473,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -11052,27 +13501,114 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -11087,10 +13623,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -11105,67 +13641,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -11180,10 +13716,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -11198,90 +13734,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.transitclass.html b/docs/dyn/walletobjects_v1.transitclass.html index 2229931f3b..4e4f2ffa23 100644 --- a/docs/dyn/walletobjects_v1.transitclass.html +++ b/docs/dyn/walletobjects_v1.transitclass.html @@ -169,6 +169,287 @@

Method Details

"allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. }, "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -862,14 +1143,165 @@

Method Details

}, ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. + }, + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "transitOperatorName": { # The name of the transit operator. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "transitType": "A String", # Required. The type of transit this class represents, such as "bus". + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. + "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. "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"`. @@ -906,22 +1338,26 @@

Method Details

"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. - }, + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. }, - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "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". @@ -936,7 +1372,29 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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". @@ -951,26 +1409,42 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, +}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the transit class with the given class ID.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
+    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
+    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
+  },
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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".
@@ -985,7 +1459,85 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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. + }, + ], + }, + }, + "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". @@ -1000,28 +1552,67 @@

Method Details

}, ], }, + "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. + }, }, - ], - "transitOperatorName": { # The name of the transit operator. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "transitType": "A String", # Required. The type of transit this class represents, such as "bus". - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. - "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -1036,10 +1627,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -1054,11 +1645,52 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. + }, }, - }, - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "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". @@ -1073,29 +1705,7 @@

Method Details

}, ], }, - "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. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "contentDescription": { # Description of the image used for accessibility. + "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". @@ -1110,56 +1720,8 @@

Method Details

}, ], }, - "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 transit class with the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
-    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
-    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
-  },
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -1348,38 +1910,203 @@ 

Method Details

}, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customCarriageLabel": { # A custom label to use for the carriage value (`transitObject.ticketLeg.carriage`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customCoachLabel": { # A custom label to use for the coach value (`transitObject.ticketLeg.ticketSeat.coach`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customConcessionCategoryLabel": { # A custom label to use for the transit concession category value (`transitObject.concessionCategory`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`transitObject.purchaseDetails.confirmationCode`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customDiscountMessageLabel": { # A custom label to use for the transit discount message value (`transitObject.purchaseDetails.ticketCost.discountMessage`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customFareClassLabel": { # A custom label to use for the fare class value (`transitObject.ticketLeg.ticketSeat.fareClass`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customFareNameLabel": { # A custom label to use for the transit fare name value (`transitObject.ticketLeg.fareName`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customOtherRestrictionsLabel": { # A custom label to use for the other restrictions value (`transitObject.ticketRestrictions.otherRestrictions`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + ], + }, + "customPlatformLabel": { # A custom label to use for the boarding platform value (`transitObject.ticketLeg.platform`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + ], + }, + "customPurchaseFaceValueLabel": { # A custom label to use for the purchase face value (`transitObject.purchaseDetails.ticketCost.faceValue`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + ], + }, + "customPurchasePriceLabel": { # A custom label to use for the purchase price value (`transitObject.purchaseDetails.ticketCost.purchasePrice`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customCarriageLabel": { # A custom label to use for the carriage value (`transitObject.ticketLeg.carriage`). + "customPurchaseReceiptNumberLabel": { # A custom label to use for the purchase receipt number value (`transitObject.purchaseDetails.purchaseReceiptNumber`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1394,7 +2121,7 @@

Method Details

}, ], }, - "customCoachLabel": { # A custom label to use for the coach value (`transitObject.ticketLeg.ticketSeat.coach`). + "customRouteRestrictionsDetailsLabel": { # A custom label to use for the route restrictions details value (`transitObject.ticketRestrictions.routeRestrictionsDetails`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1409,7 +2136,7 @@

Method Details

}, ], }, - "customConcessionCategoryLabel": { # A custom label to use for the transit concession category value (`transitObject.concessionCategory`). + "customRouteRestrictionsLabel": { # A custom label to use for the route restrictions value (`transitObject.ticketRestrictions.routeRestrictions`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1424,7 +2151,7 @@

Method Details

}, ], }, - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`transitObject.purchaseDetails.confirmationCode`). + "customSeatLabel": { # A custom label to use for the seat location value (`transitObject.ticketLeg.ticketSeat.seat`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1439,7 +2166,7 @@

Method Details

}, ], }, - "customDiscountMessageLabel": { # A custom label to use for the transit discount message value (`transitObject.purchaseDetails.ticketCost.discountMessage`). + "customTicketNumberLabel": { # A custom label to use for the ticket number value (`transitObject.ticketNumber`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1454,7 +2181,7 @@

Method Details

}, ], }, - "customFareClassLabel": { # A custom label to use for the fare class value (`transitObject.ticketLeg.ticketSeat.fareClass`). + "customTimeRestrictionsLabel": { # A custom label to use for the time restrictions details value (`transitObject.ticketRestrictions.timeRestrictions`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1469,7 +2196,22 @@

Method Details

}, ], }, - "customFareNameLabel": { # A custom label to use for the transit fare name value (`transitObject.ticketLeg.fareName`). + "customTransitTerminusNameLabel": { # A custom label to use for the transit terminus name value (`transitObject.ticketLeg.transitTerminusName`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customZoneLabel": { # A custom label to use for the boarding zone value (`transitObject.ticketLeg.zone`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1484,22 +2226,181 @@

Method Details

}, ], }, - "customOtherRestrictionsLabel": { # A custom label to use for the other restrictions value (`transitObject.ticketRestrictions.otherRestrictions`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. + "enableSingleLegItinerary": True or False, # Controls the display of the single-leg itinerary for this class. By default, an itinerary will only display for multi-leg trips. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "languageOverride": "A String", # If this field is present, transit tickets served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "uris": [ # The list of URIs. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, ], }, - "customPlatformLabel": { # A custom label to use for the boarding platform value (`transitObject.ticketLeg.platform`). + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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". @@ -1514,142 +2415,147 @@

Method Details

}, ], }, - "customPurchaseFaceValueLabel": { # A custom label to use for the purchase face value (`transitObject.purchaseDetails.ticketCost.faceValue`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. }, - ], - }, - "customPurchasePriceLabel": { # A custom label to use for the purchase price value (`transitObject.purchaseDetails.ticketCost.purchasePrice`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + }, + ], }, - ], - }, - "customPurchaseReceiptNumberLabel": { # A custom label to use for the purchase receipt number value (`transitObject.purchaseDetails.purchaseReceiptNumber`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "customRouteRestrictionsDetailsLabel": { # A custom label to use for the route restrictions details value (`transitObject.ticketRestrictions.routeRestrictionsDetails`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - ], - }, - "customRouteRestrictionsLabel": { # A custom label to use for the route restrictions value (`transitObject.ticketRestrictions.routeRestrictions`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": "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. + }, + ], }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat location value (`transitObject.ticketLeg.ticketSeat.seat`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + ], }, - ], - }, - "customTicketNumberLabel": { # A custom label to use for the ticket number value (`transitObject.ticketNumber`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", }, - "customTimeRestrictionsLabel": { # A custom label to use for the time restrictions details value (`transitObject.ticketRestrictions.timeRestrictions`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - ], - }, - "customTransitTerminusNameLabel": { # A custom label to use for the transit terminus name value (`transitObject.ticketLeg.transitTerminusName`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customZoneLabel": { # A custom label to use for the boarding zone value (`transitObject.ticketLeg.zone`). + ], + "transitOperatorName": { # The name of the transit operator. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -1664,9 +2570,10 @@

Method Details

}, ], }, - "enableSingleLegItinerary": True or False, # Controls the display of the single-leg itinerary for this class. By default, an itinerary will only display for multi-leg trips. - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. + "transitType": "A String", # Required. The type of transit this class represents, such as "bus". + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. + "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. "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"`. @@ -1703,12 +2610,8 @@

Method Details

"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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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". @@ -1723,144 +2626,28 @@

Method Details

}, ], }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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. }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "languageOverride": "A String", # If this field is present, transit tickets served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. "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"`. @@ -1897,22 +2684,87 @@

Method Details

"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. +}
+
+ +
+ insert(body=None, x__xgafv=None) +
Inserts a transit class with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
+    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
+    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
+  },
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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#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.
+        "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.
         },
       },
-      "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.
+      "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".
@@ -1927,7 +2779,7 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -1942,41 +2794,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -1991,46 +2872,7 @@

Method Details

}, ], }, - }, - ], - "transitOperatorName": { # The name of the transit operator. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "transitType": "A String", # Required. The type of transit this class represents, such as "bus". - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. - "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. - "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. + "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". @@ -2045,29 +2887,70 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -2082,29 +2965,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -2118,27 +2979,9 @@

Method Details

"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 transit class with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
-    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
-    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
+      },
+    },
   },
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -3116,7 +3959,288 @@ 

Method Details

"activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4074,43 +5198,324 @@

Method Details

"language": "A String", # Represents the 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(issuerId=None, maxResults=None, token=None, x__xgafv=None) -
Returns a list of all transit classes for a given issuer ID.
-
-Args:
-  issuerId: string, The ID of the issuer authorized to list classes.
-  maxResults: integer, Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.
-  token: string, Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "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.
-    {
-      "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
-        "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
-        "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
+        ],
+      },
+      "uri": "A String", # The location of the image. URIs must have a scheme.
+    },
+  },
+}
+
+ +
+ list(issuerId=None, maxResults=None, token=None, x__xgafv=None) +
Returns a list of all transit classes for a given issuer ID.
+
+Args:
+  issuerId: string, The ID of the issuer authorized to list classes.
+  maxResults: integer, Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.
+  token: string, Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "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.
+    {
+      "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
+        "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
+        "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
+      },
+      "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+      "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 object that will be used instead.
+        "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.
+              },
+            ],
+          },
+        },
+        "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.
+              },
+            ],
+          },
+        },
       },
-      "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
       "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
         "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
         "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -4810,8 +6215,196 @@ 

Method Details

"latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. + }, + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", + }, + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "transitOperatorName": { # The name of the transit operator. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "transitType": "A String", # Required. The type of transit this class represents, such as "bus". + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. + "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. + "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. + }, + }, + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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"`. @@ -4848,37 +6441,26 @@

Method Details

"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. - }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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. }, - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], + }, + "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". @@ -4893,26 +6475,51 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + }, + ], +}
+
+ +
+ patch(resourceId, body=None, x__xgafv=None) +
Updates the transit class referenced by the given class ID. This method supports patch semantics.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
+
+{
+  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
+    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
+    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
+  },
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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".
@@ -4927,7 +6534,16 @@ 

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -4942,9 +6558,10 @@

Method Details

}, ], }, + "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. }, - ], - "transitOperatorName": { # The name of the transit operator. + }, + "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". @@ -4959,10 +6576,24 @@

Method Details

}, ], }, - "transitType": "A String", # Required. The type of transit this class represents, such as "bus". - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. - "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. + "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. + }, + ], + }, + }, + "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"`. @@ -4999,26 +6630,13 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "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". @@ -5033,10 +6651,42 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. + "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. }, }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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"`. @@ -5073,26 +6723,62 @@

Method Details

"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. + }, + ], + }, }, - ], -}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the transit class referenced by the given class ID. This method supports patch semantics.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
-
-{
-  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
-    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
-    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
   },
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -6070,7 +7756,288 @@ 

Method Details

"activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -6956,29 +8923,273 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "uri": "A String", # The location of the image. URIs must have a scheme. + }, + }, + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + }, + }, + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. + "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 transit class referenced by the given class ID.
+
+Args:
+  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
+
+{
+  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
+    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
+    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
+  },
+  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
+  "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 object that will be used instead.
+    "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.
+          },
+        ],
+      },
+    },
+    "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".
@@ -6993,29 +9204,85 @@ 

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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#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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -7030,27 +9297,8 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, }, -}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the transit class referenced by the given class ID.
-
-Args:
-  resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value 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:
-
-{
-  "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket.
-    "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
-    "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
-  },
-  "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.
   "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback.
     "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.
     "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.
@@ -7239,38 +9487,203 @@ 

Method Details

}, ], }, - "listTemplateOverride": { # Override for the passes list view. - "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. - "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], - }, - "transitOption": "A String", + "listTemplateOverride": { # Override for the passes list view. + "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice. + "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "transitOption": "A String", + }, + "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. + "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. + { # Reference definition to use with field overrides. + "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. + "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". + }, + ], + }, + }, + }, + "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. + "customCarriageLabel": { # A custom label to use for the carriage value (`transitObject.ticketLeg.carriage`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customCoachLabel": { # A custom label to use for the coach value (`transitObject.ticketLeg.ticketSeat.coach`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customConcessionCategoryLabel": { # A custom label to use for the transit concession category value (`transitObject.concessionCategory`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`transitObject.purchaseDetails.confirmationCode`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customDiscountMessageLabel": { # A custom label to use for the transit discount message value (`transitObject.purchaseDetails.ticketCost.discountMessage`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customFareClassLabel": { # A custom label to use for the fare class value (`transitObject.ticketLeg.ticketSeat.fareClass`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customFareNameLabel": { # A custom label to use for the transit fare name value (`transitObject.ticketLeg.fareName`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customOtherRestrictionsLabel": { # A custom label to use for the other restrictions value (`transitObject.ticketRestrictions.otherRestrictions`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + ], + }, + "customPlatformLabel": { # A custom label to use for the boarding platform value (`transitObject.ticketLeg.platform`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, - "thirdRowOption": { # Custom field selector to use with field overrides. # An unused/deprecated field. Setting it will have no effect on what the user sees. - "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. - { # Reference definition to use with field overrides. - "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. - "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". - }, - ], + ], + }, + "customPurchaseFaceValueLabel": { # A custom label to use for the purchase face value (`transitObject.purchaseDetails.ticketCost.faceValue`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + ], + }, + "customPurchasePriceLabel": { # A custom label to use for the purchase price value (`transitObject.purchaseDetails.ticketCost.purchasePrice`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "countryCode": "A String", # Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. - "customCarriageLabel": { # A custom label to use for the carriage value (`transitObject.ticketLeg.carriage`). + "customPurchaseReceiptNumberLabel": { # A custom label to use for the purchase receipt number value (`transitObject.purchaseDetails.purchaseReceiptNumber`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7285,7 +9698,7 @@

Method Details

}, ], }, - "customCoachLabel": { # A custom label to use for the coach value (`transitObject.ticketLeg.ticketSeat.coach`). + "customRouteRestrictionsDetailsLabel": { # A custom label to use for the route restrictions details value (`transitObject.ticketRestrictions.routeRestrictionsDetails`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7300,7 +9713,7 @@

Method Details

}, ], }, - "customConcessionCategoryLabel": { # A custom label to use for the transit concession category value (`transitObject.concessionCategory`). + "customRouteRestrictionsLabel": { # A custom label to use for the route restrictions value (`transitObject.ticketRestrictions.routeRestrictions`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7315,7 +9728,7 @@

Method Details

}, ], }, - "customConfirmationCodeLabel": { # A custom label to use for the confirmation code value (`transitObject.purchaseDetails.confirmationCode`). + "customSeatLabel": { # A custom label to use for the seat location value (`transitObject.ticketLeg.ticketSeat.seat`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7330,7 +9743,7 @@

Method Details

}, ], }, - "customDiscountMessageLabel": { # A custom label to use for the transit discount message value (`transitObject.purchaseDetails.ticketCost.discountMessage`). + "customTicketNumberLabel": { # A custom label to use for the ticket number value (`transitObject.ticketNumber`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7345,7 +9758,7 @@

Method Details

}, ], }, - "customFareClassLabel": { # A custom label to use for the fare class value (`transitObject.ticketLeg.ticketSeat.fareClass`). + "customTimeRestrictionsLabel": { # A custom label to use for the time restrictions details value (`transitObject.ticketRestrictions.timeRestrictions`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7360,7 +9773,22 @@

Method Details

}, ], }, - "customFareNameLabel": { # A custom label to use for the transit fare name value (`transitObject.ticketLeg.fareName`). + "customTransitTerminusNameLabel": { # A custom label to use for the transit terminus name value (`transitObject.ticketLeg.transitTerminusName`). + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "customZoneLabel": { # A custom label to use for the boarding zone value (`transitObject.ticketLeg.zone`). "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7375,22 +9803,181 @@

Method Details

}, ], }, - "customOtherRestrictionsLabel": { # A custom label to use for the other restrictions value (`transitObject.ticketRestrictions.otherRestrictions`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. + "enableSingleLegItinerary": True or False, # Controls the display of the single-leg itinerary for this class. By default, an itinerary will only display for multi-leg trips. + "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display 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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. + "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). + "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. + }, + "id": "A String", # Required. The unique identifier for a class. 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 '-'. + "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. + { + "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. + }, + }, + }, + ], + "infoModuleData": { # Deprecated. Use textModulesData instead. + "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. + { + "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. + { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. + "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. + }, + ], + }, + ], + "showLastUpdateTime": True or False, + }, + "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. + "languageOverride": "A String", # If this field is present, transit tickets served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. + "uris": [ # The list of URIs. { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, ], }, - "customPlatformLabel": { # A custom label to use for the boarding platform value (`transitObject.ticketLeg.platform`). + "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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". @@ -7405,142 +9992,147 @@

Method Details

}, ], }, - "customPurchaseFaceValueLabel": { # A custom label to use for the purchase face value (`transitObject.purchaseDetails.ticketCost.faceValue`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "locations": [ # Note: This field is currently not supported to trigger geo notifications. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. + "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. + "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + "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. }, - ], - }, - "customPurchasePriceLabel": { # A custom label to use for the purchase price value (`transitObject.purchaseDetails.ticketCost.purchasePrice`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "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. + }, + ], }, - ], - }, - "customPurchaseReceiptNumberLabel": { # A custom label to use for the purchase receipt number value (`transitObject.purchaseDetails.purchaseReceiptNumber`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "customRouteRestrictionsDetailsLabel": { # A custom label to use for the route restrictions details value (`transitObject.ticketRestrictions.routeRestrictionsDetails`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - ], - }, - "customRouteRestrictionsLabel": { # A custom label to use for the route restrictions value (`transitObject.ticketRestrictions.routeRestrictions`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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": "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. + }, + ], }, - ], - }, - "customSeatLabel": { # A custom label to use for the seat location value (`transitObject.ticketLeg.ticketSeat.seat`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + }, + ], }, - ], - }, - "customTicketNumberLabel": { # A custom label to use for the ticket number value (`transitObject.ticketNumber`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], + ], + "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. + "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. + "A String", + ], + "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. + "comments": "A String", }, - "customTimeRestrictionsLabel": { # A custom label to use for the time restrictions details value (`transitObject.ticketRestrictions.timeRestrictions`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. + "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. + "animationType": "A String", # Type of animation. + }, + "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. + { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. + "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. + "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - ], - }, - "customTransitTerminusNameLabel": { # A custom label to use for the transit terminus name value (`transitObject.ticketLeg.transitTerminusName`). - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "customZoneLabel": { # A custom label to use for the boarding zone value (`transitObject.ticketLeg.zone`). + ], + "transitOperatorName": { # The name of the transit operator. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -7555,9 +10147,10 @@

Method Details

}, ], }, - "enableSingleLegItinerary": True or False, # Controls the display of the single-leg itinerary for this class. By default, an itinerary will only display for multi-leg trips. - "enableSmartTap": True or False, # Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. + "transitType": "A String", # Required. The type of transit this class represents, such as "bus". + "version": "A String", # Deprecated + "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. + "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. "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"`. @@ -7594,12 +10187,8 @@

Method Details

"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. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. - "homepageUri": { # The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object). - "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. + "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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". @@ -7614,144 +10203,28 @@

Method Details

}, ], }, - "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. - }, - "id": "A String", # Required. The unique identifier for a class. 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 '-'. - "imageModulesData": [ # Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level. - { - "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. + "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. }, - }, - }, - ], - "infoModuleData": { # Deprecated. Use textModulesData instead. - "labelValueRows": [ # A list of collections of labels and values. These will be displayed one after the other in a singular column. - { - "columns": [ # A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. - { # A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items. - "label": "A String", # The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "localizedLabel": { # Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "localizedValue": { # Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "value": "A String", # The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. - }, - ], - }, - ], - "showLastUpdateTime": True or False, - }, - "issuerName": "A String", # Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. - "languageOverride": "A String", # If this field is present, transit tickets served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "linksModuleData": { # Links module data. If links module data is also defined on the object, both will be displayed. - "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + ], }, - ], - }, - "localizedIssuerName": { # Translated strings for the issuer_name. Recommended maximum length 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. + "uri": "A String", # The location of the image. URIs must have a scheme. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], }, - "locations": [ # Note: This field is currently not supported to trigger geo notifications. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#latLongPoint"`. - "latitude": 3.14, # The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. - "longitude": 3.14, # The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. - }, - ], - "logo": { # Wrapping type for Google hosted images. Next ID: 7 # Required. The logo image of the ticket. This image is displayed in the card detail view of the app. + "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. "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"`. @@ -7788,22 +10261,86 @@

Method Details

"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. +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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#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. + "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. }, }, - "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. + "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". @@ -7818,7 +10355,7 @@

Method Details

}, ], }, - "localizedHeader": { # Translated strings for the message header. + "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". @@ -7833,41 +10370,70 @@

Method Details

}, ], }, - "messageType": "A String", # The message type. }, - ], - "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. - "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. - "A String", - ], - "review": { # The review comments set by the platform when a class is marked `approved` or `rejected`. - "comments": "A String", - }, - "reviewStatus": "A String", # Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. - "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. - "animationType": "A String", # Type of animation. - }, - "textModulesData": [ # Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. - { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. - "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. - "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. - "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. + }, }, - "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. + "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". @@ -7882,46 +10448,7 @@

Method Details

}, ], }, - }, - ], - "transitOperatorName": { # The name of the transit operator. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "transitType": "A String", # Required. The type of transit this class represents, such as "bus". - "version": "A String", # Deprecated - "viewUnlockRequirement": "A String", # View Unlock Requirement options for the transit ticket. - "watermark": { # Wrapping type for Google hosted images. Next ID: 7 # Watermark image to display on the user's device. - "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. + "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". @@ -7936,29 +10463,70 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. }, - }, - "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the ticket. 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. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "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. + }, + "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". @@ -7973,29 +10541,7 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "wordMark": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. - "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. + "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". @@ -8010,25 +10556,8 @@

Method Details

}, ], }, - "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: - - { - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. - }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/docs/dyn/walletobjects_v1.transitobject.html b/docs/dyn/walletobjects_v1.transitobject.html index 4750adc1f0..74db20fccc 100644 --- a/docs/dyn/walletobjects_v1.transitobject.html +++ b/docs/dyn/walletobjects_v1.transitobject.html @@ -167,9 +167,9 @@

Method Details

"activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. "state": "A String", }, - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -206,7 +206,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -230,7 +230,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -245,7 +245,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -262,7 +262,7 @@

Method Details

}, }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -299,7 +299,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -323,7 +323,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -338,7 +338,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -354,8 +354,8 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -392,7 +392,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -416,7 +416,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -431,7 +431,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -477,6 +477,287 @@

Method Details

"allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. }, "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, + ], + }, + }, + }, "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -2132,24 +2413,158 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "routeRestrictions": { # Restrictions about routes that may be taken. For example, this may be the string "Reserved CrossCountry trains only". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + "routeRestrictions": { # Restrictions about routes that may be taken. For example, this may be the string "Reserved CrossCountry trains only". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "timeRestrictions": { # Restrictions about times this ticket may be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. + "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. + "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, +}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ get(resourceId, x__xgafv=None) +
Returns the transit 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 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)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
+    "state": "A String",
+  },
+  "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.
         },
-        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-        "translatedValues": [ # Contains the translations for the string.
-          {
-            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-            "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-            "value": "A String", # The UTF-8 encoded translated string.
-          },
-        ],
       },
-      "routeRestrictionsDetails": { # More details about the above `routeRestrictions`.
+      "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".
@@ -2164,7 +2579,7 @@ 

Method Details

}, ], }, - "timeRestrictions": { # Restrictions about times this ticket may be used. + "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". @@ -2180,49 +2595,8 @@

Method Details

], }, }, - "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. - "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. - "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated - }, -}
-
- -
- close() -
Close httplib2 connections.
-
- -
- get(resourceId, x__xgafv=None) -
Returns the transit 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 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)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    {
-  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
-    "state": "A String",
-  },
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -2259,7 +2633,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2283,7 +2657,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2298,7 +2672,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2314,8 +2688,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -2352,7 +2726,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -2376,7 +2750,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -2391,7 +2765,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -2407,9 +2781,208 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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". @@ -2424,10 +2997,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -2442,94 +3015,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -4200,70 +4762,163 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "timeRestrictions": { # Restrictions about times this ticket may be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. + "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. + "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ insert(body=None, x__xgafv=None) +
Inserts an transit object with the given ID and properties.
+
+Args:
+  body: object, The request body.
+    The object takes the form of:
+
+{
+  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
+    "state": "A String",
+  },
+  "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.
+        },
       },
-      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-      "translatedValues": [ # Contains the translations for the string.
-        {
+      "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.
         },
-      ],
-    },
-    "timeRestrictions": { # Restrictions about times this ticket may be used.
-      "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
-        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-        "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-        "value": "A String", # The UTF-8 encoded translated string.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+            "value": "A String", # The UTF-8 encoded translated string.
+          },
+        ],
       },
-      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-      "translatedValues": [ # Contains the translations for the 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.
         },
-      ],
-    },
-  },
-  "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead.
-  "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip.
-  "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination.
-  "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
-    "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.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+            "value": "A String", # The UTF-8 encoded translated string.
+          },
+        ],
+      },
     },
-  },
-  "version": "A String", # Deprecated
-}
-
- -
- insert(body=None, x__xgafv=None) -
Inserts an transit object with the given ID and properties.
-
-Args:
-  body: object, The request body.
-    The object takes the form of:
-
-{
-  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
-    "state": "A String",
-  },
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -4300,7 +4955,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4324,7 +4979,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4339,7 +4994,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4355,8 +5010,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -4393,7 +5048,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -4417,7 +5072,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -4432,7 +5087,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -4448,9 +5103,208 @@

Method Details

], }, }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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". @@ -4465,10 +5319,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -4483,94 +5337,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -6241,69 +7084,162 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "timeRestrictions": { # Restrictions about times this ticket may be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. + "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. + "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. + "state": "A String", + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "timeRestrictions": { # Restrictions about times this ticket may be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. - "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. - "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. - "state": "A String", - }, - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -6340,7 +7276,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6364,7 +7300,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -6379,7 +7315,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -6395,8 +7331,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -6433,7 +7369,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -6457,7 +7393,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -6470,27 +7421,211 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -6505,10 +7640,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -6523,94 +7658,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -8311,55 +9435,148 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - }, - "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. - "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. - "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. - }, - }, - "version": "A String", # Deprecated -}
-
- -
- list(classId=None, maxResults=None, token=None, x__xgafv=None) -
Returns a list of all transit 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:
-
-    {
-  "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.
-    {
-      "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
-        "state": "A String",
-      },
-      "appLinkData": { # Optional information about the partner app link.
-        "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-          "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+      ],
+    },
+  },
+  "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead.
+  "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip.
+  "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination.
+  "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
+    "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.
+    },
+  },
+  "version": "A String", # Deprecated
+}
+
+ +
+ list(classId=None, maxResults=None, token=None, x__xgafv=None) +
Returns a list of all transit 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:
+
+    {
+  "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.
+    {
+      "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
+        "state": "A String",
+      },
+      "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.
+              },
+            ],
+          },
+        },
+        "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"`.
@@ -8396,7 +9613,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -8420,7 +9637,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -8435,7 +9652,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -8451,8 +9668,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -8489,7 +9706,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -8513,7 +9730,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -8528,7 +9745,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -8541,12 +9758,211 @@

Method Details

"language": "A String", # Represents the 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 app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + ], + }, + }, + }, + "barcode": { # The barcode type and value. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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". @@ -8561,10 +9977,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -8579,94 +9995,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -10339,71 +11744,164 @@

Method Details

}, ], }, - "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "timeRestrictions": { # Restrictions about times this ticket may be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. + "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. + "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated + }, + ], +}
+
+ +
+ patch(resourceId, body=None, x__xgafv=None) +
Updates the transit 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 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:
+
+{
+  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
+    "state": "A String",
+  },
+  "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.
           },
-          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-          "translatedValues": [ # Contains the translations for the string.
-            {
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the 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.
         },
-        "timeRestrictions": { # Restrictions about times this ticket may be used.
-          "defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
             "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
             "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
             "value": "A String", # The UTF-8 encoded translated string.
           },
-          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
-          "translatedValues": [ # Contains the translations for the string.
-            {
-              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
-              "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-              "value": "A String", # The UTF-8 encoded translated string.
-            },
-          ],
-        },
-      },
-      "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead.
-      "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip.
-      "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination.
-      "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
-        "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.
-        },
+        ],
       },
-      "version": "A String", # Deprecated
     },
-  ],
-}
-
- -
- patch(resourceId, body=None, x__xgafv=None) -
Updates the transit 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 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:
-
-{
-  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
-    "state": "A String",
-  },
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -10440,7 +11938,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10464,7 +11962,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10479,7 +11977,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -10495,8 +11993,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -10533,7 +12031,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -10557,7 +12055,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -10572,25 +12070,224 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -10605,10 +12302,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -10623,94 +12320,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -12396,54 +14082,147 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "timeRestrictions": { # Restrictions about times this ticket may be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + ], + }, + "timeRestrictions": { # Restrictions about times this ticket may be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. + "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. + "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. + "state": "A String", + }, + "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. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. - "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. - "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. - "state": "A String", - }, - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12480,7 +14259,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12504,7 +14283,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12519,7 +14298,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -12535,8 +14314,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -12573,7 +14352,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -12597,7 +14376,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -12610,27 +14404,211 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -12645,10 +14623,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -12663,94 +14641,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -14444,48 +16411,141 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. + "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. + "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +}
+
+ +
+ update(resourceId, body=None, x__xgafv=None) +
Updates the transit 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 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:
+
+{
+  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
+    "state": "A String",
+  },
+  "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.
         },
-      ],
-    },
-  },
-  "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead.
-  "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip.
-  "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination.
-  "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed.
-    "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.
+        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
+        "translatedValues": [ # Contains the translations for the string.
+          {
+            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
+            "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
+            "value": "A String", # The UTF-8 encoded translated string.
+          },
+        ],
+      },
     },
-  },
-  "version": "A String", # Deprecated
-}
-
- -
- update(resourceId, body=None, x__xgafv=None) -
Updates the transit 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 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:
-
-{
-  "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set.
-    "state": "A String",
-  },
-  "appLinkData": { # Optional information about the partner app link.
-    "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client.
-      "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module
+    "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"`.
@@ -14522,7 +16582,7 @@ 

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -14546,7 +16606,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -14561,7 +16621,7 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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". @@ -14577,8 +16637,8 @@

Method Details

], }, }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -14615,7 +16675,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -14639,7 +16699,7 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -14654,25 +16714,224 @@

Method Details

}, ], }, - "title": { # String to be displayed in the title of the App Link Module Required + "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 app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, + ], + }, + }, + "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". @@ -14687,10 +16946,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -14705,94 +16964,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. @@ -16115,15 +18363,135 @@

Method Details

"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], + ], + }, + }, + ], + "ticketLeg": { # A single ticket leg contains departure and arrival information along with boarding and seating information. If more than one leg is to be specified then use the `ticketLegs` field instead. Both `ticketLeg` and `ticketLegs` may not be set. + "arrivalDateTime": "A String", # The date/time of arrival. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the destination station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "carriage": "A String", # The train or ship name/number that the passsenger needs to board. + "departureDateTime": "A String", # The date/time of departure. This is required if there is no validity time interval set on the transit object. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the origin station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "destinationName": { # The destination name. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "destinationStationCode": "A String", # The destination station code. + "fareName": { # Short description/name of the fare for this leg of travel. Eg "Anytime Single Use". + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "originName": { # The name of the origin station. This is required if `desinationName` is present or if `originStationCode` is not present. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "originStationCode": "A String", # The origin station code. This is required if `destinationStationCode` is present or if `originName` is not present. + "platform": "A String", # The platform or gate where the passenger can board the carriage. + "ticketSeat": { # The reserved seat for the passenger(s). If more than one seat is to be specified then use the `ticketSeats` field instead. Both `ticketSeat` and `ticketSeats` may not be set. + "coach": "A String", # The identifier of the train car or coach in which the ticketed seat is located. Eg. "10" + "customFareClass": { # A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "fareClass": "A String", # The fare class of the ticketed seat. + "seat": "A String", # The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. + "seatAssignment": { # The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketSeats": [ # The reserved seat for the passenger(s). If only one seat is to be specified then use the `ticketSeat` field instead. Both `ticketSeat` and `ticketSeats` may not be set. + { + "coach": "A String", # The identifier of the train car or coach in which the ticketed seat is located. Eg. "10" + "customFareClass": { # A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "fareClass": "A String", # The fare class of the ticketed seat. + "seat": "A String", # The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. + "seatAssignment": { # The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, }, - }, - ], - "ticketLeg": { # A single ticket leg contains departure and arrival information along with boarding and seating information. If more than one leg is to be specified then use the `ticketLegs` field instead. Both `ticketLeg` and `ticketLegs` may not be set. - "arrivalDateTime": "A String", # The date/time of arrival. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the destination station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "carriage": "A String", # The train or ship name/number that the passsenger needs to board. - "departureDateTime": "A String", # The date/time of departure. This is required if there is no validity time interval set on the transit object. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the origin station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "destinationName": { # The destination name. + ], + "transitOperatorName": { # The name of the transit operator that is operating this leg of a trip. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -16138,8 +18506,7 @@

Method Details

}, ], }, - "destinationStationCode": "A String", # The destination station code. - "fareName": { # Short description/name of the fare for this leg of travel. Eg "Anytime Single Use". + "transitTerminusName": { # Terminus station or destination of the train/bus/etc. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -16154,26 +18521,30 @@

Method Details

}, ], }, - "originName": { # The name of the origin station. This is required if `desinationName` is present or if `originStationCode` is not present. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "zone": "A String", # The zone of boarding within the platform. + }, + "ticketLegs": [ # Each ticket may contain one or more legs. Each leg contains departure and arrival information along with boarding and seating information. If only one leg is to be specified then use the `ticketLeg` field instead. Both `ticketLeg` and `ticketLegs` may not be set. + { + "arrivalDateTime": "A String", # The date/time of arrival. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the destination station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "carriage": "A String", # The train or ship name/number that the passsenger needs to board. + "departureDateTime": "A String", # The date/time of departure. This is required if there is no validity time interval set on the transit object. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the origin station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. + "destinationName": { # The destination name. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - ], - }, - "originStationCode": "A String", # The origin station code. This is required if `destinationStationCode` is present or if `originName` is not present. - "platform": "A String", # The platform or gate where the passenger can board the carriage. - "ticketSeat": { # The reserved seat for the passenger(s). If more than one seat is to be specified then use the `ticketSeats` field instead. Both `ticketSeat` and `ticketSeats` may not be set. - "coach": "A String", # The identifier of the train car or coach in which the ticketed seat is located. Eg. "10" - "customFareClass": { # A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "destinationStationCode": "A String", # The destination station code. + "fareName": { # Short description/name of the fare for this leg of travel. Eg "Anytime Single Use". "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -16188,9 +18559,7 @@

Method Details

}, ], }, - "fareClass": "A String", # The fare class of the ticketed seat. - "seat": "A String", # The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. - "seatAssignment": { # The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. + "originName": { # The name of the origin station. This is required if `desinationName` is present or if `originStationCode` is not present. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -16205,9 +18574,9 @@

Method Details

}, ], }, - }, - "ticketSeats": [ # The reserved seat for the passenger(s). If only one seat is to be specified then use the `ticketSeat` field instead. Both `ticketSeat` and `ticketSeats` may not be set. - { + "originStationCode": "A String", # The origin station code. This is required if `destinationStationCode` is present or if `originName` is not present. + "platform": "A String", # The platform or gate where the passenger can board the carriage. + "ticketSeat": { # The reserved seat for the passenger(s). If more than one seat is to be specified then use the `ticketSeats` field instead. Both `ticketSeat` and `ticketSeats` may not be set. "coach": "A String", # The identifier of the train car or coach in which the ticketed seat is located. Eg. "10" "customFareClass": { # A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. @@ -16242,8 +18611,79 @@

Method Details

], }, }, - ], - "transitOperatorName": { # The name of the transit operator that is operating this leg of a trip. + "ticketSeats": [ # The reserved seat for the passenger(s). If only one seat is to be specified then use the `ticketSeat` field instead. Both `ticketSeat` and `ticketSeats` may not be set. + { + "coach": "A String", # The identifier of the train car or coach in which the ticketed seat is located. Eg. "10" + "customFareClass": { # A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "fareClass": "A String", # The fare class of the ticketed seat. + "seat": "A String", # The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. + "seatAssignment": { # The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + ], + "transitOperatorName": { # The name of the transit operator that is operating this leg of a trip. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "transitTerminusName": { # Terminus station or destination of the train/bus/etc. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + "zone": "A String", # The zone of boarding within the platform. + }, + ], + "ticketNumber": "A String", # The number of the ticket. This is a unique identifier for the ticket in the transit operator's system. + "ticketRestrictions": { # Information about what kind of restrictions there are on using this ticket. For example, which days of the week it must be used, or which routes are allowed to be taken. + "otherRestrictions": { # Extra restrictions that don't fall under the "route" or "time" categories. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -16258,7 +18698,7 @@

Method Details

}, ], }, - "transitTerminusName": { # Terminus station or destination of the train/bus/etc. + "routeRestrictions": { # Restrictions about routes that may be taken. For example, this may be the string "Reserved CrossCountry trains only". "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". @@ -16273,30 +18713,128 @@

Method Details

}, ], }, - "zone": "A String", # The zone of boarding within the platform. - }, - "ticketLegs": [ # Each ticket may contain one or more legs. Each leg contains departure and arrival information along with boarding and seating information. If only one leg is to be specified then use the `ticketLeg` field instead. Both `ticketLeg` and `ticketLegs` may not be set. - { - "arrivalDateTime": "A String", # The date/time of arrival. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the destination station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "carriage": "A String", # The train or ship name/number that the passsenger needs to board. - "departureDateTime": "A String", # The date/time of departure. This is required if there is no validity time interval set on the transit object. This is an ISO 8601 extended format date/time, with or without 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. `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. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the origin station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. - "destinationName": { # The destination name. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + ], + }, + "timeRestrictions": { # Restrictions about times this ticket may be used. + "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], + }, + }, + "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. + "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. + "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. + "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. + "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. + }, + }, + "version": "A String", # Deprecated +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. + "state": "A String", + }, + "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. + }, }, - "destinationStationCode": "A String", # The destination station code. - "fareName": { # Short description/name of the fare for this leg of travel. Eg "Anytime Single Use". + "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". @@ -16311,7 +18849,7 @@

Method Details

}, ], }, - "originName": { # The name of the origin station. This is required if `desinationName` is present or if `originStationCode` is not present. + "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". @@ -16326,28 +18864,10 @@

Method Details

}, ], }, - "originStationCode": "A String", # The origin station code. This is required if `destinationStationCode` is present or if `originName` is not present. - "platform": "A String", # The platform or gate where the passenger can board the carriage. - "ticketSeat": { # The reserved seat for the passenger(s). If more than one seat is to be specified then use the `ticketSeats` field instead. Both `ticketSeat` and `ticketSeats` may not be set. - "coach": "A String", # The identifier of the train car or coach in which the ticketed seat is located. Eg. "10" - "customFareClass": { # A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "fareClass": "A String", # The fare class of the ticketed seat. - "seat": "A String", # The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. - "seatAssignment": { # The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. + }, + "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". @@ -16362,11 +18882,10 @@

Method Details

}, ], }, - }, - "ticketSeats": [ # The reserved seat for the passenger(s). If only one seat is to be specified then use the `ticketSeat` field instead. Both `ticketSeat` and `ticketSeats` may not be set. - { - "coach": "A String", # The identifier of the train car or coach in which the ticketed seat is located. Eg. "10" - "customFareClass": { # A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. + "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". @@ -16381,9 +18900,16 @@

Method Details

}, ], }, - "fareClass": "A String", # The fare class of the ticketed seat. - "seat": "A String", # The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. - "seatAssignment": { # The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. + "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". @@ -16398,9 +18924,10 @@

Method Details

}, ], }, + "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. }, - ], - "transitOperatorName": { # The name of the transit operator that is operating this leg of a trip. + }, + "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". @@ -16415,7 +18942,7 @@

Method Details

}, ], }, - "transitTerminusName": { # Terminus station or destination of the train/bus/etc. + "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". @@ -16430,102 +18957,9 @@

Method Details

}, ], }, - "zone": "A String", # The zone of boarding within the platform. - }, - ], - "ticketNumber": "A String", # The number of the ticket. This is a unique identifier for the ticket in the transit operator's system. - "ticketRestrictions": { # Information about what kind of restrictions there are on using this ticket. For example, which days of the week it must be used, or which routes are allowed to be taken. - "otherRestrictions": { # Extra restrictions that don't fall under the "route" or "time" categories. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "routeRestrictions": { # Restrictions about routes that may be taken. For example, this may be the string "Reserved CrossCountry trains only". - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "routeRestrictionsDetails": { # More details about the above `routeRestrictions`. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - "timeRestrictions": { # Restrictions about times this ticket may be used. - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. - }, - ], - }, - }, - "ticketStatus": "A String", # The status of the ticket. For states which affect display, use the `state` field instead. - "tripId": "A String", # This id is used to group tickets together if the user has saved multiple tickets for the same trip. - "tripType": "A String", # Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. - "validTimeInterval": { # The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. - "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. }, - }, - "version": "A String", # Deprecated -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { - "activationStatus": { # The activation status of the object. This field includes activation status if valuable supports activation. # The activation status for the object. Required if the class has `activationOptions` set. - "state": "A String", - }, - "appLinkData": { # Optional information about the partner app link. - "androidAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module + "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"`. @@ -16562,7 +18996,7 @@

Method Details

"uri": "A String", # The location of the image. URIs must have a scheme. }, }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. + "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. @@ -16586,7 +19020,22 @@

Method Details

"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": { # String to be displayed in the description of the App Link Module Required + "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". @@ -16599,27 +19048,118 @@

Method Details

"language": "A String", # Represents the 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": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the 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. + "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. + }, + "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. + "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. + "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. + "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. + "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, + "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + "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 object that will be used instead. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -16634,10 +19174,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -16652,67 +19192,67 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - }, - "webAppLinkInfo": { # Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. - "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Optional image to be displayed in the App Link Module - "contentDescription": { # Description of the image used for accessibility. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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". @@ -16727,10 +19267,10 @@

Method Details

}, ], }, - "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. + }, + "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". @@ -16745,94 +19285,83 @@

Method Details

}, ], }, - "uri": "A String", # The location of the image. URIs must have a scheme. - }, - }, - "appTarget": { # Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. - "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#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. }, - "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": { # String to be displayed in the description of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "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. + }, }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the string. - { + "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. }, - ], - }, - "title": { # String to be displayed in the title of the App Link Module Required - "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. - "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". - "value": "A String", # The UTF-8 encoded translated string. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". + "value": "A String", # The UTF-8 encoded translated string. + }, + ], }, - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. - "translatedValues": [ # Contains the translations for the 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. }, - ], - }, - }, - }, - "barcode": { # The barcode type and value. - "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. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. + "translatedValues": [ # Contains the translations for the string. + { + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. + "language": "A String", # Represents the 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. - }, - "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 issuer ID.identifier where the former is issued by Google and latter is chosen by you. - "classReference": { # A copy of the inherited fields of the parent class. These fields are retrieved during a GET. - "activationOptions": { # ActivationOptions for the class # Activation options for an activatable ticket. - "activationUrl": "A String", # HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users. - "allowReactivation": True or False, # Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device. + }, }, - "allowMultipleUsersPerObject": True or False, # Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. diff --git a/googleapiclient/discovery_cache/documents/walletobjects.v1.json b/googleapiclient/discovery_cache/documents/walletobjects.v1.json index 54933e4496..b90fdd08ee 100644 --- a/googleapiclient/discovery_cache/documents/walletobjects.v1.json +++ b/googleapiclient/discovery_cache/documents/walletobjects.v1.json @@ -2681,7 +2681,7 @@ } } }, -"revision": "20240513", +"revision": "20240520", "rootUrl": "https://walletobjects.googleapis.com/", "schemas": { "ActivationOptions": { @@ -2772,7 +2772,7 @@ true "properties": { "androidAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", -"description": "Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client." +"description": "Optional information about the partner app link." }, "iosAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", @@ -2781,7 +2781,7 @@ true }, "webAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", -"description": "Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client." +"description": "Optional information about the partner web link." } }, "type": "object" @@ -2791,19 +2791,22 @@ true "properties": { "appLogoImage": { "$ref": "Image", -"description": "Optional image to be displayed in the App Link Module" +"deprecated": true, +"description": "Deprecated. Image isn't supported in the app link module." }, "appTarget": { "$ref": "AppLinkDataAppLinkInfoAppTarget", -"description": "Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app." +"description": "Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage." }, "description": { "$ref": "LocalizedString", -"description": "String to be displayed in the description of the App Link Module Required" +"deprecated": true, +"description": "Deprecated. Description isn't supported in the app link module." }, "title": { "$ref": "LocalizedString", -"description": "String to be displayed in the title of the App Link Module Required" +"deprecated": true, +"description": "Deprecated. Title isn't supported in the app link module." } }, "type": "object" @@ -3733,6 +3736,10 @@ true "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, +"appLinkData": { +"$ref": "AppLinkData", +"description": "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 object that will be used instead." +}, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -4138,7 +4145,7 @@ true "properties": { "appLinkData": { "$ref": "AppLinkData", -"description": "Optional information about the partner app link." +"description": "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." }, "barcode": { "$ref": "Barcode", @@ -4528,6 +4535,10 @@ true "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, +"appLinkData": { +"$ref": "AppLinkData", +"description": "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 object that will be used instead." +}, "boardingAndSeatingPolicy": { "$ref": "BoardingAndSeatingPolicy", "description": "Policies for boarding and seating. These will inform which labels will be shown to users." @@ -4878,7 +4889,7 @@ true "properties": { "appLinkData": { "$ref": "AppLinkData", -"description": "Optional information about the partner app link." +"description": "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." }, "barcode": { "$ref": "Barcode", @@ -5089,6 +5100,10 @@ true "description": "Generic Class", "id": "GenericClass", "properties": { +"appLinkData": { +"$ref": "AppLinkData", +"description": "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 object that will be used instead." +}, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -5225,7 +5240,7 @@ true "properties": { "appLinkData": { "$ref": "AppLinkData", -"description": "Information about the partner app link. The maximum number of these fields displayed is 10." +"description": "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." }, "barcode": { "$ref": "Barcode", @@ -5428,6 +5443,10 @@ true "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, +"appLinkData": { +"$ref": "AppLinkData", +"description": "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 object that will be used instead." +}, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -5694,7 +5713,7 @@ true "properties": { "appLinkData": { "$ref": "AppLinkData", -"description": "Optional information about the partner app link." +"description": "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." }, "balance": { "$ref": "Money", @@ -6229,6 +6248,10 @@ true "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, +"appLinkData": { +"$ref": "AppLinkData", +"description": "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 object that will be used instead." +}, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -6523,7 +6546,7 @@ true }, "appLinkData": { "$ref": "AppLinkData", -"description": "Optional information about the partner app link." +"description": "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." }, "barcode": { "$ref": "Barcode", @@ -7024,21 +7047,24 @@ true "TEXT", "text", "EXPIRATION_NOTIFICATION", -"expirationNotification" +"expirationNotification", +"TEXT_AND_NOTIFY" ], "enumDeprecated": [ false, false, true, false, -true +true, +false ], "enumDescriptions": [ "", "Renders the message as text on the card details screen. This is the default message type.", "Legacy alias for `TEXT`. Deprecated.", "Note: This enum is currently not supported.", -"Legacy alias for `EXPIRATION_NOTIFICATION`. Deprecated." +"Legacy alias for `EXPIRATION_NOTIFICATION`. Deprecated.", +"Renders the message as text on the card details screen and as an Android notification." ], "type": "string" } @@ -7138,6 +7164,10 @@ true "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, +"appLinkData": { +"$ref": "AppLinkData", +"description": "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 object that will be used instead." +}, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -7453,7 +7483,7 @@ true "properties": { "appLinkData": { "$ref": "AppLinkData", -"description": "Optional information about the partner app link." +"description": "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." }, "barcode": { "$ref": "Barcode", @@ -8411,6 +8441,10 @@ true "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, +"appLinkData": { +"$ref": "AppLinkData", +"description": "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 object that will be used instead." +}, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -8779,7 +8813,7 @@ true }, "appLinkData": { "$ref": "AppLinkData", -"description": "Optional information about the partner app link." +"description": "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." }, "barcode": { "$ref": "Barcode",