Resource: SharedPreferenceSet
Represents a collection of shareable UI preferences.
| JSON representation |
|---|
{
"name": string,
"displayName": string,
"metadata": {
object
},
"namespace": string,
"source": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the SharedPreferenceSet. Format: projects/{project}/locations/{location}/instances/{instance}/sharedPreferenceSets/{sharedPreferenceSet} |
displayName |
Optional. The human-readable name of the SharedPreferenceSet. |
metadata |
Optional. Metadata associated with the SharedPreferenceSet. |
namespace |
Optional. The namespace to which this preference set applies. |
source |
Optional. The source from which the SharedPreferenceSet originated. |
createTime |
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: |
updateTime |
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: |
uiSettingsBlob |
Optional. The UI settings associated with the preference set. |
etag |
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 |
|
|---|---|
|
Creates a new custom shared preference set. |
|
Deletes a shared preference set. |
|
Gets a shared preference set. |
|
Lists shared preference sets. |
|
Updates a shared preference set. |