Skip to content

Regenerate netapp client #6522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/NetAppFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'type' => 'string',
'required' => true,
],
'extraLocationTypes' => [
'location' => 'query',
'type' => 'string',
'repeated' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
Expand Down
54 changes: 54 additions & 0 deletions src/NetAppFiles/Backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

class Backup extends \Google\Model
{
/**
* @var string
*/
public $backupRegion;
/**
* @var string
*/
Expand All @@ -35,6 +39,10 @@ class Backup extends \Google\Model
* @var string
*/
public $description;
/**
* @var string
*/
public $enforcedRetentionEndTime;
/**
* @var string[]
*/
Expand Down Expand Up @@ -63,11 +71,29 @@ class Backup extends \Google\Model
* @var string
*/
public $state;
/**
* @var string
*/
public $volumeRegion;
/**
* @var string
*/
public $volumeUsageBytes;

/**
* @param string
*/
public function setBackupRegion($backupRegion)
{
$this->backupRegion = $backupRegion;
}
/**
* @return string
*/
public function getBackupRegion()
{
return $this->backupRegion;
}
/**
* @param string
*/
Expand Down Expand Up @@ -124,6 +150,20 @@ public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEnforcedRetentionEndTime($enforcedRetentionEndTime)
{
$this->enforcedRetentionEndTime = $enforcedRetentionEndTime;
}
/**
* @return string
*/
public function getEnforcedRetentionEndTime()
{
return $this->enforcedRetentionEndTime;
}
/**
* @param string[]
*/
Expand Down Expand Up @@ -222,6 +262,20 @@ public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setVolumeRegion($volumeRegion)
{
$this->volumeRegion = $volumeRegion;
}
/**
* @return string
*/
public function getVolumeRegion()
{
return $this->volumeRegion;
}
/**
* @param string
*/
Expand Down
116 changes: 116 additions & 0 deletions src/NetAppFiles/BackupRetentionPolicy.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?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\NetAppFiles;

class BackupRetentionPolicy extends \Google\Model
{
/**
* @var int
*/
public $backupMinimumEnforcedRetentionDays;
/**
* @var bool
*/
public $dailyBackupImmutable;
/**
* @var bool
*/
public $manualBackupImmutable;
/**
* @var bool
*/
public $monthlyBackupImmutable;
/**
* @var bool
*/
public $weeklyBackupImmutable;

/**
* @param int
*/
public function setBackupMinimumEnforcedRetentionDays($backupMinimumEnforcedRetentionDays)
{
$this->backupMinimumEnforcedRetentionDays = $backupMinimumEnforcedRetentionDays;
}
/**
* @return int
*/
public function getBackupMinimumEnforcedRetentionDays()
{
return $this->backupMinimumEnforcedRetentionDays;
}
/**
* @param bool
*/
public function setDailyBackupImmutable($dailyBackupImmutable)
{
$this->dailyBackupImmutable = $dailyBackupImmutable;
}
/**
* @return bool
*/
public function getDailyBackupImmutable()
{
return $this->dailyBackupImmutable;
}
/**
* @param bool
*/
public function setManualBackupImmutable($manualBackupImmutable)
{
$this->manualBackupImmutable = $manualBackupImmutable;
}
/**
* @return bool
*/
public function getManualBackupImmutable()
{
return $this->manualBackupImmutable;
}
/**
* @param bool
*/
public function setMonthlyBackupImmutable($monthlyBackupImmutable)
{
$this->monthlyBackupImmutable = $monthlyBackupImmutable;
}
/**
* @return bool
*/
public function getMonthlyBackupImmutable()
{
return $this->monthlyBackupImmutable;
}
/**
* @param bool
*/
public function setWeeklyBackupImmutable($weeklyBackupImmutable)
{
$this->weeklyBackupImmutable = $weeklyBackupImmutable;
}
/**
* @return bool
*/
public function getWeeklyBackupImmutable()
{
return $this->weeklyBackupImmutable;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupRetentionPolicy::class, 'Google_Service_NetAppFiles_BackupRetentionPolicy');
106 changes: 106 additions & 0 deletions src/NetAppFiles/BackupVault.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@

class BackupVault extends \Google\Model
{
/**
* @var string
*/
public $backupRegion;
protected $backupRetentionPolicyType = BackupRetentionPolicy::class;
protected $backupRetentionPolicyDataType = '';
/**
* @var string
*/
public $backupVaultType;
/**
* @var string
*/
Expand All @@ -27,6 +37,10 @@ class BackupVault extends \Google\Model
* @var string
*/
public $description;
/**
* @var string
*/
public $destinationBackupVault;
/**
* @var string[]
*/
Expand All @@ -35,11 +49,61 @@ class BackupVault extends \Google\Model
* @var string
*/
public $name;
/**
* @var string
*/
public $sourceBackupVault;
/**
* @var string
*/
public $sourceRegion;
/**
* @var string
*/
public $state;

/**
* @param string
*/
public function setBackupRegion($backupRegion)
{
$this->backupRegion = $backupRegion;
}
/**
* @return string
*/
public function getBackupRegion()
{
return $this->backupRegion;
}
/**
* @param BackupRetentionPolicy
*/
public function setBackupRetentionPolicy(BackupRetentionPolicy $backupRetentionPolicy)
{
$this->backupRetentionPolicy = $backupRetentionPolicy;
}
/**
* @return BackupRetentionPolicy
*/
public function getBackupRetentionPolicy()
{
return $this->backupRetentionPolicy;
}
/**
* @param string
*/
public function setBackupVaultType($backupVaultType)
{
$this->backupVaultType = $backupVaultType;
}
/**
* @return string
*/
public function getBackupVaultType()
{
return $this->backupVaultType;
}
/**
* @param string
*/
Expand Down Expand Up @@ -68,6 +132,20 @@ public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDestinationBackupVault($destinationBackupVault)
{
$this->destinationBackupVault = $destinationBackupVault;
}
/**
* @return string
*/
public function getDestinationBackupVault()
{
return $this->destinationBackupVault;
}
/**
* @param string[]
*/
Expand Down Expand Up @@ -96,6 +174,34 @@ public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSourceBackupVault($sourceBackupVault)
{
$this->sourceBackupVault = $sourceBackupVault;
}
/**
* @return string
*/
public function getSourceBackupVault()
{
return $this->sourceBackupVault;
}
/**
* @param string
*/
public function setSourceRegion($sourceRegion)
{
$this->sourceRegion = $sourceRegion;
}
/**
* @return string
*/
public function getSourceRegion()
{
return $this->sourceRegion;
}
/**
* @param string
*/
Expand Down
3 changes: 3 additions & 0 deletions src/NetAppFiles/Resource/ProjectsLocations.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public function get($name, $optParams = [])
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string extraLocationTypes Optional. A list of extra location types
* that should be used as conditions for controlling the visibility of the
* locations.
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
Expand Down
Loading