Skip to content

Commit 6e9d990

Browse files
1 parent f6b2d87 commit 6e9d990

3 files changed

Lines changed: 242 additions & 1 deletion

File tree

src/Meet/GatewaySipAccess.php

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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\Meet;
19+
20+
class GatewaySipAccess extends \Google\Model
21+
{
22+
/**
23+
* Permanent numeric code for manual entry on specially configured devices.
24+
*
25+
* @var string
26+
*/
27+
public $sipAccessCode;
28+
/**
29+
* The SIP URI the conference can be reached through. The string is on one of
30+
* the formats: "sip:@" "sips:@" where currently is the 13-digit universal
31+
* pin, and is a valid address to be resolved using a DNS SRV lookup, or a
32+
* dotted quad.
33+
*
34+
* @var string
35+
*/
36+
public $uri;
37+
38+
/**
39+
* Permanent numeric code for manual entry on specially configured devices.
40+
*
41+
* @param string $sipAccessCode
42+
*/
43+
public function setSipAccessCode($sipAccessCode)
44+
{
45+
$this->sipAccessCode = $sipAccessCode;
46+
}
47+
/**
48+
* @return string
49+
*/
50+
public function getSipAccessCode()
51+
{
52+
return $this->sipAccessCode;
53+
}
54+
/**
55+
* The SIP URI the conference can be reached through. The string is on one of
56+
* the formats: "sip:@" "sips:@" where currently is the 13-digit universal
57+
* pin, and is a valid address to be resolved using a DNS SRV lookup, or a
58+
* dotted quad.
59+
*
60+
* @param string $uri
61+
*/
62+
public function setUri($uri)
63+
{
64+
$this->uri = $uri;
65+
}
66+
/**
67+
* @return string
68+
*/
69+
public function getUri()
70+
{
71+
return $this->uri;
72+
}
73+
}
74+
75+
// Adding a class alias for backwards compatibility with the previous class name.
76+
class_alias(GatewaySipAccess::class, 'Google_Service_Meet_GatewaySipAccess');

src/Meet/PhoneAccess.php

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
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\Meet;
19+
20+
class PhoneAccess extends \Google\Model
21+
{
22+
/**
23+
* The BCP 47/LDML language code for the language associated with this phone
24+
* access. To be parsed by the i18n LanguageCode utility. Examples: "es-419"
25+
* for Latin American Spanish, "fr-CA" for Canadian French.
26+
*
27+
* @var string
28+
*/
29+
public $languageCode;
30+
/**
31+
* The phone number to dial for this meeting space in E.164 format. Full phone
32+
* number with a leading '+' character.
33+
*
34+
* @var string
35+
*/
36+
public $phoneNumber;
37+
/**
38+
* The PIN that users must enter after dialing the given number. The PIN
39+
* consists of only decimal digits and the length may vary.
40+
*
41+
* @var string
42+
*/
43+
public $pin;
44+
/**
45+
* The CLDR/ISO 3166 region code for the country associated with this phone
46+
* access. To be parsed by the i18n RegionCode utility. Example: "SE" for
47+
* Sweden.
48+
*
49+
* @var string
50+
*/
51+
public $regionCode;
52+
53+
/**
54+
* The BCP 47/LDML language code for the language associated with this phone
55+
* access. To be parsed by the i18n LanguageCode utility. Examples: "es-419"
56+
* for Latin American Spanish, "fr-CA" for Canadian French.
57+
*
58+
* @param string $languageCode
59+
*/
60+
public function setLanguageCode($languageCode)
61+
{
62+
$this->languageCode = $languageCode;
63+
}
64+
/**
65+
* @return string
66+
*/
67+
public function getLanguageCode()
68+
{
69+
return $this->languageCode;
70+
}
71+
/**
72+
* The phone number to dial for this meeting space in E.164 format. Full phone
73+
* number with a leading '+' character.
74+
*
75+
* @param string $phoneNumber
76+
*/
77+
public function setPhoneNumber($phoneNumber)
78+
{
79+
$this->phoneNumber = $phoneNumber;
80+
}
81+
/**
82+
* @return string
83+
*/
84+
public function getPhoneNumber()
85+
{
86+
return $this->phoneNumber;
87+
}
88+
/**
89+
* The PIN that users must enter after dialing the given number. The PIN
90+
* consists of only decimal digits and the length may vary.
91+
*
92+
* @param string $pin
93+
*/
94+
public function setPin($pin)
95+
{
96+
$this->pin = $pin;
97+
}
98+
/**
99+
* @return string
100+
*/
101+
public function getPin()
102+
{
103+
return $this->pin;
104+
}
105+
/**
106+
* The CLDR/ISO 3166 region code for the country associated with this phone
107+
* access. To be parsed by the i18n RegionCode utility. Example: "SE" for
108+
* Sweden.
109+
*
110+
* @param string $regionCode
111+
*/
112+
public function setRegionCode($regionCode)
113+
{
114+
$this->regionCode = $regionCode;
115+
}
116+
/**
117+
* @return string
118+
*/
119+
public function getRegionCode()
120+
{
121+
return $this->regionCode;
122+
}
123+
}
124+
125+
// Adding a class alias for backwards compatibility with the previous class name.
126+
class_alias(PhoneAccess::class, 'Google_Service_Meet_PhoneAccess');

