Google Cloud Api Keys V2 Client - Class AndroidKeyRestrictions (0.2.2)

Reference documentation and code samples for the Google Cloud Api Keys V2 Client class AndroidKeyRestrictions.

The Android apps that are allowed to use the key.

Generated from protobuf message google.api.apikeys.v2.AndroidKeyRestrictions

Namespace

Google \ Cloud \ ApiKeys \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ allowed_applications array<Google\Cloud\ApiKeys\V2\AndroidApplication>

A list of Android applications that are allowed to make API calls with this key.

getAllowedApplications

A list of Android applications that are allowed to make API calls with this key.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedApplications

A list of Android applications that are allowed to make API calls with this key.

Parameter
NameDescription
var array<Google\Cloud\ApiKeys\V2\AndroidApplication>
Returns
TypeDescription
$this