Skip to content

Commit a19b5e1

Browse files
feat: [Batch] added new provisioning models (#8744)
* feat: added new provisioning models PiperOrigin-RevId: 833725203 Source-Link: googleapis/googleapis@e48d999 Source-Link: googleapis/googleapis-gen@aea94d1 Copy-Tag: eyJwIjoiQmF0Y2gvLk93bEJvdC55YW1sIiwiaCI6ImFlYTk0ZDFmOWZhYmYwZTJkMjc4MTY3ZDVkOGVkZjgwMjNiYzg2ZTcifQ== * 🦉 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 31228c6 commit a19b5e1

3 files changed

Lines changed: 24 additions & 6 deletions

File tree

Batch/metadata/V1/Job.php

44 Bytes
Binary file not shown.

Batch/src/V1/AllocationPolicy/ProvisioningModel.php

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Batch/src/V1/Client/BatchServiceClient.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ final class BatchServiceClient
101101
private const CODEGEN_NAME = 'gapic';
102102

103103
/** The default scopes required by the service. */
104-
public static $serviceScopes = [
105-
'https://www.googleapis.com/auth/cloud-platform',
106-
];
104+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
107105

108106
private $operationsClient;
109107

@@ -222,8 +220,13 @@ public static function locationName(string $project, string $location): string
222220
*
223221
* @return string The formatted task resource.
224222
*/
225-
public static function taskName(string $project, string $location, string $job, string $taskGroup, string $task): string
226-
{
223+
public static function taskName(
224+
string $project,
225+
string $location,
226+
string $job,
227+
string $taskGroup,
228+
string $task
229+
): string {
227230
return self::getPathTemplate('task')->render([
228231
'project' => $project,
229232
'location' => $location,

0 commit comments

Comments
 (0)