Skip to content

Commit

Permalink
Regenerate beyondcorp client (#5708)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Oct 14, 2024
1 parent 6b30506 commit 9127272
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 25 deletions.
16 changes: 8 additions & 8 deletions src/BeyondCorp/GoogleCloudBeyondcorpSecuritygatewaysV1Hub.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@

class GoogleCloudBeyondcorpSecuritygatewaysV1Hub extends \Google\Model
{
protected $natGatewayConfigType = GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig::class;
protected $natGatewayConfigDataType = '';
protected $internetGatewayType = GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway::class;
protected $internetGatewayDataType = '';

/**
* @param GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
* @param GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
*/
public function setNatGatewayConfig(GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig $natGatewayConfig)
public function setInternetGateway(GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway $internetGateway)
{
$this->natGatewayConfig = $natGatewayConfig;
$this->internetGateway = $internetGateway;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
* @return GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
*/
public function getNatGatewayConfig()
public function getInternetGateway()
{
return $this->natGatewayConfig;
return $this->internetGateway;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\BeyondCorp;

class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway extends \Google\Collection
{
protected $collection_key = 'assignedIps';
/**
* @var string[]
*/
public $assignedIps;

/**
* @param string[]
*/
public function setAssignedIps($assignedIps)
{
$this->assignedIps = $assignedIps;
}
/**
* @return string[]
*/
public function getAssignedIps()
{
return $this->assignedIps;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway');
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest extends \Google\Collection
{
protected $collection_key = 'vpcPeerings';
protected $collection_key = 'peerings';
protected $peeringsType = GoogleCloudBeyondcorpSecuritygatewaysV1Peering::class;
protected $peeringsDataType = 'array';
/**
* @var string
*/
Expand All @@ -28,9 +30,21 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest extends \Google\C
* @var bool
*/
public $validateOnly;
protected $vpcPeeringsType = GoogleCloudBeyondcorpSecuritygatewaysV1Peering::class;
protected $vpcPeeringsDataType = 'array';

/**
* @param GoogleCloudBeyondcorpSecuritygatewaysV1Peering[]
*/
public function setPeerings($peerings)
{
$this->peerings = $peerings;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1Peering[]
*/
public function getPeerings()
{
return $this->peerings;
}
/**
* @param string
*/
Expand Down Expand Up @@ -59,20 +73,6 @@ public function getValidateOnly()
{
return $this->validateOnly;
}
/**
* @param GoogleCloudBeyondcorpSecuritygatewaysV1Peering[]
*/
public function setVpcPeerings($vpcPeerings)
{
$this->vpcPeerings = $vpcPeerings;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1Peering[]
*/
public function getVpcPeerings()
{
return $this->vpcPeerings;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down

0 comments on commit 9127272

Please sign in to comment.