REST Resource: projects.locations.instances.sharedPreferenceSets

Resource: SharedPreferenceSet

Represents a collection of shareable UI preferences.

JSON representation
{
  "name": string,
  "displayName": string,
  "metadata": {
    object
  },
  "namespace": string,
  "source": enum (Source),
  "createTime": string,
  "updateTime": string,
  "uiSettingsBlob": string,
  "etag": string
}
Fields
name

string

Identifier. The resource name of the SharedPreferenceSet. Format: projects/{project}/locations/{location}/instances/{instance}/sharedPreferenceSets/{sharedPreferenceSet}

displayName

string

Optional. The human-readable name of the SharedPreferenceSet.

metadata

object (Struct format)

Optional. Metadata associated with the SharedPreferenceSet.

namespace

string

Optional. The namespace to which this preference set applies.

source

enum (Source)

Optional. The source from which the SharedPreferenceSet originated.

createTime

string (Timestamp format)

Output only. The timestamp when the SharedPreferenceSet was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The timestamp when the SharedPreferenceSet was last updated.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

uiSettingsBlob

string

Optional. The UI settings associated with the preference set.

etag

string

Optional. The version identifier used for validating freshness of base resource during updates. If this is provided on update, the request will succeed if and only if it matches the server-computed value, and will fail with an ABORTED error otherwise.

Source

Indicates the source of a SharedPreferenceSet.

Enums
SOURCE_UNSPECIFIED Default value.
GOOGLE Indicates the SharedPreferenceSet was created and managed by Google.
CUSTOMER Indicates the SharedPreferenceSet was created and managed by the customer.
COMMUNITY Indicates the SharedPreferenceSet was created by community sources.

Methods

create

Creates a new custom shared preference set.

delete

Deletes a shared preference set.

get

Gets a shared preference set.

list

Lists shared preference sets.

patch

Updates a shared preference set.