forked from googleapis/google-api-php-client-services
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMountDatastoreRequest.php
More file actions
122 lines (118 loc) · 3.55 KB
/
MountDatastoreRequest.php
File metadata and controls
122 lines (118 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\VMwareEngine;
class MountDatastoreRequest extends \Google\Model
{
protected $datastoreMountConfigType = DatastoreMountConfig::class;
protected $datastoreMountConfigDataType = '';
/**
* Optional. If set to true, the colocation requirement will be ignored. If
* set to false, the colocation requirement will be enforced. If not set, the
* colocation requirement will be enforced. Colocation requirement is the
* requirement that the cluster must be in the same region/zone of
* datastore(regional/zonal datastore).
*
* @var bool
*/
public $ignoreColocation;
/**
* Optional. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
*
* @var string
*/
public $requestId;
/**
* Optional. If set to `true`, only validates the request but doesn’t execute
* the request. If set to `false`, validates and executes the request.
*
* @var bool
*/
public $validateOnly;
/**
* Required. The datastore mount configuration.
*
* @param DatastoreMountConfig $datastoreMountConfig
*/
public function setDatastoreMountConfig(DatastoreMountConfig $datastoreMountConfig)
{
$this->datastoreMountConfig = $datastoreMountConfig;
}
/**
* @return DatastoreMountConfig
*/
public function getDatastoreMountConfig()
{
return $this->datastoreMountConfig;
}
/**
* Optional. If set to true, the colocation requirement will be ignored. If
* set to false, the colocation requirement will be enforced. If not set, the
* colocation requirement will be enforced. Colocation requirement is the
* requirement that the cluster must be in the same region/zone of
* datastore(regional/zonal datastore).
*
* @param bool $ignoreColocation
*/
public function setIgnoreColocation($ignoreColocation)
{
$this->ignoreColocation = $ignoreColocation;
}
/**
* @return bool
*/
public function getIgnoreColocation()
{
return $this->ignoreColocation;
}
/**
* Optional. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* Optional. If set to `true`, only validates the request but doesn’t execute
* the request. If set to `false`, validates and executes the request.
*
* @param bool $validateOnly
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MountDatastoreRequest::class, 'Google_Service_VMwareEngine_MountDatastoreRequest');