Skip to content

Commit 21db2a3

Browse files
1 parent 4a4d4e2 commit 21db2a3

6 files changed

Lines changed: 55 additions & 6 deletions

File tree

src/AIPlatformNotebooks.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
434434
'location' => 'query',
435435
'type' => 'string',
436436
],
437+
'returnPartialSuccess' => [
438+
'location' => 'query',
439+
'type' => 'boolean',
440+
],
437441
],
438442
],
439443
]

src/AIPlatformNotebooks/DataDisk.php

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717

1818
namespace Google\Service\AIPlatformNotebooks;
1919

20-
class DataDisk extends \Google\Model
20+
class DataDisk extends \Google\Collection
2121
{
22+
protected $collection_key = 'resourcePolicies';
2223
/**
2324
* @var string
2425
*/
@@ -35,6 +36,10 @@ class DataDisk extends \Google\Model
3536
* @var string
3637
*/
3738
public $kmsKey;
39+
/**
40+
* @var string[]
41+
*/
42+
public $resourcePolicies;
3843

3944
/**
4045
* @param string
@@ -92,6 +97,20 @@ public function getKmsKey()
9297
{
9398
return $this->kmsKey;
9499
}
100+
/**
101+
* @param string[]
102+
*/
103+
public function setResourcePolicies($resourcePolicies)
104+
{
105+
$this->resourcePolicies = $resourcePolicies;
106+
}
107+
/**
108+
* @return string[]
109+
*/
110+
public function getResourcePolicies()
111+
{
112+
return $this->resourcePolicies;
113+
}
95114
}
96115

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

src/AIPlatformNotebooks/ListOperationsResponse.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@
1919

2020
class ListOperationsResponse extends \Google\Collection
2121
{
22-
protected $collection_key = 'operations';
22+
protected $collection_key = 'unreachable';
2323
/**
2424
* @var string
2525
*/
2626
public $nextPageToken;
2727
protected $operationsType = Operation::class;
2828
protected $operationsDataType = 'array';
29+
/**
30+
* @var string[]
31+
*/
32+
public $unreachable;
2933

3034
/**
3135
* @param string
@@ -55,6 +59,20 @@ public function getOperations()
5559
{
5660
return $this->operations;
5761
}
62+
/**
63+
* @param string[]
64+
*/
65+
public function setUnreachable($unreachable)
66+
{
67+
$this->unreachable = $unreachable;
68+
}
69+
/**
70+
* @return string[]
71+
*/
72+
public function getUnreachable()
73+
{
74+
return $this->unreachable;
75+
}
5876
}
5977

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

src/AIPlatformNotebooks/Resource/ProjectsLocations.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +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.
55+
* @opt_param string extraLocationTypes Optional. Unless explicitly documented
56+
* otherwise, don't use this unsupported field which is primarily intended for
57+
* internal usage.
5858
* @opt_param string filter A filter to narrow down results to a preferred
5959
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
6060
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).

src/AIPlatformNotebooks/Resource/ProjectsLocationsInstances.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ public function listProjectsLocationsInstances($parent, $optParams = [])
243243
/**
244244
* UpdateInstance updates an Instance. (instances.patch)
245245
*
246-
* @param string $name Output only. The name of this notebook instance. Format:
246+
* @param string $name Output only. Identifier. The name of this notebook
247+
* instance. Format:
247248
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
248249
* @param Instance $postBody
249250
* @param array $optParams Optional parameters.

src/AIPlatformNotebooks/Resource/ProjectsLocationsOperations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ public function get($name, $optParams = [])
9999
* @opt_param string filter The standard list filter.
100100
* @opt_param int pageSize The standard list page size.
101101
* @opt_param string pageToken The standard list page token.
102+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
103+
* reachable are returned as normal, and those that are unreachable are returned
104+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
105+
* when reading across collections e.g. when `parent` is set to
106+
* `"projects/example/locations/-"`. This field is not by default supported and
107+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
108+
* otherwise in service or product specific documentation.
102109
* @return ListOperationsResponse
103110
* @throws \Google\Service\Exception
104111
*/

0 commit comments

Comments
 (0)