Skip to content

Commit

Permalink
Regenerate securitycenter client (#5843)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Nov 15, 2024
1 parent db1a187 commit 32ea7fe
Show file tree
Hide file tree
Showing 8 changed files with 192 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/SecurityCommandCenter/Disk.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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\SecurityCommandCenter;

class Disk extends \Google\Model
{
/**
* @var string
*/
public $name;

/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}

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

class EffectiveEventThreatDetectionCustomModule extends \Google\Model
{
/**
* @var string
*/
public $cloudProvider;
/**
* @var array[]
*/
Expand All @@ -44,6 +48,20 @@ class EffectiveEventThreatDetectionCustomModule extends \Google\Model
*/
public $type;

/**
* @param string
*/
public function setCloudProvider($cloudProvider)
{
$this->cloudProvider = $cloudProvider;
}
/**
* @return string
*/
public function getCloudProvider()
{
return $this->cloudProvider;
}
/**
* @param array[]
*/
Expand Down
18 changes: 18 additions & 0 deletions src/SecurityCommandCenter/EventThreatDetectionCustomModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ class EventThreatDetectionCustomModule extends \Google\Model
* @var string
*/
public $ancestorModule;
/**
* @var string
*/
public $cloudProvider;
/**
* @var array[]
*/
Expand Down Expand Up @@ -70,6 +74,20 @@ public function getAncestorModule()
{
return $this->ancestorModule;
}
/**
* @param string
*/
public function setCloudProvider($cloudProvider)
{
$this->cloudProvider = $cloudProvider;
}
/**
* @return string
*/
public function getCloudProvider()
{
return $this->cloudProvider;
}
/**
* @param array[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/SecurityCommandCenter/Finding.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class Finding extends \Google\Collection
* @var string
*/
public $description;
protected $diskType = Disk::class;
protected $diskDataType = '';
/**
* @var string
*/
Expand Down Expand Up @@ -415,6 +417,20 @@ public function getDescription()
{
return $this->description;
}
/**
* @param Disk
*/
public function setDisk(Disk $disk)
{
$this->disk = $disk;
}
/**
* @return Disk
*/
public function getDisk()
{
return $this->disk;
}
/**
* @param string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule extends \Google\Model
{
/**
* @var string
*/
public $cloudProvider;
protected $customConfigType = GoogleCloudSecuritycenterV1CustomConfig::class;
protected $customConfigDataType = '';
/**
Expand All @@ -34,6 +38,20 @@ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule ex
*/
public $name;

/**
* @param string
*/
public function setCloudProvider($cloudProvider)
{
$this->cloudProvider = $cloudProvider;
}
/**
* @return string
*/
public function getCloudProvider()
{
return $this->cloudProvider;
}
/**
* @param GoogleCloudSecuritycenterV1CustomConfig
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule extends \Go
* @var string
*/
public $ancestorModule;
/**
* @var string
*/
public $cloudProvider;
protected $customConfigType = GoogleCloudSecuritycenterV1CustomConfig::class;
protected $customConfigDataType = '';
/**
Expand Down Expand Up @@ -60,6 +64,20 @@ public function getAncestorModule()
{
return $this->ancestorModule;
}
/**
* @param string
*/
public function setCloudProvider($cloudProvider)
{
$this->cloudProvider = $cloudProvider;
}
/**
* @return string
*/
public function getCloudProvider()
{
return $this->cloudProvider;
}
/**
* @param GoogleCloudSecuritycenterV1CustomConfig
*/
Expand Down
44 changes: 44 additions & 0 deletions src/SecurityCommandCenter/GoogleCloudSecuritycenterV2Disk.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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\SecurityCommandCenter;

class GoogleCloudSecuritycenterV2Disk extends \Google\Model
{
/**
* @var string
*/
public $name;

/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSecuritycenterV2Disk::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2Disk');
16 changes: 16 additions & 0 deletions src/SecurityCommandCenter/GoogleCloudSecuritycenterV2Finding.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class GoogleCloudSecuritycenterV2Finding extends \Google\Collection
* @var string
*/
public $description;
protected $diskType = GoogleCloudSecuritycenterV2Disk::class;
protected $diskDataType = '';
/**
* @var string
*/
Expand Down Expand Up @@ -415,6 +417,20 @@ public function getDescription()
{
return $this->description;
}
/**
* @param GoogleCloudSecuritycenterV2Disk
*/
public function setDisk(GoogleCloudSecuritycenterV2Disk $disk)
{
$this->disk = $disk;
}
/**
* @return GoogleCloudSecuritycenterV2Disk
*/
public function getDisk()
{
return $this->disk;
}
/**
* @param string
*/
Expand Down

0 comments on commit 32ea7fe

Please sign in to comment.