Skip to content

Commit 1f813ca

Browse files
Regenerate notebooks client
1 parent c9fa9d7 commit 1f813ca

File tree

6 files changed

+43
-19
lines changed

6 files changed

+43
-19
lines changed

src/AIPlatformNotebooks.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
8585
'type' => 'string',
8686
'required' => true,
8787
],
88+
'extraLocationTypes' => [
89+
'location' => 'query',
90+
'type' => 'string',
91+
'repeated' => true,
92+
],
8893
'filter' => [
8994
'location' => 'query',
9095
'type' => 'string',

src/AIPlatformNotebooks/ConfidentialInstanceConfig.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ class ConfidentialInstanceConfig extends \Google\Model
2323
* @var string
2424
*/
2525
public $confidentialInstanceType;
26-
/**
27-
* @var bool
28-
*/
29-
public $enableConfidentialCompute;
3026

3127
/**
3228
* @param string
@@ -42,20 +38,6 @@ public function getConfidentialInstanceType()
4238
{
4339
return $this->confidentialInstanceType;
4440
}
45-
/**
46-
* @param bool
47-
*/
48-
public function setEnableConfidentialCompute($enableConfidentialCompute)
49-
{
50-
$this->enableConfidentialCompute = $enableConfidentialCompute;
51-
}
52-
/**
53-
* @return bool
54-
*/
55-
public function getEnableConfidentialCompute()
56-
{
57-
return $this->enableConfidentialCompute;
58-
}
5941
}
6042

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

src/AIPlatformNotebooks/GceSetup.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ class GceSetup extends \Google\Collection
5454
public $minCpuPlatform;
5555
protected $networkInterfacesType = NetworkInterface::class;
5656
protected $networkInterfacesDataType = 'array';
57+
protected $reservationAffinityType = ReservationAffinity::class;
58+
protected $reservationAffinityDataType = '';
5759
protected $serviceAccountsType = ServiceAccount::class;
5860
protected $serviceAccountsDataType = 'array';
5961
protected $shieldedInstanceConfigType = ShieldedInstanceConfig::class;
@@ -233,6 +235,20 @@ public function getNetworkInterfaces()
233235
{
234236
return $this->networkInterfaces;
235237
}
238+
/**
239+
* @param ReservationAffinity
240+
*/
241+
public function setReservationAffinity(ReservationAffinity $reservationAffinity)
242+
{
243+
$this->reservationAffinity = $reservationAffinity;
244+
}
245+
/**
246+
* @return ReservationAffinity
247+
*/
248+
public function getReservationAffinity()
249+
{
250+
return $this->reservationAffinity;
251+
}
236252
/**
237253
* @param ServiceAccount[]
238254
*/

src/AIPlatformNotebooks/Instance.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ class Instance extends \Google\Collection
3232
* @var bool
3333
*/
3434
public $disableProxyAccess;
35+
/**
36+
* @var bool
37+
*/
38+
public $enableDeletionProtection;
3539
/**
3640
* @var bool
3741
*/
@@ -131,6 +135,20 @@ public function getDisableProxyAccess()
131135
{
132136
return $this->disableProxyAccess;
133137
}
138+
/**
139+
* @param bool
140+
*/
141+
public function setEnableDeletionProtection($enableDeletionProtection)
142+
{
143+
$this->enableDeletionProtection = $enableDeletionProtection;
144+
}
145+
/**
146+
* @return bool
147+
*/
148+
public function getEnableDeletionProtection()
149+
{
150+
return $this->enableDeletionProtection;
151+
}
134152
/**
135153
* @param bool
136154
*/

src/AIPlatformNotebooks/ReservationAffinity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ReservationAffinity extends \Google\Collection
3131
/**
3232
* @var string[]
3333
*/
34-
public $values = [];
34+
public $values;
3535

3636
/**
3737
* @param string

src/AIPlatformNotebooks/Resource/ProjectsLocations.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function get($name, $optParams = [])
5252
* applicable.
5353
* @param array $optParams Optional parameters.
5454
*
55+
* @opt_param string extraLocationTypes Optional. A list of extra location types
56+
* that should be used as conditions for controlling the visibility of the
57+
* locations.
5558
* @opt_param string filter A filter to narrow down results to a preferred
5659
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
5760
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).

0 commit comments

Comments
 (0)