Skip to content

Commit 0f723b6

Browse files
1 parent ef01ff0 commit 0f723b6

5 files changed

Lines changed: 49 additions & 2 deletions

src/CloudRun.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
454454
'location' => 'query',
455455
'type' => 'string',
456456
],
457+
'returnPartialSuccess' => [
458+
'location' => 'query',
459+
'type' => 'boolean',
460+
],
457461
],
458462
],'wait' => [
459463
'path' => 'v2/{+name}:wait',

src/CloudRun/GoogleCloudRunV2SubmitBuildRequest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ class GoogleCloudRunV2SubmitBuildRequest extends \Google\Collection
2222
protected $collection_key = 'tags';
2323
protected $buildpackBuildType = GoogleCloudRunV2BuildpacksBuild::class;
2424
protected $buildpackBuildDataType = '';
25+
/**
26+
* @var string
27+
*/
28+
public $client;
2529
protected $dockerBuildType = GoogleCloudRunV2DockerBuild::class;
2630
protected $dockerBuildDataType = '';
2731
/**
@@ -65,6 +69,20 @@ public function getBuildpackBuild()
6569
{
6670
return $this->buildpackBuild;
6771
}
72+
/**
73+
* @param string
74+
*/
75+
public function setClient($client)
76+
{
77+
$this->client = $client;
78+
}
79+
/**
80+
* @return string
81+
*/
82+
public function getClient()
83+
{
84+
return $this->client;
85+
}
6886
/**
6987
* @param GoogleCloudRunV2DockerBuild
7088
*/

src/CloudRun/GoogleLongrunningListOperationsResponse.php

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

2020
class GoogleLongrunningListOperationsResponse 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 = GoogleLongrunningOperation::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/CloudRun/Resource/ProjectsLocationsOperations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ public function get($name, $optParams = [])
8484
* than or equal to 0, the default page size is 100. .
8585
* @opt_param string pageToken Token identifying which result to start with,
8686
* which is returned by a previous list call.
87+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
88+
* reachable are returned as normal, and those that are unreachable are returned
89+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
90+
* when reading across collections e.g. when `parent` is set to
91+
* `"projects/example/locations/-"`. This field is not by default supported and
92+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
93+
* otherwise in service or product specific documentation.
8794
* @return GoogleLongrunningListOperationsResponse
8895
* @throws \Google\Service\Exception
8996
*/

src/CloudRun/Resource/ProjectsLocationsServices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function listProjectsLocationsServices($parent, $optParams = [])
158158
/**
159159
* Updates a Service. (services.patch)
160160
*
161-
* @param string $name The fully qualified name of this Service. In
161+
* @param string $name Identifier. The fully qualified name of this Service. In
162162
* CreateServiceRequest, this field is ignored, and instead composed from
163163
* CreateServiceRequest.parent and CreateServiceRequest.service_id. Format:
164164
* projects/{project}/locations/{location}/services/{service_id}

0 commit comments

Comments
 (0)