Skip to content

Commit be6f096

Browse files
1 parent 68ed022 commit be6f096

2 files changed

Lines changed: 34 additions & 2 deletions

File tree

src/Backupdr/InitializeServiceRequest.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@
1919

2020
class InitializeServiceRequest extends \Google\Model
2121
{
22+
/**
23+
* Optional. The location where the BackupPlan will be created. This field is
24+
* required for multi-region BackupVaults and is optional for regional
25+
* BackupVaults. It is useful when creating a Backup Vault in a multi-region,
26+
* allowing the BackupPlan to reside in a specific region within that multi-
27+
* region. If this field is not provided, the BackupPlan will be created in
28+
* the same location as specified in the `name` field.
29+
*
30+
* @var string
31+
*/
32+
public $backupPlanLocation;
2233
protected $cloudSqlInstanceInitializationConfigType = CloudSqlInstanceInitializationConfig::class;
2334
protected $cloudSqlInstanceInitializationConfigDataType = '';
2435
/**
@@ -46,6 +57,27 @@ class InitializeServiceRequest extends \Google\Model
4657
*/
4758
public $resourceType;
4859

60+
/**
61+
* Optional. The location where the BackupPlan will be created. This field is
62+
* required for multi-region BackupVaults and is optional for regional
63+
* BackupVaults. It is useful when creating a Backup Vault in a multi-region,
64+
* allowing the BackupPlan to reside in a specific region within that multi-
65+
* region. If this field is not provided, the BackupPlan will be created in
66+
* the same location as specified in the `name` field.
67+
*
68+
* @param string $backupPlanLocation
69+
*/
70+
public function setBackupPlanLocation($backupPlanLocation)
71+
{
72+
$this->backupPlanLocation = $backupPlanLocation;
73+
}
74+
/**
75+
* @return string
76+
*/
77+
public function getBackupPlanLocation()
78+
{
79+
return $this->backupPlanLocation;
80+
}
4981
/**
5082
* Optional. The configuration for initializing a Cloud SQL instance.
5183
*

src/Backupdr/Resource/ProjectsLocationsServiceConfig.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class ProjectsLocationsServiceConfig extends \Google\Service\Resource
3535
* (serviceConfig.initialize)
3636
*
3737
* @param string $name Required. The resource name of the serviceConfig used to
38-
* initialize the service. Format:
39-
* `projects/{project_id}/locations/{location}/serviceConfig`.
38+
* initialize the service. The location must be the location of the BackupVault.
39+
* Format: `projects/{project_id}/locations/{location}/serviceConfig`.
4040
* @param InitializeServiceRequest $postBody
4141
* @param array $optParams Optional parameters.
4242
* @return Operation

0 commit comments

Comments
 (0)