Skip to content

Commit f3be5a5

Browse files
1 parent 65ccead commit f3be5a5

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/ArtifactRegistry/Hash.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ class Hash extends \Google\Model
3131
* MD5 hash.
3232
*/
3333
public const TYPE_MD5 = 'MD5';
34+
/**
35+
* Dirsum SHA256 hash.
36+
*/
37+
public const TYPE_DIRSUM_SHA256 = 'DIRSUM_SHA256';
3438
/**
3539
* The algorithm used to compute the hash value.
3640
*
@@ -47,7 +51,7 @@ class Hash extends \Google\Model
4751
/**
4852
* The algorithm used to compute the hash value.
4953
*
50-
* Accepted values: HASH_TYPE_UNSPECIFIED, SHA256, MD5
54+
* Accepted values: HASH_TYPE_UNSPECIFIED, SHA256, MD5, DIRSUM_SHA256
5155
*
5256
* @param self::TYPE_* $type
5357
*/

src/ArtifactRegistry/Resource/ProjectsLocations.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ public function getVpcscConfig($name, $optParams = [])
6060
return $this->call('getVpcscConfig', [$params], VPCSCConfig::class);
6161
}
6262
/**
63-
* Lists information about the supported locations for this service.
63+
* Lists information about the supported locations for this service. This method
64+
* can be called in two ways: * **List all public locations:** Use the path `GET
65+
* /v1/locations`. * **List project-visible locations:** Use the path `GET
66+
* /v1/projects/{project_id}/locations`. This may include public locations as
67+
* well as private or other locations specifically visible to the project.
6468
* (locations.listProjectsLocations)
6569
*
6670
* @param string $name The resource that owns the locations collection, if

0 commit comments

Comments
 (0)