Skip to content

Commit 7f76f6e

Browse files
Regenerate managedkafka client (#6566)
1 parent f8d23d2 commit 7f76f6e

46 files changed

Lines changed: 4551 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ManagedKafka.php

Lines changed: 911 additions & 0 deletions
Large diffs are not rendered by default.

src/ManagedKafka/Acl.php

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
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\ManagedKafka;
19+
20+
class Acl extends \Google\Collection
21+
{
22+
protected $collection_key = 'aclEntries';
23+
protected $aclEntriesType = AclEntry::class;
24+
protected $aclEntriesDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $etag;
29+
/**
30+
* @var string
31+
*/
32+
public $name;
33+
/**
34+
* @var string
35+
*/
36+
public $patternType;
37+
/**
38+
* @var string
39+
*/
40+
public $resourceName;
41+
/**
42+
* @var string
43+
*/
44+
public $resourceType;
45+
46+
/**
47+
* @param AclEntry[]
48+
*/
49+
public function setAclEntries($aclEntries)
50+
{
51+
$this->aclEntries = $aclEntries;
52+
}
53+
/**
54+
* @return AclEntry[]
55+
*/
56+
public function getAclEntries()
57+
{
58+
return $this->aclEntries;
59+
}
60+
/**
61+
* @param string
62+
*/
63+
public function setEtag($etag)
64+
{
65+
$this->etag = $etag;
66+
}
67+
/**
68+
* @return string
69+
*/
70+
public function getEtag()
71+
{
72+
return $this->etag;
73+
}
74+
/**
75+
* @param string
76+
*/
77+
public function setName($name)
78+
{
79+
$this->name = $name;
80+
}
81+
/**
82+
* @return string
83+
*/
84+
public function getName()
85+
{
86+
return $this->name;
87+
}
88+
/**
89+
* @param string
90+
*/
91+
public function setPatternType($patternType)
92+
{
93+
$this->patternType = $patternType;
94+
}
95+
/**
96+
* @return string
97+
*/
98+
public function getPatternType()
99+
{
100+
return $this->patternType;
101+
}
102+
/**
103+
* @param string
104+
*/
105+
public function setResourceName($resourceName)
106+
{
107+
$this->resourceName = $resourceName;
108+
}
109+
/**
110+
* @return string
111+
*/
112+
public function getResourceName()
113+
{
114+
return $this->resourceName;
115+
}
116+
/**
117+
* @param string
118+
*/
119+
public function setResourceType($resourceType)
120+
{
121+
$this->resourceType = $resourceType;
122+
}
123+
/**
124+
* @return string
125+
*/
126+
public function getResourceType()
127+
{
128+
return $this->resourceType;
129+
}
130+
}
131+
132+
// Adding a class alias for backwards compatibility with the previous class name.
133+
class_alias(Acl::class, 'Google_Service_ManagedKafka_Acl');

src/ManagedKafka/AclEntry.php

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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\ManagedKafka;
19+
20+
class AclEntry extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $host;
26+
/**
27+
* @var string
28+
*/
29+
public $operation;
30+
/**
31+
* @var string
32+
*/
33+
public $permissionType;
34+
/**
35+
* @var string
36+
*/
37+
public $principal;
38+
39+
/**
40+
* @param string
41+
*/
42+
public function setHost($host)
43+
{
44+
$this->host = $host;
45+
}
46+
/**
47+
* @return string
48+
*/
49+
public function getHost()
50+
{
51+
return $this->host;
52+
}
53+
/**
54+
* @param string
55+
*/
56+
public function setOperation($operation)
57+
{
58+
$this->operation = $operation;
59+
}
60+
/**
61+
* @return string
62+
*/
63+
public function getOperation()
64+
{
65+
return $this->operation;
66+
}
67+
/**
68+
* @param string
69+
*/
70+
public function setPermissionType($permissionType)
71+
{
72+
$this->permissionType = $permissionType;
73+
}
74+
/**
75+
* @return string
76+
*/
77+
public function getPermissionType()
78+
{
79+
return $this->permissionType;
80+
}
81+
/**
82+
* @param string
83+
*/
84+
public function setPrincipal($principal)
85+
{
86+
$this->principal = $principal;
87+
}
88+
/**
89+
* @return string
90+
*/
91+
public function getPrincipal()
92+
{
93+
return $this->principal;
94+
}
95+
}
96+
97+
// Adding a class alias for backwards compatibility with the previous class name.
98+
class_alias(AclEntry::class, 'Google_Service_ManagedKafka_AclEntry');
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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\ManagedKafka;
19+
20+
class AddAclEntryResponse extends \Google\Model
21+
{
22+
protected $aclType = Acl::class;
23+
protected $aclDataType = '';
24+
/**
25+
* @var bool
26+
*/
27+
public $aclCreated;
28+
29+
/**
30+
* @param Acl
31+
*/
32+
public function setAcl(Acl $acl)
33+
{
34+
$this->acl = $acl;
35+
}
36+
/**
37+
* @return Acl
38+
*/
39+
public function getAcl()
40+
{
41+
return $this->acl;
42+
}
43+
/**
44+
* @param bool
45+
*/
46+
public function setAclCreated($aclCreated)
47+
{
48+
$this->aclCreated = $aclCreated;
49+
}
50+
/**
51+
* @return bool
52+
*/
53+
public function getAclCreated()
54+
{
55+
return $this->aclCreated;
56+
}
57+
}
58+
59+
// Adding a class alias for backwards compatibility with the previous class name.
60+
class_alias(AddAclEntryResponse::class, 'Google_Service_ManagedKafka_AddAclEntryResponse');
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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\ManagedKafka;
19+
20+
class CheckCompatibilityRequest extends \Google\Collection
21+
{
22+
protected $collection_key = 'references';
23+
protected $referencesType = SchemaReference::class;
24+
protected $referencesDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $schema;
29+
/**
30+
* @var string
31+
*/
32+
public $schemaType;
33+
/**
34+
* @var bool
35+
*/
36+
public $verbose;
37+
38+
/**
39+
* @param SchemaReference[]
40+
*/
41+
public function setReferences($references)
42+
{
43+
$this->references = $references;
44+
}
45+
/**
46+
* @return SchemaReference[]
47+
*/
48+
public function getReferences()
49+
{
50+
return $this->references;
51+
}
52+
/**
53+
* @param string
54+
*/
55+
public function setSchema($schema)
56+
{
57+
$this->schema = $schema;
58+
}
59+
/**
60+
* @return string
61+
*/
62+
public function getSchema()
63+
{
64+
return $this->schema;
65+
}
66+
/**
67+
* @param string
68+
*/
69+
public function setSchemaType($schemaType)
70+
{
71+
$this->schemaType = $schemaType;
72+
}
73+
/**
74+
* @return string
75+
*/
76+
public function getSchemaType()
77+
{
78+
return $this->schemaType;
79+
}
80+
/**
81+
* @param bool
82+
*/
83+
public function setVerbose($verbose)
84+
{
85+
$this->verbose = $verbose;
86+
}
87+
/**
88+
* @return bool
89+
*/
90+
public function getVerbose()
91+
{
92+
return $this->verbose;
93+
}
94+
}
95+
96+
// Adding a class alias for backwards compatibility with the previous class name.
97+
class_alias(CheckCompatibilityRequest::class, 'Google_Service_ManagedKafka_CheckCompatibilityRequest');

0 commit comments

Comments
 (0)