Skip to content

Commit 722181a

Browse files
feat: [Dataproc] Added support for JUPYTER_KERNEL_GATEWAY component (#8618)
* feat: Added support for JUPYTER_KERNEL_GATEWAY component PiperOrigin-RevId: 810157893 Source-Link: googleapis/googleapis@d89b4d0 Source-Link: googleapis/googleapis-gen@40b65d2 Copy-Tag: eyJwIjoiRGF0YXByb2MvLk93bEJvdC55YW1sIiwiaCI6IjQwYjY1ZDI2YzIzMTc2ZjZjMjIyOTA1NGUxMDQxOWM2NWJkNGJlM2YifQ== * 🦉 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 4fe529d commit 722181a

10 files changed

Lines changed: 121 additions & 75 deletions

Dataproc/metadata/V1/Shared.php

28 Bytes
Binary file not shown.

Dataproc/src/V1/Client/AutoscalingPolicyServiceClient.php

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ final class AutoscalingPolicyServiceClient
9494
private const CODEGEN_NAME = 'gapic';
9595

9696
/** The default scopes required by the service. */
97-
public static $serviceScopes = [
98-
'https://www.googleapis.com/auth/cloud-platform',
99-
];
97+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
10098

10199
private static function getClientDefaults()
102100
{
@@ -111,7 +109,8 @@ private static function getClientDefaults()
111109
],
112110
'transportConfig' => [
113111
'rest' => [
114-
'restClientConfigPath' => __DIR__ . '/../resources/autoscaling_policy_service_rest_client_config.php',
112+
'restClientConfigPath' =>
113+
__DIR__ . '/../resources/autoscaling_policy_service_rest_client_config.php',
115114
],
116115
],
117116
];
@@ -163,8 +162,11 @@ public static function locationName(string $project, string $location): string
163162
*
164163
* @return string The formatted project_location_autoscaling_policy resource.
165164
*/
166-
public static function projectLocationAutoscalingPolicyName(string $project, string $location, string $autoscalingPolicy): string
167-
{
165+
public static function projectLocationAutoscalingPolicyName(
166+
string $project,
167+
string $location,
168+
string $autoscalingPolicy
169+
): string {
168170
return self::getPathTemplate('projectLocationAutoscalingPolicy')->render([
169171
'project' => $project,
170172
'location' => $location,
@@ -182,8 +184,11 @@ public static function projectLocationAutoscalingPolicyName(string $project, str
182184
*
183185
* @return string The formatted project_region_autoscaling_policy resource.
184186
*/
185-
public static function projectRegionAutoscalingPolicyName(string $project, string $region, string $autoscalingPolicy): string
186-
{
187+
public static function projectRegionAutoscalingPolicyName(
188+
string $project,
189+
string $region,
190+
string $autoscalingPolicy
191+
): string {
187192
return self::getPathTemplate('projectRegionAutoscalingPolicy')->render([
188193
'project' => $project,
189194
'region' => $region,
@@ -343,8 +348,10 @@ public function __call($method, $args)
343348
*
344349
* @throws ApiException Thrown if the API call fails.
345350
*/
346-
public function createAutoscalingPolicy(CreateAutoscalingPolicyRequest $request, array $callOptions = []): AutoscalingPolicy
347-
{
351+
public function createAutoscalingPolicy(
352+
CreateAutoscalingPolicyRequest $request,
353+
array $callOptions = []
354+
): AutoscalingPolicy {
348355
return $this->startApiCall('CreateAutoscalingPolicy', $request, $callOptions)->wait();
349356
}
350357

@@ -396,8 +403,10 @@ public function deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest $request,
396403
*
397404
* @throws ApiException Thrown if the API call fails.
398405
*/
399-
public function getAutoscalingPolicy(GetAutoscalingPolicyRequest $request, array $callOptions = []): AutoscalingPolicy
400-
{
406+
public function getAutoscalingPolicy(
407+
GetAutoscalingPolicyRequest $request,
408+
array $callOptions = []
409+
): AutoscalingPolicy {
401410
return $this->startApiCall('GetAutoscalingPolicy', $request, $callOptions)->wait();
402411
}
403412

@@ -423,8 +432,10 @@ public function getAutoscalingPolicy(GetAutoscalingPolicyRequest $request, array
423432
*
424433
* @throws ApiException Thrown if the API call fails.
425434
*/
426-
public function listAutoscalingPolicies(ListAutoscalingPoliciesRequest $request, array $callOptions = []): PagedListResponse
427-
{
435+
public function listAutoscalingPolicies(
436+
ListAutoscalingPoliciesRequest $request,
437+
array $callOptions = []
438+
): PagedListResponse {
428439
return $this->startApiCall('ListAutoscalingPolicies', $request, $callOptions);
429440
}
430441

@@ -453,8 +464,10 @@ public function listAutoscalingPolicies(ListAutoscalingPoliciesRequest $request,
453464
*
454465
* @throws ApiException Thrown if the API call fails.
455466
*/
456-
public function updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest $request, array $callOptions = []): AutoscalingPolicy
457-
{
467+
public function updateAutoscalingPolicy(
468+
UpdateAutoscalingPolicyRequest $request,
469+
array $callOptions = []
470+
): AutoscalingPolicy {
458471
return $this->startApiCall('UpdateAutoscalingPolicy', $request, $callOptions)->wait();
459472
}
460473

@@ -545,8 +558,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
545558
*
546559
* @throws ApiException Thrown if the API call fails.
547560
*/
548-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
549-
{
561+
public function testIamPermissions(
562+
TestIamPermissionsRequest $request,
563+
array $callOptions = []
564+
): TestIamPermissionsResponse {
550565
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
551566
}
552567
}

Dataproc/src/V1/Client/BatchControllerClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ final class BatchControllerClient
9494
private const CODEGEN_NAME = 'gapic';
9595

9696
/** The default scopes required by the service. */
97-
public static $serviceScopes = [
98-
'https://www.googleapis.com/auth/cloud-platform',
99-
];
97+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
10098

10199
private $operationsClient;
102100

@@ -521,8 +519,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
521519
*
522520
* @throws ApiException Thrown if the API call fails.
523521
*/
524-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
525-
{
522+
public function testIamPermissions(
523+
TestIamPermissionsRequest $request,
524+
array $callOptions = []
525+
): TestIamPermissionsResponse {
526526
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
527527
}
528528
}

Dataproc/src/V1/Client/ClusterControllerClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ final class ClusterControllerClient
105105
private const CODEGEN_NAME = 'gapic';
106106

107107
/** The default scopes required by the service. */
108-
public static $serviceScopes = [
109-
'https://www.googleapis.com/auth/cloud-platform',
110-
];
108+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
111109

112110
private $operationsClient;
113111

@@ -698,8 +696,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
698696
*
699697
* @throws ApiException Thrown if the API call fails.
700698
*/
701-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
702-
{
699+
public function testIamPermissions(
700+
TestIamPermissionsRequest $request,
701+
array $callOptions = []
702+
): TestIamPermissionsResponse {
703703
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
704704
}
705705
}

Dataproc/src/V1/Client/JobControllerClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ final class JobControllerClient
9292
private const CODEGEN_NAME = 'gapic';
9393

9494
/** The default scopes required by the service. */
95-
public static $serviceScopes = [
96-
'https://www.googleapis.com/auth/cloud-platform',
97-
];
95+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
9896

9997
private $operationsClient;
10098

@@ -520,8 +518,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
520518
*
521519
* @throws ApiException Thrown if the API call fails.
522520
*/
523-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
524-
{
521+
public function testIamPermissions(
522+
TestIamPermissionsRequest $request,
523+
array $callOptions = []
524+
): TestIamPermissionsResponse {
525525
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
526526
}
527527
}

Dataproc/src/V1/Client/NodeGroupControllerClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ final class NodeGroupControllerClient
9393
private const CODEGEN_NAME = 'gapic';
9494

9595
/** The default scopes required by the service. */
96-
public static $serviceScopes = [
97-
'https://www.googleapis.com/auth/cloud-platform',
98-
];
96+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
9997

10098
private $operationsClient;
10199

@@ -485,8 +483,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
485483
*
486484
* @throws ApiException Thrown if the API call fails.
487485
*/
488-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
489-
{
486+
public function testIamPermissions(
487+
TestIamPermissionsRequest $request,
488+
array $callOptions = []
489+
): TestIamPermissionsResponse {
490490
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
491491
}
492492
}

Dataproc/src/V1/Client/SessionControllerClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ final class SessionControllerClient
9696
private const CODEGEN_NAME = 'gapic';
9797

9898
/** The default scopes required by the service. */
99-
public static $serviceScopes = [
100-
'https://www.googleapis.com/auth/cloud-platform',
101-
];
99+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
102100

103101
private $operationsClient;
104102

@@ -571,8 +569,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
571569
*
572570
* @throws ApiException Thrown if the API call fails.
573571
*/
574-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
575-
{
572+
public function testIamPermissions(
573+
TestIamPermissionsRequest $request,
574+
array $callOptions = []
575+
): TestIamPermissionsResponse {
576576
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
577577
}
578578
}

Dataproc/src/V1/Client/SessionTemplateControllerClient.php

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ final class SessionTemplateControllerClient
9393
private const CODEGEN_NAME = 'gapic';
9494

9595
/** The default scopes required by the service. */
96-
public static $serviceScopes = [
97-
'https://www.googleapis.com/auth/cloud-platform',
98-
];
96+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
9997

10098
private static function getClientDefaults()
10199
{
@@ -110,7 +108,8 @@ private static function getClientDefaults()
110108
],
111109
'transportConfig' => [
112110
'rest' => [
113-
'restClientConfigPath' => __DIR__ . '/../resources/session_template_controller_rest_client_config.php',
111+
'restClientConfigPath' =>
112+
__DIR__ . '/../resources/session_template_controller_rest_client_config.php',
114113
],
115114
],
116115
];
@@ -304,8 +303,10 @@ public function __call($method, $args)
304303
*
305304
* @throws ApiException Thrown if the API call fails.
306305
*/
307-
public function createSessionTemplate(CreateSessionTemplateRequest $request, array $callOptions = []): SessionTemplate
308-
{
306+
public function createSessionTemplate(
307+
CreateSessionTemplateRequest $request,
308+
array $callOptions = []
309+
): SessionTemplate {
309310
return $this->startApiCall('CreateSessionTemplate', $request, $callOptions)->wait();
310311
}
311312

@@ -383,8 +384,10 @@ public function getSessionTemplate(GetSessionTemplateRequest $request, array $ca
383384
*
384385
* @throws ApiException Thrown if the API call fails.
385386
*/
386-
public function listSessionTemplates(ListSessionTemplatesRequest $request, array $callOptions = []): PagedListResponse
387-
{
387+
public function listSessionTemplates(
388+
ListSessionTemplatesRequest $request,
389+
array $callOptions = []
390+
): PagedListResponse {
388391
return $this->startApiCall('ListSessionTemplates', $request, $callOptions);
389392
}
390393

@@ -410,8 +413,10 @@ public function listSessionTemplates(ListSessionTemplatesRequest $request, array
410413
*
411414
* @throws ApiException Thrown if the API call fails.
412415
*/
413-
public function updateSessionTemplate(UpdateSessionTemplateRequest $request, array $callOptions = []): SessionTemplate
414-
{
416+
public function updateSessionTemplate(
417+
UpdateSessionTemplateRequest $request,
418+
array $callOptions = []
419+
): SessionTemplate {
415420
return $this->startApiCall('UpdateSessionTemplate', $request, $callOptions)->wait();
416421
}
417422

@@ -502,8 +507,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
502507
*
503508
* @throws ApiException Thrown if the API call fails.
504509
*/
505-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
506-
{
510+
public function testIamPermissions(
511+
TestIamPermissionsRequest $request,
512+
array $callOptions = []
513+
): TestIamPermissionsResponse {
507514
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
508515
}
509516
}

0 commit comments

Comments
 (0)