Skip to content

Commit f6b2d87

Browse files
1 parent 774be2f commit f6b2d87

2 files changed

Lines changed: 90 additions & 7 deletions

File tree

src/StorageBatchOperations/Counters.php

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,35 @@
2020
class Counters extends \Google\Model
2121
{
2222
/**
23-
* Output only. Number of objects failed.
23+
* Output only. The number of objects that failed due to user errors or
24+
* service errors.
2425
*
2526
* @var string
2627
*/
2728
public $failedObjectCount;
29+
/**
30+
* Output only. Number of object custom contexts created. This field is only
31+
* populated for jobs with the UpdateObjectCustomContext transformation.
32+
*
33+
* @var string
34+
*/
35+
public $objectCustomContextsCreated;
36+
/**
37+
* Output only. Number of object custom contexts deleted. This field is only
38+
* populated for jobs with the UpdateObjectCustomContext transformation.
39+
*
40+
* @var string
41+
*/
42+
public $objectCustomContextsDeleted;
43+
/**
44+
* Output only. Number of object custom contexts updated. This counter tracks
45+
* custom contexts where the key already existed, but the payload was
46+
* modified. This field is only populated for jobs with the
47+
* UpdateObjectCustomContext transformation.
48+
*
49+
* @var string
50+
*/
51+
public $objectCustomContextsUpdated;
2852
/**
2953
* Output only. Number of objects completed.
3054
*
@@ -46,7 +70,8 @@ class Counters extends \Google\Model
4670
public $totalObjectCount;
4771

4872
/**
49-
* Output only. Number of objects failed.
73+
* Output only. The number of objects that failed due to user errors or
74+
* service errors.
5075
*
5176
* @param string $failedObjectCount
5277
*/
@@ -61,6 +86,59 @@ public function getFailedObjectCount()
6186
{
6287
return $this->failedObjectCount;
6388
}
89+
/**
90+
* Output only. Number of object custom contexts created. This field is only
91+
* populated for jobs with the UpdateObjectCustomContext transformation.
92+
*
93+
* @param string $objectCustomContextsCreated
94+
*/
95+
public function setObjectCustomContextsCreated($objectCustomContextsCreated)
96+
{
97+
$this->objectCustomContextsCreated = $objectCustomContextsCreated;
98+
}
99+
/**
100+
* @return string
101+
*/
102+
public function getObjectCustomContextsCreated()
103+
{
104+
return $this->objectCustomContextsCreated;
105+
}
106+
/**
107+
* Output only. Number of object custom contexts deleted. This field is only
108+
* populated for jobs with the UpdateObjectCustomContext transformation.
109+
*
110+
* @param string $objectCustomContextsDeleted
111+
*/
112+
public function setObjectCustomContextsDeleted($objectCustomContextsDeleted)
113+
{
114+
$this->objectCustomContextsDeleted = $objectCustomContextsDeleted;
115+
}
116+
/**
117+
* @return string
118+
*/
119+
public function getObjectCustomContextsDeleted()
120+
{
121+
return $this->objectCustomContextsDeleted;
122+
}
123+
/**
124+
* Output only. Number of object custom contexts updated. This counter tracks
125+
* custom contexts where the key already existed, but the payload was
126+
* modified. This field is only populated for jobs with the
127+
* UpdateObjectCustomContext transformation.
128+
*
129+
* @param string $objectCustomContextsUpdated
130+
*/
131+
public function setObjectCustomContextsUpdated($objectCustomContextsUpdated)
132+
{
133+
$this->objectCustomContextsUpdated = $objectCustomContextsUpdated;
134+
}
135+
/**
136+
* @return string
137+
*/
138+
public function getObjectCustomContextsUpdated()
139+
{
140+
return $this->objectCustomContextsUpdated;
141+
}
64142
/**
65143
* Output only. Number of objects completed.
66144
*

src/StorageBatchOperations/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,16 @@ public function get($name, $optParams = [])
4646
}
4747
/**
4848
* Lists information about the supported locations for this service. This method
49-
* can be called in two ways: * **List all public locations:** Use the path `GET
50-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51-
* /v1/projects/{project_id}/locations`. This may include public locations as
52-
* well as private or other locations specifically visible to the project.
53-
* (locations.listProjectsLocations)
49+
* lists locations based on the resource scope provided in the
50+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
51+
* empty, the method lists the public locations available to all projects. *
52+
* **Project-specific locations**: If `name` follows the format
53+
* `projects/{project}`, the method lists locations visible to that specific
54+
* project. This includes public, private, or other project-specific locations
55+
* enabled for the project. For gRPC and client library implementations, the
56+
* resource name is passed as the `name` field. For direct service calls, the
57+
* resource name is incorporated into the request path based on the specific
58+
* service implementation and version. (locations.listProjectsLocations)
5459
*
5560
* @param string $name The resource that owns the locations collection, if
5661
* applicable.

0 commit comments

Comments
 (0)