Skip to content

Commit b56fe9b

Browse files
feat: [EdgeNetwork] A new field remote_peering_network_type is added to message google.cloud.edgenetwork.v1.Interconnect (#8696)
* feat: A new field `remote_peering_network_type` is added to message `google.cloud.edgenetwork.v1.Interconnect` feat: A new field `peering_type` is added to message `google.cloud.edgenetwork.v1.InterconnectAttachment` PiperOrigin-RevId: 824727309 Source-Link: googleapis/googleapis@b1a9eef Source-Link: googleapis/googleapis-gen@17ab239 Copy-Tag: eyJwIjoiRWRnZU5ldHdvcmsvLk93bEJvdC55YW1sIiwiaCI6IjE3YWIyMzkwYTAyMGM0YWVkMTU5ODY5NTRjOTkyZGQ3ZTcyYjYzY2QifQ== * 🦉 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 49efb9a commit b56fe9b

5 files changed

Lines changed: 171 additions & 17 deletions

File tree

356 Bytes
Binary file not shown.

EdgeNetwork/src/V1/Client/EdgeNetworkClient.php

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ final class EdgeNetworkClient
147147
private const CODEGEN_NAME = 'gapic';
148148

149149
/** The default scopes required by the service. */
150-
public static $serviceScopes = [
151-
'https://www.googleapis.com/auth/cloud-platform',
152-
];
150+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
153151

154152
private $operationsClient;
155153

@@ -231,8 +229,12 @@ private function createOperationsClient(array $options)
231229
*
232230
* @return string The formatted interconnect resource.
233231
*/
234-
public static function interconnectName(string $project, string $location, string $zone, string $interconnect): string
235-
{
232+
public static function interconnectName(
233+
string $project,
234+
string $location,
235+
string $zone,
236+
string $interconnect
237+
): string {
236238
return self::getPathTemplate('interconnect')->render([
237239
'project' => $project,
238240
'location' => $location,
@@ -252,8 +254,12 @@ public static function interconnectName(string $project, string $location, strin
252254
*
253255
* @return string The formatted interconnect_attachment resource.
254256
*/
255-
public static function interconnectAttachmentName(string $project, string $location, string $zone, string $interconnectAttachment): string
256-
{
257+
public static function interconnectAttachmentName(
258+
string $project,
259+
string $location,
260+
string $zone,
261+
string $interconnectAttachment
262+
): string {
257263
return self::getPathTemplate('interconnectAttachment')->render([
258264
'project' => $project,
259265
'location' => $location,
@@ -499,8 +505,10 @@ public function __call($method, $args)
499505
*
500506
* @throws ApiException Thrown if the API call fails.
501507
*/
502-
public function createInterconnectAttachment(CreateInterconnectAttachmentRequest $request, array $callOptions = []): OperationResponse
503-
{
508+
public function createInterconnectAttachment(
509+
CreateInterconnectAttachmentRequest $request,
510+
array $callOptions = []
511+
): OperationResponse {
504512
return $this->startApiCall('CreateInterconnectAttachment', $request, $callOptions)->wait();
505513
}
506514

@@ -604,8 +612,10 @@ public function createSubnet(CreateSubnetRequest $request, array $callOptions =
604612
*
605613
* @throws ApiException Thrown if the API call fails.
606614
*/
607-
public function deleteInterconnectAttachment(DeleteInterconnectAttachmentRequest $request, array $callOptions = []): OperationResponse
608-
{
615+
public function deleteInterconnectAttachment(
616+
DeleteInterconnectAttachmentRequest $request,
617+
array $callOptions = []
618+
): OperationResponse {
609619
return $this->startApiCall('DeleteInterconnectAttachment', $request, $callOptions)->wait();
610620
}
611621

@@ -708,8 +718,10 @@ public function deleteSubnet(DeleteSubnetRequest $request, array $callOptions =
708718
*
709719
* @throws ApiException Thrown if the API call fails.
710720
*/
711-
public function diagnoseInterconnect(DiagnoseInterconnectRequest $request, array $callOptions = []): DiagnoseInterconnectResponse
712-
{
721+
public function diagnoseInterconnect(
722+
DiagnoseInterconnectRequest $request,
723+
array $callOptions = []
724+
): DiagnoseInterconnectResponse {
713725
return $this->startApiCall('DiagnoseInterconnect', $request, $callOptions)->wait();
714726
}
715727

@@ -813,8 +825,10 @@ public function getInterconnect(GetInterconnectRequest $request, array $callOpti
813825
*
814826
* @throws ApiException Thrown if the API call fails.
815827
*/
816-
public function getInterconnectAttachment(GetInterconnectAttachmentRequest $request, array $callOptions = []): InterconnectAttachment
817-
{
828+
public function getInterconnectAttachment(
829+
GetInterconnectAttachmentRequest $request,
830+
array $callOptions = []
831+
): InterconnectAttachment {
818832
return $this->startApiCall('GetInterconnectAttachment', $request, $callOptions)->wait();
819833
}
820834

@@ -973,8 +987,10 @@ public function initializeZone(InitializeZoneRequest $request, array $callOption
973987
*
974988
* @throws ApiException Thrown if the API call fails.
975989
*/
976-
public function listInterconnectAttachments(ListInterconnectAttachmentsRequest $request, array $callOptions = []): PagedListResponse
977-
{
990+
public function listInterconnectAttachments(
991+
ListInterconnectAttachmentsRequest $request,
992+
array $callOptions = []
993+
): PagedListResponse {
978994
return $this->startApiCall('ListInterconnectAttachments', $request, $callOptions);
979995
}
980996

EdgeNetwork/src/V1/Interconnect.php

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

EdgeNetwork/src/V1/InterconnectAttachment.php

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

EdgeNetwork/src/V1/RemotePeeringNetworkType.php

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

0 commit comments

Comments
 (0)