source: vendor/google/apiclient-services/src/CloudBillingBudget/GoogleCloudBillingBudgetsV1Budget.php

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

Upload project files

  • Property mode set to 100644
File size: 3.8 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\CloudBillingBudget;
19
20class GoogleCloudBillingBudgetsV1Budget extends \Google\Collection
21{
22 protected $collection_key = 'thresholdRules';
23 protected $amountType = GoogleCloudBillingBudgetsV1BudgetAmount::class;
24 protected $amountDataType = '';
25 protected $budgetFilterType = GoogleCloudBillingBudgetsV1Filter::class;
26 protected $budgetFilterDataType = '';
27 /**
28 * @var string
29 */
30 public $displayName;
31 /**
32 * @var string
33 */
34 public $etag;
35 /**
36 * @var string
37 */
38 public $name;
39 protected $notificationsRuleType = GoogleCloudBillingBudgetsV1NotificationsRule::class;
40 protected $notificationsRuleDataType = '';
41 /**
42 * @var string
43 */
44 public $ownershipScope;
45 protected $thresholdRulesType = GoogleCloudBillingBudgetsV1ThresholdRule::class;
46 protected $thresholdRulesDataType = 'array';
47
48 /**
49 * @param GoogleCloudBillingBudgetsV1BudgetAmount
50 */
51 public function setAmount(GoogleCloudBillingBudgetsV1BudgetAmount $amount)
52 {
53 $this->amount = $amount;
54 }
55 /**
56 * @return GoogleCloudBillingBudgetsV1BudgetAmount
57 */
58 public function getAmount()
59 {
60 return $this->amount;
61 }
62 /**
63 * @param GoogleCloudBillingBudgetsV1Filter
64 */
65 public function setBudgetFilter(GoogleCloudBillingBudgetsV1Filter $budgetFilter)
66 {
67 $this->budgetFilter = $budgetFilter;
68 }
69 /**
70 * @return GoogleCloudBillingBudgetsV1Filter
71 */
72 public function getBudgetFilter()
73 {
74 return $this->budgetFilter;
75 }
76 /**
77 * @param string
78 */
79 public function setDisplayName($displayName)
80 {
81 $this->displayName = $displayName;
82 }
83 /**
84 * @return string
85 */
86 public function getDisplayName()
87 {
88 return $this->displayName;
89 }
90 /**
91 * @param string
92 */
93 public function setEtag($etag)
94 {
95 $this->etag = $etag;
96 }
97 /**
98 * @return string
99 */
100 public function getEtag()
101 {
102 return $this->etag;
103 }
104 /**
105 * @param string
106 */
107 public function setName($name)
108 {
109 $this->name = $name;
110 }
111 /**
112 * @return string
113 */
114 public function getName()
115 {
116 return $this->name;
117 }
118 /**
119 * @param GoogleCloudBillingBudgetsV1NotificationsRule
120 */
121 public function setNotificationsRule(GoogleCloudBillingBudgetsV1NotificationsRule $notificationsRule)
122 {
123 $this->notificationsRule = $notificationsRule;
124 }
125 /**
126 * @return GoogleCloudBillingBudgetsV1NotificationsRule
127 */
128 public function getNotificationsRule()
129 {
130 return $this->notificationsRule;
131 }
132 /**
133 * @param string
134 */
135 public function setOwnershipScope($ownershipScope)
136 {
137 $this->ownershipScope = $ownershipScope;
138 }
139 /**
140 * @return string
141 */
142 public function getOwnershipScope()
143 {
144 return $this->ownershipScope;
145 }
146 /**
147 * @param GoogleCloudBillingBudgetsV1ThresholdRule[]
148 */
149 public function setThresholdRules($thresholdRules)
150 {
151 $this->thresholdRules = $thresholdRules;
152 }
153 /**
154 * @return GoogleCloudBillingBudgetsV1ThresholdRule[]
155 */
156 public function getThresholdRules()
157 {
158 return $this->thresholdRules;
159 }
160}
161
162// Adding a class alias for backwards compatibility with the previous class name.
163class_alias(GoogleCloudBillingBudgetsV1Budget::class, 'Google_Service_CloudBillingBudget_GoogleCloudBillingBudgetsV1Budget');
Note: See TracBrowser for help on using the repository browser.