Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Container/metadata/V1/ClusterService.php
Binary file not shown.
34 changes: 34 additions & 0 deletions Container/src/V1/AdditionalIPRangesConfig.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 69 additions & 0 deletions Container/src/V1/AdditionalIPRangesConfig/Status.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions Container/src/V1/AddonsConfig.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions Container/src/V1/Client/ClusterManagerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,25 @@ public static function cryptoKeyVersionName(
]);
}

/**
* Formats a string containing the fully-qualified path to represent a subnetwork
* resource.
*
* @param string $project
* @param string $region
* @param string $subnetwork
*
* @return string The formatted subnetwork resource.
*/
public static function subnetworkName(string $project, string $region, string $subnetwork): string
{
return self::getPathTemplate('subnetwork')->render([
'project' => $project,
'region' => $region,
'subnetwork' => $subnetwork,
]);
}

/**
* Formats a string containing the fully-qualified path to represent a topic
* resource.
Expand All @@ -248,6 +267,7 @@ public static function topicName(string $project, string $topic): string
* Template: Pattern
* - caPool: projects/{project}/locations/{location}/caPools/{ca_pool}
* - cryptoKeyVersion: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
* - subnetwork: projects/{project}/regions/{region}/subnetworks/{subnetwork}
* - topic: projects/{project}/topics/{topic}
*
* The optional $template argument can be supplied to specify a particular pattern,
Expand Down
68 changes: 56 additions & 12 deletions Container/src/V1/Cluster.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading