# Google Cloud Recaptcha Enterprise V1 Client - Class IOSKeySettings (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.3 2.0.1 1.17.2 1.16.1 1.15.0 1.14.0 1.13.0 1.12.2 1.8.0 1.7.0 1.6.0 1.5.2 1.4.2 1.3.2 1.2.6 Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class IOSKeySettings.

Settings specific to keys that can be used by iOS apps.

Generated from protobuf message `google.cloud.recaptchaenterprise.v1.IOSKeySettings`

## Namespace

Google \\ Cloud \\ RecaptchaEnterprise \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ allow_all_bundle_ids` | `bool` Optional. If set to true, allowed_bundle_ids are not enforced. |
| `↳ allowed_bundle_ids` | `string[]` Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs. |
| `↳ apple_developer_id` | `https://docs.cloud.google.com/php/docs/reference/cloud-recaptcha-enterprise/latest/V1.AppleDeveloperId` Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA to get a better assessment of the integrity of your app. |

### getAllowAllBundleIds

Optional. If set to true, allowed_bundle_ids are not enforced.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAllowAllBundleIds

Optional. If set to true, allowed_bundle_ids are not enforced.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAllowedBundleIds

Optional. iOS bundle IDs of apps allowed to use the key.

Example: 'com.companyname.productname.appname'
Each key supports a maximum of 250 bundle IDs. To use a key on more
apps, set `allow_all_bundle_ids` to true. When this is set, you
are responsible for validating the bundle id by checking the
`token_properties.ios_bundle_id` field in each assessment response
against your list of allowed bundle IDs.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setAllowedBundleIds

Optional. iOS bundle IDs of apps allowed to use the key.

Example: 'com.companyname.productname.appname'
Each key supports a maximum of 250 bundle IDs. To use a key on more
apps, set `allow_all_bundle_ids` to true. When this is set, you
are responsible for validating the bundle id by checking the
`token_properties.ios_bundle_id` field in each assessment response
against your list of allowed bundle IDs.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAppleDeveloperId

Optional. Apple Developer account details for the app that is protected by
the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple
App Attest and Apple DeviceCheck to protect your app from abuse. Providing
these fields allows reCAPTCHA to get a better assessment of the integrity
of your app.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-recaptcha-enterprise/latest/V1.AppleDeveloperId|null` |   |

### hasAppleDeveloperId

### clearAppleDeveloperId

### setAppleDeveloperId

Optional. Apple Developer account details for the app that is protected by
the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple
App Attest and Apple DeviceCheck to protect your app from abuse. Providing
these fields allows reCAPTCHA to get a better assessment of the integrity
of your app.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-recaptcha-enterprise/latest/V1.AppleDeveloperId` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |