Skip to content

Commit 3af3b19

Browse files
feat: [Memorystore] A new field Instance.simulate_maintenance_event is added to message .google.cloud.memorystore.v1. (#8812)
* feat: A new field `Instance.simulate_maintenance_event` is added to message `.google.cloud.memorystore.v1.` feat: A new field `satisfies_pzs` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `satisfies_pzi` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `kms_key` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `encryption_info` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `maintenance_version` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `effective_maintenance_version` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `available_maintenance_versions` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `allow_fewer_zones_deployment` is added to message `.google.cloud.memorystore.v1.Instance` feat: A new field `total_backup_size_bytes` is added to message `.google.cloud.memorystore.v1.BackupCollection` feat: A new field `total_backup_count` is added to message `.google.cloud.memorystore.v1.BackupCollection` feat: A new field `last_backup_time` is added to message `.google.cloud.memorystore.v1.BackupCollection` feat: A new field `encryption_info` is added to message `.google.cloud.memorystore.v1.Backup` feat: A new message `EncryptionInfo` is added docs: A comment for field `discovery_endpoints` in message `.google.cloud.memorystore.v1.Instance` is changed PiperOrigin-RevId: 844938993 Source-Link: googleapis/googleapis@b60f5a5 Source-Link: googleapis/googleapis-gen@de5725e Copy-Tag: eyJwIjoiTWVtb3J5c3RvcmUvLk93bEJvdC55YW1sIiwiaCI6ImRlNTcyNWUwNjVlNmRkNzY0ODk5MzFmNjQzYmFmNWE4M2VkNGU1ZmYifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 90d5b44 commit 3af3b19

10 files changed

Lines changed: 1090 additions & 11 deletions

File tree

1.55 KB
Binary file not shown.

Memorystore/src/V1/Backup.php

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Memorystore/src/V1/BackupCollection.php

Lines changed: 112 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Memorystore/src/V1/Client/MemorystoreClient.php

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,55 @@ public static function backupCollectionName(string $project, string $location, s
241241
]);
242242
}
243243

244+
/**
245+
* Formats a string containing the fully-qualified path to represent a crypto_key
246+
* resource.
247+
*
248+
* @param string $project
249+
* @param string $location
250+
* @param string $keyRing
251+
* @param string $cryptoKey
252+
*
253+
* @return string The formatted crypto_key resource.
254+
*/
255+
public static function cryptoKeyName(string $project, string $location, string $keyRing, string $cryptoKey): string
256+
{
257+
return self::getPathTemplate('cryptoKey')->render([
258+
'project' => $project,
259+
'location' => $location,
260+
'key_ring' => $keyRing,
261+
'crypto_key' => $cryptoKey,
262+
]);
263+
}
264+
265+
/**
266+
* Formats a string containing the fully-qualified path to represent a
267+
* crypto_key_version resource.
268+
*
269+
* @param string $project
270+
* @param string $location
271+
* @param string $keyRing
272+
* @param string $cryptoKey
273+
* @param string $cryptoKeyVersion
274+
*
275+
* @return string The formatted crypto_key_version resource.
276+
*/
277+
public static function cryptoKeyVersionName(
278+
string $project,
279+
string $location,
280+
string $keyRing,
281+
string $cryptoKey,
282+
string $cryptoKeyVersion
283+
): string {
284+
return self::getPathTemplate('cryptoKeyVersion')->render([
285+
'project' => $project,
286+
'location' => $location,
287+
'key_ring' => $keyRing,
288+
'crypto_key' => $cryptoKey,
289+
'crypto_key_version' => $cryptoKeyVersion,
290+
]);
291+
}
292+
244293
/**
245294
* Formats a string containing the fully-qualified path to represent a
246295
* forwarding_rule resource.
@@ -338,6 +387,8 @@ public static function serviceAttachmentName(string $project, string $region, st
338387
* Template: Pattern
339388
* - backup: projects/{project}/locations/{location}/backupCollections/{backup_collection}/backups/{backup}
340389
* - backupCollection: projects/{project}/locations/{location}/backupCollections/{backup_collection}
390+
* - cryptoKey: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
391+
* - cryptoKeyVersion: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
341392
* - forwardingRule: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
342393
* - instance: projects/{project}/locations/{location}/instances/{instance}
343394
* - location: projects/{project}/locations/{location}

0 commit comments

Comments
 (0)