source: vendor/google/apiclient-services/src/VMwareEngine/AutoscalingPolicy.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.0 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\VMwareEngine;
19
20class AutoscalingPolicy extends \Google\Model
21{
22 protected $consumedMemoryThresholdsType = Thresholds::class;
23 protected $consumedMemoryThresholdsDataType = '';
24 protected $cpuThresholdsType = Thresholds::class;
25 protected $cpuThresholdsDataType = '';
26 protected $grantedMemoryThresholdsType = Thresholds::class;
27 protected $grantedMemoryThresholdsDataType = '';
28 /**
29 * @var string
30 */
31 public $nodeTypeId;
32 /**
33 * @var int
34 */
35 public $scaleOutSize;
36 protected $storageThresholdsType = Thresholds::class;
37 protected $storageThresholdsDataType = '';
38
39 /**
40 * @param Thresholds
41 */
42 public function setConsumedMemoryThresholds(Thresholds $consumedMemoryThresholds)
43 {
44 $this->consumedMemoryThresholds = $consumedMemoryThresholds;
45 }
46 /**
47 * @return Thresholds
48 */
49 public function getConsumedMemoryThresholds()
50 {
51 return $this->consumedMemoryThresholds;
52 }
53 /**
54 * @param Thresholds
55 */
56 public function setCpuThresholds(Thresholds $cpuThresholds)
57 {
58 $this->cpuThresholds = $cpuThresholds;
59 }
60 /**
61 * @return Thresholds
62 */
63 public function getCpuThresholds()
64 {
65 return $this->cpuThresholds;
66 }
67 /**
68 * @param Thresholds
69 */
70 public function setGrantedMemoryThresholds(Thresholds $grantedMemoryThresholds)
71 {
72 $this->grantedMemoryThresholds = $grantedMemoryThresholds;
73 }
74 /**
75 * @return Thresholds
76 */
77 public function getGrantedMemoryThresholds()
78 {
79 return $this->grantedMemoryThresholds;
80 }
81 /**
82 * @param string
83 */
84 public function setNodeTypeId($nodeTypeId)
85 {
86 $this->nodeTypeId = $nodeTypeId;
87 }
88 /**
89 * @return string
90 */
91 public function getNodeTypeId()
92 {
93 return $this->nodeTypeId;
94 }
95 /**
96 * @param int
97 */
98 public function setScaleOutSize($scaleOutSize)
99 {
100 $this->scaleOutSize = $scaleOutSize;
101 }
102 /**
103 * @return int
104 */
105 public function getScaleOutSize()
106 {
107 return $this->scaleOutSize;
108 }
109 /**
110 * @param Thresholds
111 */
112 public function setStorageThresholds(Thresholds $storageThresholds)
113 {
114 $this->storageThresholds = $storageThresholds;
115 }
116 /**
117 * @return Thresholds
118 */
119 public function getStorageThresholds()
120 {
121 return $this->storageThresholds;
122 }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(AutoscalingPolicy::class, 'Google_Service_VMwareEngine_AutoscalingPolicy');
Note: See TracBrowser for help on using the repository browser.