Method: sharedPreferenceSets.patch

Full name: projects.locations.instances.sharedPreferenceSets.patch

Updates a shared preference set.

HTTP request

PATCH https://{endpoint}/v1alpha/{sharedPreferenceSet.name}

Where {endpoint} is one of the supported service endpoints.

Path parameters

Parameters
sharedPreferenceSet.name

string

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

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The field mask to apply to the SharedPreferenceSet.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of SharedPreferenceSet.

Response body

If successful, the response body contains an instance of SharedPreferenceSet.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview.