Skip to content

Commit

Permalink
Regenerate compute client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot committed Jan 9, 2025
1 parent 27ffad2 commit 7b0041d
Show file tree
Hide file tree
Showing 9 changed files with 647 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/Compute.php
Original file line number Diff line number Diff line change
Expand Up @@ -8265,6 +8265,44 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'type' => 'string',
],
],
],'aggregatedList' => [
'path' => 'projects/{project}/aggregated/firewallPolicies',
'httpMethod' => 'GET',
'parameters' => [
'project' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'includeAllScopes' => [
'location' => 'query',
'type' => 'boolean',
],
'maxResults' => [
'location' => 'query',
'type' => 'integer',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'returnPartialSuccess' => [
'location' => 'query',
'type' => 'boolean',
],
'serviceProjectNumber' => [
'location' => 'query',
'type' => 'string',
],
],
],'cloneRules' => [
'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules',
'httpMethod' => 'POST',
Expand Down
59 changes: 59 additions & 0 deletions src/Compute/FirewallPoliciesScopedList.php
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');
79 changes: 79 additions & 0 deletions src/Compute/FirewallPoliciesScopedListWarning.php
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');
62 changes: 62 additions & 0 deletions src/Compute/FirewallPoliciesScopedListWarningData.php
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');
149 changes: 149 additions & 0 deletions src/Compute/NetworkFirewallPolicyAggregatedList.php
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');
Loading

0 comments on commit 7b0041d

Please sign in to comment.