source: vendor/google/apiclient-services/src/Pubsub/Topic.php@ f9c482b

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

Upload new 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\Pubsub;
19
20class Topic extends \Google\Model
21{
22 protected $ingestionDataSourceSettingsType = IngestionDataSourceSettings::class;
23 protected $ingestionDataSourceSettingsDataType = '';
24 /**
25 * @var string
26 */
27 public $kmsKeyName;
28 /**
29 * @var string[]
30 */
31 public $labels;
32 /**
33 * @var string
34 */
35 public $messageRetentionDuration;
36 protected $messageStoragePolicyType = MessageStoragePolicy::class;
37 protected $messageStoragePolicyDataType = '';
38 /**
39 * @var string
40 */
41 public $name;
42 /**
43 * @var bool
44 */
45 public $satisfiesPzs;
46 protected $schemaSettingsType = SchemaSettings::class;
47 protected $schemaSettingsDataType = '';
48 /**
49 * @var string
50 */
51 public $state;
52
53 /**
54 * @param IngestionDataSourceSettings
55 */
56 public function setIngestionDataSourceSettings(IngestionDataSourceSettings $ingestionDataSourceSettings)
57 {
58 $this->ingestionDataSourceSettings = $ingestionDataSourceSettings;
59 }
60 /**
61 * @return IngestionDataSourceSettings
62 */
63 public function getIngestionDataSourceSettings()
64 {
65 return $this->ingestionDataSourceSettings;
66 }
67 /**
68 * @param string
69 */
70 public function setKmsKeyName($kmsKeyName)
71 {
72 $this->kmsKeyName = $kmsKeyName;
73 }
74 /**
75 * @return string
76 */
77 public function getKmsKeyName()
78 {
79 return $this->kmsKeyName;
80 }
81 /**
82 * @param string[]
83 */
84 public function setLabels($labels)
85 {
86 $this->labels = $labels;
87 }
88 /**
89 * @return string[]
90 */
91 public function getLabels()
92 {
93 return $this->labels;
94 }
95 /**
96 * @param string
97 */
98 public function setMessageRetentionDuration($messageRetentionDuration)
99 {
100 $this->messageRetentionDuration = $messageRetentionDuration;
101 }
102 /**
103 * @return string
104 */
105 public function getMessageRetentionDuration()
106 {
107 return $this->messageRetentionDuration;
108 }
109 /**
110 * @param MessageStoragePolicy
111 */
112 public function setMessageStoragePolicy(MessageStoragePolicy $messageStoragePolicy)
113 {
114 $this->messageStoragePolicy = $messageStoragePolicy;
115 }
116 /**
117 * @return MessageStoragePolicy
118 */
119 public function getMessageStoragePolicy()
120 {
121 return $this->messageStoragePolicy;
122 }
123 /**
124 * @param string
125 */
126 public function setName($name)
127 {
128 $this->name = $name;
129 }
130 /**
131 * @return string
132 */
133 public function getName()
134 {
135 return $this->name;
136 }
137 /**
138 * @param bool
139 */
140 public function setSatisfiesPzs($satisfiesPzs)
141 {
142 $this->satisfiesPzs = $satisfiesPzs;
143 }
144 /**
145 * @return bool
146 */
147 public function getSatisfiesPzs()
148 {
149 return $this->satisfiesPzs;
150 }
151 /**
152 * @param SchemaSettings
153 */
154 public function setSchemaSettings(SchemaSettings $schemaSettings)
155 {
156 $this->schemaSettings = $schemaSettings;
157 }
158 /**
159 * @return SchemaSettings
160 */
161 public function getSchemaSettings()
162 {
163 return $this->schemaSettings;
164 }
165 /**
166 * @param string
167 */
168 public function setState($state)
169 {
170 $this->state = $state;
171 }
172 /**
173 * @return string
174 */
175 public function getState()
176 {
177 return $this->state;
178 }
179}
180
181// Adding a class alias for backwards compatibility with the previous class name.
182class_alias(Topic::class, 'Google_Service_Pubsub_Topic');
Note: See TracBrowser for help on using the repository browser.