src/Meet/Space.php

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@
1717

1818
namespace Google\Service\Meet;
1919

20-
class Space extends \Google\Model
20+
class Space extends \Google\Collection
2121
{
22+
protected $collection_key = 'phoneAccess';
2223
protected $activeConferenceType = ActiveConference::class;
2324
protected $activeConferenceDataType = '';
2425
protected $configType = SpaceConfig::class;
2526
protected $configDataType = '';
27+
protected $gatewaySipAccessType = GatewaySipAccess::class;
28+
protected $gatewaySipAccessDataType = 'array';
2629
/**
2730
* Output only. Type friendly unique string used to join the meeting. Format:
2831
* `[a-z]+-[a-z]+-[a-z]+`. For example, `abc-mnop-xyz`. The maximum length is
@@ -51,6 +54,8 @@ class Space extends \Google\Model
5154
* @var string
5255
*/
5356
public $name;
57+
protected $phoneAccessType = PhoneAccess::class;
58+
protected $phoneAccessDataType = 'array';
5459

5560
/**
5661
* Active conference, if it exists.
@@ -84,6 +89,23 @@ public function getConfig()
8489
{
8590
return $this->config;
8691
}
92+
/**
93+
* Output only. The SIP based access methods that can be used to join the
94+
* conference. Can be empty.
95+
*
96+
* @param GatewaySipAccess[] $gatewaySipAccess
97+
*/
98+
public function setGatewaySipAccess($gatewaySipAccess)
99+
{
100+
$this->gatewaySipAccess = $gatewaySipAccess;
101+
}
102+
/**
103+
* @return GatewaySipAccess[]
104+
*/
105+
public function getGatewaySipAccess()
106+
{
107+
return $this->gatewaySipAccess;
108+
}
87109
/**
88110
* Output only. Type friendly unique string used to join the meeting. Format:
89111
* `[a-z]+-[a-z]+-[a-z]+`. For example, `abc-mnop-xyz`. The maximum length is
@@ -142,6 +164,23 @@ public function getName()
142164
{
143165
return $this->name;
144166
}
167+
/**
168+
* Output only. All regional phone access methods for this meeting space. Can
169+
* be empty.
170+
*
171+
* @param PhoneAccess[] $phoneAccess
172+
*/
173+
public function setPhoneAccess($phoneAccess)
174+
{
175+
$this->phoneAccess = $phoneAccess;
176+
}
177+
/**
178+
* @return PhoneAccess[]
179+
*/
180+
public function getPhoneAccess()
181+
{
182+
return $this->phoneAccess;
183+
}
145184
}
146185

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

0 commit comments

Comments
 (0)