Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlBakImportOptions.
Generated from protobuf message google.cloud.sql.v1.ImportContext.SqlBakImportOptions
Namespace
Google \ Cloud \ Sql \ V1 \ ImportContextMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ encryption_options |
Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions\EncryptionOptions
|
↳ striped |
Google\Protobuf\BoolValue
Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server. |
↳ no_recovery |
Google\Protobuf\BoolValue
Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server. |
↳ recovery_only |
Google\Protobuf\BoolValue
Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server. |
↳ bak_type |
int
Type of the bak content, FULL or DIFF |
↳ stop_at |
Google\Protobuf\Timestamp
Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only |
↳ stop_at_mark |
string
Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only |
getEncryptionOptions
Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions\EncryptionOptions|null |
hasEncryptionOptions
clearEncryptionOptions
setEncryptionOptions
Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions\EncryptionOptions
|
Returns | |
---|---|
Type | Description |
$this |
getStriped
Whether or not the backup set being restored is striped.
Applies only to Cloud SQL for SQL Server.
Returns | |
---|---|
Type | Description |
Google\Protobuf\BoolValue|null |
hasStriped
clearStriped
getStripedValue
Returns the unboxed value from getStriped()
Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
Returns | |
---|---|
Type | Description |
bool|null |
setStriped
Whether or not the backup set being restored is striped.
Applies only to Cloud SQL for SQL Server.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\BoolValue
|
Returns | |
---|---|
Type | Description |
$this |
setStripedValue
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
Parameter | |
---|---|
Name | Description |
var |
bool|null
|
Returns | |
---|---|
Type | Description |
$this |
getNoRecovery
Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
Returns | |
---|---|
Type | Description |
Google\Protobuf\BoolValue|null |
hasNoRecovery
clearNoRecovery
getNoRecoveryValue
Returns the unboxed value from getNoRecovery()
Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
Returns | |
---|---|
Type | Description |
bool|null |
setNoRecovery
Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\BoolValue
|
Returns | |
---|---|
Type | Description |
$this |
setNoRecoveryValue
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
Parameter | |
---|---|
Name | Description |
var |
bool|null
|
Returns | |
---|---|
Type | Description |
$this |
getRecoveryOnly
Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
Returns | |
---|---|
Type | Description |
Google\Protobuf\BoolValue|null |
hasRecoveryOnly
clearRecoveryOnly
getRecoveryOnlyValue
Returns the unboxed value from getRecoveryOnly()
Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
Returns | |
---|---|
Type | Description |
bool|null |
setRecoveryOnly
Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\BoolValue
|
Returns | |
---|---|
Type | Description |
$this |
setRecoveryOnlyValue
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
Parameter | |
---|---|
Name | Description |
var |
bool|null
|
Returns | |
---|---|
Type | Description |
$this |
getBakType
Type of the bak content, FULL or DIFF
Returns | |
---|---|
Type | Description |
int |
setBakType
Type of the bak content, FULL or DIFF
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStopAt
Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStopAt
clearStopAt
setStopAt
Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getStopAtMark
Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only
Returns | |
---|---|
Type | Description |
string |
setStopAtMark
Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |