Skip to content

Commit 846412c

Browse files
1 parent ae3ad41 commit 846412c

9 files changed

Lines changed: 288 additions & 21 deletions

src/Compute.php

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8238,6 +8238,33 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
82388238
'type' => 'string',
82398239
],
82408240
],
8241+
],'addPacketMirroringRule' => [
8242+
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule',
8243+
'httpMethod' => 'POST',
8244+
'parameters' => [
8245+
'project' => [
8246+
'location' => 'path',
8247+
'type' => 'string',
8248+
'required' => true,
8249+
],
8250+
'firewallPolicy' => [
8251+
'location' => 'path',
8252+
'type' => 'string',
8253+
'required' => true,
8254+
],
8255+
'maxPriority' => [
8256+
'location' => 'query',
8257+
'type' => 'integer',
8258+
],
8259+
'minPriority' => [
8260+
'location' => 'query',
8261+
'type' => 'integer',
8262+
],
8263+
'requestId' => [
8264+
'location' => 'query',
8265+
'type' => 'string',
8266+
],
8267+
],
82418268
],'addRule' => [
82428269
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule',
82438270
'httpMethod' => 'POST',
@@ -8398,6 +8425,25 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
83988425
'type' => 'integer',
83998426
],
84008427
],
8428+
],'getPacketMirroringRule' => [
8429+
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule',
8430+
'httpMethod' => 'GET',
8431+
'parameters' => [
8432+
'project' => [
8433+
'location' => 'path',
8434+
'type' => 'string',
8435+
'required' => true,
8436+
],
8437+
'firewallPolicy' => [
8438+
'location' => 'path',
8439+
'type' => 'string',
8440+
'required' => true,
8441+
],
8442+
'priority' => [
8443+
'location' => 'query',
8444+
'type' => 'integer',
8445+
],
8446+
],
84018447
],'getRule' => [
84028448
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule',
84038449
'httpMethod' => 'GET',
@@ -8480,6 +8526,29 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
84808526
'type' => 'string',
84818527
],
84828528
],
8529+
],'patchPacketMirroringRule' => [
8530+
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule',
8531+
'httpMethod' => 'POST',
8532+
'parameters' => [
8533+
'project' => [
8534+
'location' => 'path',
8535+
'type' => 'string',
8536+
'required' => true,
8537+
],
8538+
'firewallPolicy' => [
8539+
'location' => 'path',
8540+
'type' => 'string',
8541+
'required' => true,
8542+
],
8543+
'priority' => [
8544+
'location' => 'query',
8545+
'type' => 'integer',
8546+
],
8547+
'requestId' => [
8548+
'location' => 'query',
8549+
'type' => 'string',
8550+
],
8551+
],
84838552
],'patchRule' => [
84848553
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule',
84858554
'httpMethod' => 'POST',
@@ -8526,6 +8595,29 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
85268595
'type' => 'string',
85278596
],
85288597
],
8598+
],'removePacketMirroringRule' => [
8599+
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule',
8600+
'httpMethod' => 'POST',
8601+
'parameters' => [
8602+
'project' => [
8603+
'location' => 'path',
8604+
'type' => 'string',
8605+
'required' => true,
8606+
],
8607+
'firewallPolicy' => [
8608+
'location' => 'path',
8609+
'type' => 'string',
8610+
'required' => true,
8611+
],
8612+
'priority' => [
8613+
'location' => 'query',
8614+
'type' => 'integer',
8615+
],
8616+
'requestId' => [
8617+
'location' => 'query',
8618+
'type' => 'string',
8619+
],
8620+
],
85298621
],'removeRule' => [
85308622
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule',
85318623
'httpMethod' => 'POST',

src/Compute/FirewallPolicy.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ class FirewallPolicy extends \Google\Collection
5050
* @var string
5151
*/
5252
public $name;
53+
protected $packetMirroringRulesType = FirewallPolicyRule::class;
54+
protected $packetMirroringRulesDataType = 'array';
5355
/**
5456
* @var string
5557
*/
@@ -189,6 +191,20 @@ public function getName()
189191
{
190192
return $this->name;
191193
}
194+
/**
195+
* @param FirewallPolicyRule[]
196+
*/
197+
public function setPacketMirroringRules($packetMirroringRules)
198+
{
199+
$this->packetMirroringRules = $packetMirroringRules;
200+
}
201+
/**
202+
* @return FirewallPolicyRule[]
203+
*/
204+
public function getPacketMirroringRules()
205+
{
206+
return $this->packetMirroringRules;
207+
}
192208
/**
193209
* @param string
194210
*/

src/Compute/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy extends \Goo
2828
* @var string
2929
*/
3030
public $name;
31+
protected $packetMirroringRulesType = FirewallPolicyRule::class;
32+
protected $packetMirroringRulesDataType = 'array';
3133
/**
3234
* @var int
3335
*/
@@ -71,6 +73,20 @@ public function getName()
7173
{
7274
return $this->name;
7375
}
76+
/**
77+
* @param FirewallPolicyRule[]
78+
*/
79+
public function setPacketMirroringRules($packetMirroringRules)
80+
{
81+
$this->packetMirroringRules = $packetMirroringRules;
82+
}
83+
/**
84+
* @return FirewallPolicyRule[]
85+
*/
86+
public function getPacketMirroringRules()
87+
{
88+
return $this->packetMirroringRules;
89+
}
7490
/**
7591
* @param int
7692
*/

src/Compute/NetworkProfile.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ class NetworkProfile extends \Google\Model
5151
* @var string
5252
*/
5353
public $selfLinkWithId;
54-
/**
55-
* @var string
56-
*/
57-
public $zone;
5854

5955
/**
6056
* @param string
@@ -182,20 +178,6 @@ public function getSelfLinkWithId()
182178
{
183179
return $this->selfLinkWithId;
184180
}
185-
/**
186-
* @param string
187-
*/
188-
public function setZone($zone)
189-
{
190-
$this->zone = $zone;
191-
}
192-
/**
193-
* @return string
194-
*/
195-
public function getZone()
196-
{
197-
return $this->zone;
198-
}
199181
}
200182

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

