Skip to content

Commit 02edd5f

Browse files
1 parent d3bcf4d commit 02edd5f

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/Backupdr/InitializeServiceRequest.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ class InitializeServiceRequest extends \Google\Model
5656
* @var string
5757
*/
5858
public $resourceType;
59+
/**
60+
* Optional. If set, validates the request and returns the result, but does
61+
* not actually run it.
62+
*
63+
* @var bool
64+
*/
65+
public $validateOnly;
5966

6067
/**
6168
* Optional. The location where the BackupPlan will be created. This field is
@@ -138,6 +145,23 @@ public function getResourceType()
138145
{
139146
return $this->resourceType;
140147
}
148+
/**
149+
* Optional. If set, validates the request and returns the result, but does
150+
* not actually run it.
151+
*
152+
* @param bool $validateOnly
153+
*/
154+
public function setValidateOnly($validateOnly)
155+
{
156+
$this->validateOnly = $validateOnly;
157+
}
158+
/**
159+
* @return bool
160+
*/
161+
public function getValidateOnly()
162+
{
163+
return $this->validateOnly;
164+
}
141165
}
142166

143167
// Adding a class alias for backwards compatibility with the previous class name.

0 commit comments

Comments
 (0)