Skip to content

Commit f80192c

Browse files
1 parent d106e70 commit f80192c

3 files changed

Lines changed: 97 additions & 0 deletions

File tree

src/AnalyticsHub/GooglePubsubV1Subscription.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ class GooglePubsubV1Subscription extends \Google\Collection
7070
public $retainAckedMessages;
7171
protected $retryPolicyType = RetryPolicy::class;
7272
protected $retryPolicyDataType = '';
73+
/**
74+
* @var string[]
75+
*/
76+
public $tags;
7377

7478
/**
7579
* @param int
@@ -295,6 +299,20 @@ public function getRetryPolicy()
295299
{
296300
return $this->retryPolicy;
297301
}
302+
/**
303+
* @param string[]
304+
*/
305+
public function setTags($tags)
306+
{
307+
$this->tags = $tags;
308+
}
309+
/**
310+
* @return string[]
311+
*/
312+
public function getTags()
313+
{
314+
return $this->tags;
315+
}
298316
}
299317

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

src/AnalyticsHub/Listing.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ class Listing extends \Google\Collection
8484
* @var string
8585
*/
8686
public $state;
87+
protected $storedProcedureConfigType = StoredProcedureConfig::class;
88+
protected $storedProcedureConfigDataType = '';
8789

8890
/**
8991
* @param bool
@@ -351,6 +353,20 @@ public function getState()
351353
{
352354
return $this->state;
353355
}
356+
/**
357+
* @param StoredProcedureConfig
358+
*/
359+
public function setStoredProcedureConfig(StoredProcedureConfig $storedProcedureConfig)
360+
{
361+
$this->storedProcedureConfig = $storedProcedureConfig;
362+
}
363+
/**
364+
* @return StoredProcedureConfig
365+
*/
366+
public function getStoredProcedureConfig()
367+
{
368+
return $this->storedProcedureConfig;
369+
}
354370
}
355371

356372
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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+
18+
namespace Google\Service\AnalyticsHub;
19+
20+
class StoredProcedureConfig extends \Google\Collection
21+
{
22+
protected $collection_key = 'allowedStoredProcedureTypes';
23+
/**
24+
* @var string[]
25+
*/
26+
public $allowedStoredProcedureTypes;
27+
/**
28+
* @var bool
29+
*/
30+
public $enabled;
31+
32+
/**
33+
* @param string[]
34+
*/
35+
public function setAllowedStoredProcedureTypes($allowedStoredProcedureTypes)
36+
{
37+
$this->allowedStoredProcedureTypes = $allowedStoredProcedureTypes;
38+
}
39+
/**
40+
* @return string[]
41+
*/
42+
public function getAllowedStoredProcedureTypes()
43+
{
44+
return $this->allowedStoredProcedureTypes;
45+
}
46+
/**
47+
* @param bool
48+
*/
49+
public function setEnabled($enabled)
50+
{
51+
$this->enabled = $enabled;
52+
}
53+
/**
54+
* @return bool
55+
*/
56+
public function getEnabled()
57+
{
58+
return $this->enabled;
59+
}
60+
}
61+
62+
// Adding a class alias for backwards compatibility with the previous class name.
63+
class_alias(StoredProcedureConfig::class, 'Google_Service_AnalyticsHub_StoredProcedureConfig');

0 commit comments

Comments
 (0)