src/Compute/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy extends \Goog
2828
* @var string
2929
*/
3030
public $name;
31+
protected $packetMirroringRulesType = FirewallPolicyRule::class;
32+
protected $packetMirroringRulesDataType = 'array';
3133
/**
3234
* @var int
3335
*/
@@ -71,6 +73,20 @@ public function getName()
7173
{
7274
return $this->name;
7375
}
76+
/**
77+
* @param FirewallPolicyRule[]
78+
*/
79+
public function setPacketMirroringRules($packetMirroringRules)
80+
{
81+
$this->packetMirroringRules = $packetMirroringRules;
82+
}
83+
/**
84+
* @return FirewallPolicyRule[]
85+
*/
86+
public function getPacketMirroringRules()
87+
{
88+
return $this->packetMirroringRules;
89+
}
7490
/**
7591
* @param int
7692
*/

src/Compute/NodeType.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ class NodeType extends \Google\Model
4949
* @var int
5050
*/
5151
public $localSsdGb;
52+
/**
53+
* @var int
54+
*/
55+
public $maxVms;
5256
/**
5357
* @var int
5458
*/
@@ -178,6 +182,20 @@ public function getLocalSsdGb()
178182
{
179183
return $this->localSsdGb;
180184
}
185+
/**
186+
* @param int
187+
*/
188+
public function setMaxVms($maxVms)
189+
{
190+
$this->maxVms = $maxVms;
191+
}
192+
/**
193+
* @return int
194+
*/
195+
public function getMaxVms()
196+
{
197+
return $this->maxVms;
198+
}
181199
/**
182200
* @param int
183201
*/

src/Compute/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal
2828
* @var string
2929
*/
3030
public $name;
31+
protected $packetMirroringRulesType = FirewallPolicyRule::class;
32+
protected $packetMirroringRulesDataType = 'array';
3133
protected $rulesType = FirewallPolicyRule::class;
3234
protected $rulesDataType = 'array';
3335
/**
@@ -63,6 +65,20 @@ public function getName()
6365
{
6466
return $this->name;
6567
}
68+
/**
69+
* @param FirewallPolicyRule[]
70+
*/
71+
public function setPacketMirroringRules($packetMirroringRules)
72+
{
73+
$this->packetMirroringRules = $packetMirroringRules;
74+
}
75+
/**
76+
* @return FirewallPolicyRule[]
77+
*/
78+
public function getPacketMirroringRules()
79+
{
80+
return $this->packetMirroringRules;
81+
}
6682
/**
6783
* @param FirewallPolicyRule[]
6884
*/

0 commit comments

Comments
 (0)