# Google Cloud Recaptcha Enterprise V1 Client - Class MigrateKeyRequest (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 MigrateKeyRequest.

The migrate key request message.

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

## Namespace

Google \\ Cloud \\ RecaptchaEnterprise \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the key to be migrated, in the format `projects/{project}/keys/{key}`. |
| `↳ skip_billing_check` | `bool` Optional. If true, skips the billing check. A reCAPTCHA Enterprise key or migrated key behaves differently than a reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see <https://docs.cloud.google.com/recaptcha/quotas#quota_limit>). To avoid any disruption of your usage, we check that a billing account is present. If your usage of reCAPTCHA is under the free quota, you can safely skip the billing check and proceed with the migration. See <https://cloud.google.com/recaptcha/docs/billing-information>. |

### getName

Required. The name of the key to be migrated, in the format
`projects/{project}/keys/{key}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. The name of the key to be migrated, in the format
`projects/{project}/keys/{key}`.

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

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

### getSkipBillingCheck

Optional. If true, skips the billing check.

A reCAPTCHA Enterprise key or migrated key behaves differently than a
reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
<https://docs.cloud.google.com/recaptcha/quotas#quota_limit>). To avoid
any disruption of your usage, we check that a billing account is present.
If your usage of reCAPTCHA is under the free quota, you can safely skip the
billing check and proceed with the migration. See
<https://cloud.google.com/recaptcha/docs/billing-information>.

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

### setSkipBillingCheck

Optional. If true, skips the billing check.

A reCAPTCHA Enterprise key or migrated key behaves differently than a
reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
<https://docs.cloud.google.com/recaptcha/quotas#quota_limit>). To avoid
any disruption of your usage, we check that a billing account is present.
If your usage of reCAPTCHA is under the free quota, you can safely skip the
billing check and proceed with the migration. See
<https://cloud.google.com/recaptcha/docs/billing-information>.

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

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