Updates the gift card object referenced by the given object ID.
Scopes
You will need authorization for the https://www.googleapis.com/auth/wallet_object.issuer scope to make a valid call.
If unset, the scope for this method defaults to https://www.googleapis.com/auth/wallet_object.issuer.
You can set the scope for this method like this: walletobjects1 --scope <scope> giftcardobject update ...
Required Scalar Argument
- <resource-id> (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 Request Value
The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure. In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.
For example, a structure like this:
GiftCardObject:
app-link-data:
android-app-link-info:
app-logo-image:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
app-target:
package-name: string
target-uri:
description: string
id: string
kind: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
description:
default-value:
kind: string
language: string
value: string
kind: string
title:
default-value:
kind: string
language: string
value: string
kind: string
ios-app-link-info:
app-logo-image:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
app-target:
package-name: string
target-uri:
description: string
id: string
kind: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
description:
default-value:
kind: string
language: string
value: string
kind: string
title:
default-value:
kind: string
language: string
value: string
kind: string
web-app-link-info:
app-logo-image:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
app-target:
package-name: string
target-uri:
description: string
id: string
kind: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
description:
default-value:
kind: string
language: string
value: string
kind: string
title:
default-value:
kind: string
language: string
value: string
kind: string
balance:
currency-code: string
kind: string
micros: string
balance-update-time:
date: string
barcode:
alternate-text: string
kind: string
render-encoding: string
show-code-text:
default-value:
kind: string
language: string
value: string
kind: string
type: string
value: string
card-number: string
class-id: string
class-reference:
allow-barcode-redemption: boolean
allow-multiple-users-per-object: boolean
callback-options:
update-request-url: string
url: string
card-number-label: string
class-template-info:
list-template-override:
first-row-option:
transit-option: string
country-code: string
enable-smart-tap: boolean
event-number-label: string
hero-image:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
hex-background-color: string
homepage-uri:
description: string
id: string
kind: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
id: string
info-module-data:
show-last-update-time: boolean
issuer-name: string
kind: string
localized-card-number-label:
default-value:
kind: string
language: string
value: string
kind: string
localized-event-number-label:
default-value:
kind: string
language: string
value: string
kind: string
localized-issuer-name:
default-value:
kind: string
language: string
value: string
kind: string
localized-merchant-name:
default-value:
kind: string
language: string
value: string
kind: string
localized-pin-label:
default-value:
kind: string
language: string
value: string
kind: string
merchant-name: string
multiple-devices-and-holders-allowed-status: string
pin-label: string
program-logo:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
redemption-issuers: [string]
review:
comments: string
review-status: string
security-animation:
animation-type: string
version: string
view-unlock-requirement: string
wide-program-logo:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
word-mark:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
disable-expiration-notification: boolean
event-number: string
grouping-info:
grouping-id: string
sort-index: integer
has-linked-device: boolean
has-users: boolean
hero-image:
content-description:
default-value:
kind: string
language: string
value: string
kind: string
kind: string
source-uri:
description: string
localized-description:
default-value:
kind: string
language: string
value: string
kind: string
uri: string
id: string
info-module-data:
show-last-update-time: boolean
kind: string
pass-constraints:
nfc-constraint: [string]
screenshot-eligibility: string
pin: string
rotating-barcode:
alternate-text: string
initial-rotating-barcode-values:
period-millis: string
start-date-time: string
values: [string]
render-encoding: string
show-code-text:
default-value:
kind: string
language: string
value: string
kind: string
totp-details:
algorithm: string
period-millis: string
type: string
value-pattern: string
smart-tap-redemption-value: string
state: string
valid-time-interval:
end:
date: string
kind: string
start:
date: string
version: string
can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.
-r .app-link-data.android-app-link-info.app-logo-image.content-description.default-value kind=sed
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=dolor
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=accusam
- The UTF-8 encoded translated string.
-
.. kind=stet
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=amet
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=consetetur
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=sit
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=ut
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=ipsum
- The UTF-8 encoded translated string.
-
.. kind=sed
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=aliquyam
- The location of the image. URIs must have a scheme.
-
...app-target package-name=duo
- Package name for AppTarget. For example: com.google.android.gm
target-uri description=sanctus
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
description
is part of an image.
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
id=lorem
- The ID associated with a uri. This field is here to enable ease of management of uris.
kind=est
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#uri"
.
- Identifies what kind of resource this is. Value: the fixed string
localized-description.default-value kind=amet.
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=et
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=diam
- The UTF-8 encoded translated string.
-
.. kind=et
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=sed
- The location of a web page, image, or other resource. URIs in the
LinksModuleData
module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme.
- The location of a web page, image, or other resource. URIs in the
-
...description.default-value kind=diam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=rebum.
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=at
- The UTF-8 encoded translated string.
-
.. kind=ut
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..title.default-value kind=consetetur
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=sit
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=rebum.
- The UTF-8 encoded translated string.
-
.. kind=duo
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
...ios-app-link-info.app-logo-image.content-description.default-value kind=dolore
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=no
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=sadipscing
- The UTF-8 encoded translated string.
-
.. kind=ea
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=dolor
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=eirmod
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=vero
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=dolore
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=sadipscing
- The UTF-8 encoded translated string.
-
.. kind=stet
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=gubergren
- The location of the image. URIs must have a scheme.
-
...app-target package-name=et
- Package name for AppTarget. For example: com.google.android.gm
target-uri description=diam
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
description
is part of an image.
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
id=consetetur
- The ID associated with a uri. This field is here to enable ease of management of uris.
kind=takimata
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#uri"
.
- Identifies what kind of resource this is. Value: the fixed string
localized-description.default-value kind=tempor
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=amet.
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=et
- The UTF-8 encoded translated string.
-
.. kind=sanctus
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=invidunt
- The location of a web page, image, or other resource. URIs in the
LinksModuleData
module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme.
- The location of a web page, image, or other resource. URIs in the
-
...description.default-value kind=accusam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=kasd
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=et
- The UTF-8 encoded translated string.
-
.. kind=sit
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..title.default-value kind=no
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=no
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=clita
- The UTF-8 encoded translated string.
-
.. kind=at
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
...web-app-link-info.app-logo-image.content-description.default-value kind=nonumy
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=duo
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=at
- The UTF-8 encoded translated string.
-
.. kind=diam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=no
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=lorem
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=et
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=labore
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=amet
- The UTF-8 encoded translated string.
-
.. kind=amet
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=ea
- The location of the image. URIs must have a scheme.
-
...app-target package-name=dolores
- Package name for AppTarget. For example: com.google.android.gm
target-uri description=diam
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
description
is part of an image.
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
id=rebum.
- The ID associated with a uri. This field is here to enable ease of management of uris.
kind=vero
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#uri"
.
- Identifies what kind of resource this is. Value: the fixed string
localized-description.default-value kind=eirmod
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=kasd
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=diam
- The UTF-8 encoded translated string.
-
.. kind=eos
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=consetetur
- The location of a web page, image, or other resource. URIs in the
LinksModuleData
module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme.
- The location of a web page, image, or other resource. URIs in the
-
...description.default-value kind=dolor
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=amet
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=nonumy
- The UTF-8 encoded translated string.
-
.. kind=vero
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..title.default-value kind=ipsum
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=elitr
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=et
- The UTF-8 encoded translated string.
-
.. kind=eirmod
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
....balance currency-code=dolores
- The currency code, such as "USD" or "EUR."
kind=sed
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#money"
.
- Identifies what kind of resource this is. Value: the fixed string
-
micros=eos
- The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros.
-
..balance-update-time date=dolor
- An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example:
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC.1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year.1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of2018-06-19T18:30:00-04:00
will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of2018-06-19T18:30:00
will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones.
- An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example:
-
..barcode alternate-text=nonumy
- 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=no
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#barcode"
.
- Identifies what kind of resource this is. Value: the fixed string
render-encoding=invidunt
- The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google.
show-code-text.default-value kind=diam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=dolores
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=elitr
- The UTF-8 encoded translated string.
-
.. kind=erat
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. type=elitr
- The type of barcode.
-
value=eos
- The value encoded in the barcode.
-
.. card-number=duo
- Required. The card's number.
class-id=sea
- 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.
class-reference allow-barcode-redemption=true
- 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.
allow-multiple-users-per-object=true
- Deprecated. Use
multipleDevicesAndHoldersAllowedStatus
instead.
- Deprecated. Use
callback-options update-request-url=invidunt
- URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated.
-
url=ipsum
- The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables.
-
.. card-number-label=sadipscing
- The label to display for the card number, such as "Card Number".
-
class-template-info.list-template-override.first-row-option transit-option=accusam
- No description provided.
-
.... country-code=eos
- 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.
enable-smart-tap=true
- Identifies whether this class supports Smart Tap. The
redemptionIssuers
and object levelsmartTapRedemptionLevel
fields must also be set up correctly in order for a pass to support Smart Tap.
- Identifies whether this class supports Smart Tap. The
event-number-label=labore
- The label to display for event number, such as "Target Event #".
hero-image.content-description.default-value kind=gubergren
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=est
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=justo
- The UTF-8 encoded translated string.
-
.. kind=magna
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=eos
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=sit
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=invidunt
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=lorem
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=erat
- The UTF-8 encoded translated string.
-
.. kind=ea
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=aliquyam
- The location of the image. URIs must have a scheme.
-
... hex-background-color=labore
- 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
.
- 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
homepage-uri description=gubergren
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
description
is part of an image.
- The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when
id=diam
- The ID associated with a uri. This field is here to enable ease of management of uris.
kind=diam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#uri"
.
- Identifies what kind of resource this is. Value: the fixed string
localized-description.default-value kind=sed
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=eirmod
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=justo
- The UTF-8 encoded translated string.
-
.. kind=lorem
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=lorem
- The location of a web page, image, or other resource. URIs in the
LinksModuleData
module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme.
- The location of a web page, image, or other resource. URIs in the
-
.. id=eos
- 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 '-'.
-
info-module-data show-last-update-time=false
- No description provided.
-
.. issuer-name=accusam
- Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.
kind=ea
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#giftCardClass"
.
- Identifies what kind of resource this is. Value: the fixed string
localized-card-number-label.default-value kind=no
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=et
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=ipsum
- The UTF-8 encoded translated string.
-
.. kind=ea
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..localized-event-number-label.default-value kind=rebum.
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=stet
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=voluptua.
- The UTF-8 encoded translated string.
-
.. kind=ipsum
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..localized-issuer-name.default-value kind=dolor
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=sanctus
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=ut
- The UTF-8 encoded translated string.
-
.. kind=clita
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..localized-merchant-name.default-value kind=sed
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=consetetur
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=voluptua.
- The UTF-8 encoded translated string.
-
.. kind=sanctus
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..localized-pin-label.default-value kind=magna
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=gubergren
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=et
- The UTF-8 encoded translated string.
-
.. kind=et
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. merchant-name=clita
- 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.
multiple-devices-and-holders-allowed-status=et
- Identifies whether multiple users and devices will save the same object referencing this class.
pin-label=kasd
- The label to display for the PIN, such as "4-digit PIN".
program-logo.content-description.default-value kind=sea
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=consetetur
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=et
- The UTF-8 encoded translated string.
-
.. kind=invidunt
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=aliquyam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=at
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=tempor
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=dolor
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=erat
- The UTF-8 encoded translated string.
-
.. kind=aliquyam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=kasd
- The location of the image. URIs must have a scheme.
-
... redemption-issuers=ut
- 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 levelsmartTapRedemptionLevel
fields must also be set up correctly in order for a pass to support Smart Tap. - Each invocation of this argument appends the given value to the array.
- 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
-
review comments=labore
- No description provided.
-
.. review-status=ipsum
- Required. The status of the class. This field can be set to
draft
orunderReview
using the insert, patch, or update API calls. Once the review state is changed fromdraft
it may not be changed back todraft
. You should keep this field todraft
when the class is under development. Adraft
class cannot be used to create any object. You should set this field tounderReview
when you believe the class is ready for use. The platform will automatically set this field toapproved
and it can be immediately used to create or migrate objects. When updating an alreadyapproved
class you should keep setting this field tounderReview
.
- Required. The status of the class. This field can be set to
-
security-animation animation-type=invidunt
- Type of animation.
-
.. version=sit
- Deprecated
view-unlock-requirement=ut
- View Unlock Requirement options for the gift card.
wide-program-logo.content-description.default-value kind=dolores
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=dolor
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=sea
- The UTF-8 encoded translated string.
-
.. kind=gubergren
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=et
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=nonumy
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=eos
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=et
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=magna
- The UTF-8 encoded translated string.
-
.. kind=nonumy
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=gubergren
- The location of the image. URIs must have a scheme.
-
...word-mark.content-description.default-value kind=sanctus
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=diam
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=ea
- The UTF-8 encoded translated string.
-
.. kind=dolor
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=sit
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=tempor
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=accusam
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=clita
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=stet
- The UTF-8 encoded translated string.
-
.. kind=et
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=et
- The location of the image. URIs must have a scheme.
-
.... disable-expiration-notification=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.
- Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the
event-number=amet.
- The card's event number, an optional field used by some gift cards.
grouping-info grouping-id=diam
- Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed.
-
sort-index=80
- 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.
-
.. has-linked-device=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.
has-users=true
- Indicates if the object has users. This field is set by the platform.
hero-image.content-description.default-value kind=justo
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=sea
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=duo
- The UTF-8 encoded translated string.
-
.. kind=vero
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. kind=elitr
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#image"
.
- Identifies what kind of resource this is. Value: the fixed string
source-uri description=erat
- Additional information about the image, which is unused and retained only for backward compatibility.
localized-description.default-value kind=eirmod
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=accusam
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=ut
- The UTF-8 encoded translated string.
-
.. kind=amet.
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
.. uri=consetetur
- The location of the image. URIs must have a scheme.
-
... id=diam
- 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 '-'.
-
info-module-data show-last-update-time=false
- No description provided.
-
.. kind=consetetur
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#giftCardObject"
.
- Identifies what kind of resource this is. Value: the fixed string
pass-constraints nfc-constraint=erat
- The NFC constraints for the pass.
- Each invocation of this argument appends the given value to the array.
-
screenshot-eligibility=magna
- The screenshot eligibility for the pass.
-
.. pin=et
- The card's PIN.
rotating-barcode alternate-text=ut
- 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.
initial-rotating-barcode-values period-millis=kasd
- Required. The amount of time each barcode is valid for.
start-date-time=eirmod
- 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.
- 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:
-
values=magna
- Required. The values to encode in the barcode. At least one value is required.
- Each invocation of this argument appends the given value to the array.
-
.. render-encoding=est
- The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google.
show-code-text.default-value kind=sit
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#translatedString"
.
- Identifies what kind of resource this is. Value: the fixed string
language=diam
- Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
-
value=et
- The UTF-8 encoded translated string.
-
.. kind=erat
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#localizedString"
.
- Identifies what kind of resource this is. Value: the fixed string
-
..totp-details algorithm=diam
- The TOTP algorithm used to generate the OTP.
-
period-millis=eirmod
- The time interval used for the TOTP value generation, in milliseconds.
-
.. type=consetetur
- The type of this barcode.
-
value-pattern=diam
- 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.
-
.. smart-tap-redemption-value=et
- The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields
enableSmartTap
andredemptionIssuers
must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported.
- The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields
state=invidunt
- 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.
- Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an
-
valid-time-interval.end date=eirmod
- An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example:
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC.1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year.1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of2018-06-19T18:30:00-04:00
will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of2018-06-19T18:30:00
will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones.
- An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example:
-
.. kind=erat
- Identifies what kind of resource this is. Value: the fixed string
"walletobjects#timeInterval"
.
- Identifies what kind of resource this is. Value: the fixed string
-
start date=dolor
- An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example:
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC.1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year.1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of2018-06-19T18:30:00-04:00
will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of2018-06-19T18:30:00
will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones.
- An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example:
-
... version=voluptua.
- Deprecated
About Cursors
The cursor position is key to comfortably set complex nested structures. The following rules apply:
- The cursor position is always set relative to the current one, unless the field name starts with the
.
character. Fields can be nested such as in-r f.s.o
. - The cursor position is set relative to the top-level structure if it starts with
.
, e.g.-r .s.s
- You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify
-r struct.sub_struct=bar
. - You can move the cursor one level up by using
..
. Each additional.
moves it up one additional level. E.g....
would go three levels up.
Optional Output Flags
The method's return value a JSON encoded structure, which will be written to standard output by default.
- -o out
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
-
to indicate standard output, or a filepath that is to contain the received bytes. If unset, it defaults to standard output.
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
Optional General Properties
The following properties can configure any call, and are not specific to this method.
-
-p $-xgafv=string
- V1 error format.
-
-p access-token=string
- OAuth access token.
-
-p alt=string
- Data format for response.
-
-p callback=string
- JSONP
-
-p fields=string
- Selector specifying which fields to include in a partial response.
-
-p key=string
- API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
-
-p oauth-token=string
- OAuth 2.0 token for the current user.
-
-p pretty-print=boolean
- Returns response with indentations and line breaks.
-
-p quota-user=string
- Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
-
-p upload-type=string
- Legacy upload protocol for media (e.g. "media", "multipart").
-
-p upload-protocol=string
- Upload protocol for media (e.g. "raw", "multipart").