-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27ffad2
commit 7b0041d
Showing
9 changed files
with
647 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?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\Compute; | ||
|
||
class FirewallPoliciesScopedList extends \Google\Collection | ||
{ | ||
protected $collection_key = 'firewallPolicies'; | ||
protected $firewallPoliciesType = FirewallPolicy::class; | ||
protected $firewallPoliciesDataType = 'array'; | ||
protected $warningType = FirewallPoliciesScopedListWarning::class; | ||
protected $warningDataType = ''; | ||
|
||
/** | ||
* @param FirewallPolicy[] | ||
*/ | ||
public function setFirewallPolicies($firewallPolicies) | ||
{ | ||
$this->firewallPolicies = $firewallPolicies; | ||
} | ||
/** | ||
* @return FirewallPolicy[] | ||
*/ | ||
public function getFirewallPolicies() | ||
{ | ||
return $this->firewallPolicies; | ||
} | ||
/** | ||
* @param FirewallPoliciesScopedListWarning | ||
*/ | ||
public function setWarning(FirewallPoliciesScopedListWarning $warning) | ||
{ | ||
$this->warning = $warning; | ||
} | ||
/** | ||
* @return FirewallPoliciesScopedListWarning | ||
*/ | ||
public function getWarning() | ||
{ | ||
return $this->warning; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(FirewallPoliciesScopedList::class, 'Google_Service_Compute_FirewallPoliciesScopedList'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<?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\Compute; | ||
|
||
class FirewallPoliciesScopedListWarning extends \Google\Collection | ||
{ | ||
protected $collection_key = 'data'; | ||
/** | ||
* @var string | ||
*/ | ||
public $code; | ||
protected $dataType = FirewallPoliciesScopedListWarningData::class; | ||
protected $dataDataType = 'array'; | ||
/** | ||
* @var string | ||
*/ | ||
public $message; | ||
|
||
/** | ||
* @param string | ||
*/ | ||
public function setCode($code) | ||
{ | ||
$this->code = $code; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getCode() | ||
{ | ||
return $this->code; | ||
} | ||
/** | ||
* @param FirewallPoliciesScopedListWarningData[] | ||
*/ | ||
public function setData($data) | ||
{ | ||
$this->data = $data; | ||
} | ||
/** | ||
* @return FirewallPoliciesScopedListWarningData[] | ||
*/ | ||
public function getData() | ||
{ | ||
return $this->data; | ||
} | ||
/** | ||
* @param string | ||
*/ | ||
public function setMessage($message) | ||
{ | ||
$this->message = $message; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getMessage() | ||
{ | ||
return $this->message; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(FirewallPoliciesScopedListWarning::class, 'Google_Service_Compute_FirewallPoliciesScopedListWarning'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?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\Compute; | ||
|
||
class FirewallPoliciesScopedListWarningData extends \Google\Model | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $key; | ||
/** | ||
* @var string | ||
*/ | ||
public $value; | ||
|
||
/** | ||
* @param string | ||
*/ | ||
public function setKey($key) | ||
{ | ||
$this->key = $key; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getKey() | ||
{ | ||
return $this->key; | ||
} | ||
/** | ||
* @param string | ||
*/ | ||
public function setValue($value) | ||
{ | ||
$this->value = $value; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getValue() | ||
{ | ||
return $this->value; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(FirewallPoliciesScopedListWarningData::class, 'Google_Service_Compute_FirewallPoliciesScopedListWarningData'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
<?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\Compute; | ||
|
||
class NetworkFirewallPolicyAggregatedList extends \Google\Collection | ||
{ | ||
protected $collection_key = 'unreachables'; | ||
/** | ||
* @var string | ||
*/ | ||
public $id; | ||
protected $itemsType = FirewallPoliciesScopedList::class; | ||
protected $itemsDataType = 'map'; | ||
/** | ||
* @var string | ||
*/ | ||
public $kind; | ||
/** | ||
* @var string | ||
*/ | ||
public $nextPageToken; | ||
/** | ||
* @var string | ||
*/ | ||
public $selfLink; | ||
/** | ||
* @var string[] | ||
*/ | ||
public $unreachables; | ||
protected $warningType = NetworkFirewallPolicyAggregatedListWarning::class; | ||
protected $warningDataType = ''; | ||
|
||
/** | ||
* @param string | ||
*/ | ||
public function setId($id) | ||
{ | ||
$this->id = $id; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getId() | ||
{ | ||
return $this->id; | ||
} | ||
/** | ||
* @param FirewallPoliciesScopedList[] | ||
*/ | ||
public function setItems($items) | ||
{ | ||
$this->items = $items; | ||
} | ||
/** | ||
* @return FirewallPoliciesScopedList[] | ||
*/ | ||
public function getItems() | ||
{ | ||
return $this->items; | ||
} | ||
/** | ||
* @param string | ||
*/ | ||
public function setKind($kind) | ||
{ | ||
$this->kind = $kind; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getKind() | ||
{ | ||
return $this->kind; | ||
} | ||
/** | ||
* @param string | ||
*/ | ||
public function setNextPageToken($nextPageToken) | ||
{ | ||
$this->nextPageToken = $nextPageToken; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getNextPageToken() | ||
{ | ||
return $this->nextPageToken; | ||
} | ||
/** | ||
* @param string | ||
*/ | ||
public function setSelfLink($selfLink) | ||
{ | ||
$this->selfLink = $selfLink; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getSelfLink() | ||
{ | ||
return $this->selfLink; | ||
} | ||
/** | ||
* @param string[] | ||
*/ | ||
public function setUnreachables($unreachables) | ||
{ | ||
$this->unreachables = $unreachables; | ||
} | ||
/** | ||
* @return string[] | ||
*/ | ||
public function getUnreachables() | ||
{ | ||
return $this->unreachables; | ||
} | ||
/** | ||
* @param NetworkFirewallPolicyAggregatedListWarning | ||
*/ | ||
public function setWarning(NetworkFirewallPolicyAggregatedListWarning $warning) | ||
{ | ||
$this->warning = $warning; | ||
} | ||
/** | ||
* @return NetworkFirewallPolicyAggregatedListWarning | ||
*/ | ||
public function getWarning() | ||
{ | ||
return $this->warning; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(NetworkFirewallPolicyAggregatedList::class, 'Google_Service_Compute_NetworkFirewallPolicyAggregatedList'); |
Oops, something went wrong.