class ProjectsAppsSafetyNetConfig extends Resource (View source)

The "safetyNetConfig" collection of methods.

Typical usage is:

 $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
 $safetyNetConfig = $firebaseappcheckService->projects_apps_safetyNetConfig;

Methods

batchGet(string $parent, array $optParams = [])

Atomically gets the SafetyNetConfigs for the specified list of apps.

get(string $name, array $optParams = [])

Gets the SafetyNetConfig for the specified app. (safetyNetConfig.get)

patch(string $name, GoogleFirebaseAppcheckV1SafetyNetConfig $postBody, array $optParams = [])

Updates the SafetyNetConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange SafetyNet tokens for App Check tokens. (safetyNetConfig.patch)

Details

GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse batchGet(string $parent, array $optParams = [])

Atomically gets the SafetyNetConfigs for the specified list of apps.

(safetyNetConfig.batchGet)

Parameters

string $parent

Required. The parent project name shared by all SafetyNetConfigs being retrieved, in the format projects/{project_number} The parent collection in the name field of any resource being retrieved must match this field, or the entire batch fails.

array $optParams

Optional parameters.

Return Value

GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse

Exceptions

Exception

GoogleFirebaseAppcheckV1SafetyNetConfig get(string $name, array $optParams = [])

Gets the SafetyNetConfig for the specified app. (safetyNetConfig.get)

Parameters

string $name

Required. The relative resource name of the SafetyNetConfig, in the format: projects/{project_number}/apps/{app_id}/safetyNetConfig

array $optParams

Optional parameters.

Return Value

GoogleFirebaseAppcheckV1SafetyNetConfig

Exceptions

Exception

GoogleFirebaseAppcheckV1SafetyNetConfig patch(string $name, GoogleFirebaseAppcheckV1SafetyNetConfig $postBody, array $optParams = [])

Updates the SafetyNetConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange SafetyNet tokens for App Check tokens. (safetyNetConfig.patch)

Parameters

string $name

Required. The relative resource name of the SafetyNet configuration object, in the format: projects/{project_number}/apps/{app_id}/safetyNetConfig

GoogleFirebaseAppcheckV1SafetyNetConfig $postBody
array $optParams

Optional parameters.

Return Value

GoogleFirebaseAppcheckV1SafetyNetConfig

Exceptions

Exception