Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Nov 22, 2024
1 parent 07fbd58 commit c1ebc5a
Show file tree
Hide file tree
Showing 220 changed files with 847 additions and 35,390 deletions.
Binary file modified NetApp/metadata/V1/ActiveDirectory.php
Binary file not shown.
10 changes: 7 additions & 3 deletions NetApp/metadata/V1/CloudNetappService.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified NetApp/metadata/V1/Replication.php
Binary file not shown.
Binary file modified NetApp/metadata/V1/Volume.php
Binary file not shown.
6 changes: 3 additions & 3 deletions NetApp/samples/V1/NetAppClient/create_active_directory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
* @param string $activeDirectoryUsername Username of the Active Directory domain administrator.
* @param string $activeDirectoryPassword Password of the Active Directory domain administrator.
* @param string $activeDirectoryId ID of the active directory to create. Must be unique within the
* parent resource. Must contain only letters, numbers, underscore and hyphen,
* with the first character a letter or underscore, the last a letter or
* underscore or a number, and a 63 character maximum.
* parent resource. Must contain only letters, numbers and hyphen, with the
* first character a letter , the last a letter or a number, and a 63
* character maximum.
*/
function create_active_directory_sample(
string $formattedParent,
Expand Down
4 changes: 2 additions & 2 deletions NetApp/samples/V1/NetAppClient/create_backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
* Please see {@see NetAppClient::backupVaultName()} for help formatting this field.
* @param string $backupId The ID to use for the backup.
* The ID must be unique within the specified backupVault.
* Must contain only letters, numbers, underscore and hyphen, with the first
* character a letter or underscore, the last a letter or underscore or a
* Must contain only letters, numbers and hyphen, with the first
* character a letter, the last a letter or a
* number, and a 63 character maximum.
*/
function create_backup_sample(string $formattedParent, string $backupId): void
Expand Down
4 changes: 2 additions & 2 deletions NetApp/samples/V1/NetAppClient/create_backup_policy.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
* Please see {@see NetAppClient::locationName()} for help formatting this field.
* @param string $backupPolicyId The ID to use for the backup policy.
* The ID must be unique within the specified location.
* Must contain only letters, numbers, underscore and hyphen, with the first
* character a letter or underscore, the last a letter or underscore or a
* Must contain only letters, numbers and hyphen, with the first
* character a letter, the last a letter or a
* number, and a 63 character maximum.
*/
function create_backup_policy_sample(string $formattedParent, string $backupPolicyId): void
Expand Down
4 changes: 2 additions & 2 deletions NetApp/samples/V1/NetAppClient/create_backup_vault.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
* Please see {@see NetAppClient::locationName()} for help formatting this field.
* @param string $backupVaultId The ID to use for the backupVault.
* The ID must be unique within the specified location.
* Must contain only letters, numbers, underscore and hyphen, with the first
* character a letter or underscore, the last a letter or underscore or a
* Must contain only letters, numbers and hyphen, with the first
* character a letter, the last a letter or a
* number, and a 63 character maximum.
*/
function create_backup_vault_sample(string $formattedParent, string $backupVaultId): void
Expand Down
6 changes: 3 additions & 3 deletions NetApp/samples/V1/NetAppClient/create_kms_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
* @param string $formattedParent Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
* @param string $kmsConfigId Id of the requesting KmsConfig. Must be unique within the parent
* resource. Must contain only letters, numbers, underscore and hyphen, with
* the first character a letter or underscore, the last a letter or underscore
* or a number, and a 63 character maximum.
* resource. Must contain only letters, numbers and hyphen, with the first
* character a letter, the last a letter or a
* number, and a 63 character maximum.
* @param string $kmsConfigCryptoKeyName Customer managed crypto key resource full name. Format:
* projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
*/
Expand Down
6 changes: 3 additions & 3 deletions NetApp/samples/V1/NetAppClient/create_replication.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
* @param string $formattedReplicationDestinationVolumeParametersStoragePool Existing destination StoragePool name. Please see
* {@see NetAppClient::storagePoolName()} for help formatting this field.
* @param string $replicationId ID of the replication to create. Must be unique within the parent
* resource. Must contain only letters, numbers, underscore and hyphen, with
* the first character a letter or underscore, the last a letter or underscore
* or a number, and a 63 character maximum.
* resource. Must contain only letters, numbers and hyphen, with the first
* character a letter, the last a letter or a
* number, and a 63 character maximum.
*/
function create_replication_sample(
string $formattedParent,
Expand Down
6 changes: 3 additions & 3 deletions NetApp/samples/V1/NetAppClient/create_snapshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
* Please see {@see NetAppClient::volumeName()} for help formatting this field.
* @param string $snapshotId ID of the snapshot to create. Must be unique within the parent
* resource. Must contain only letters, numbers, underscore and hyphen, with
* the first character a letter or underscore, the last a letter or underscore
* or a number, and a 63 character maximum.
* resource. Must contain only letters, numbers and hyphen, with the first
* character a letter, the last a letter or a
* number, and a 63 character maximum.
*/
function create_snapshot_sample(string $formattedParent, string $snapshotId): void
{
Expand Down
6 changes: 3 additions & 3 deletions NetApp/samples/V1/NetAppClient/create_storage_pool.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
* @param string $formattedParent Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
* @param string $storagePoolId Id of the requesting storage pool. Must be unique within the
* parent resource. Must contain only letters, numbers, underscore and hyphen,
* with the first character a letter or underscore, the last a letter or
* underscore or a number, and a 63 character maximum.
* parent resource. Must contain only letters, numbers and hyphen, with the
* first character a letter, the last a letter or a number, and a 63 character
* maximum.
* @param int $storagePoolServiceLevel Service level of the storage pool
* @param int $storagePoolCapacityGib Capacity in GIB of the pool
* @param string $formattedStoragePoolNetwork VPC Network name.
Expand Down
6 changes: 3 additions & 3 deletions NetApp/samples/V1/NetAppClient/create_volume.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
* @param string $formattedParent Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
* @param string $volumeId Id of the requesting volume. Must be unique within the parent
* resource. Must contain only letters, numbers, underscore and hyphen, with
* the first character a letter or underscore, the last a letter or underscore
* or a number, and a 63 character maximum.
* resource. Must contain only letters, numbers and hyphen, with the first
* character a letter, the last a letter or a number,
* and a 63 character maximum.
* @param string $volumeShareName Share name of the volume
* @param string $formattedVolumeStoragePool StoragePool name of the volume
* Please see {@see NetAppClient::storagePoolName()} for help formatting this field.
Expand Down
7 changes: 7 additions & 0 deletions NetApp/src/V1/ActiveDirectory/State.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions NetApp/src/V1/Client/NetAppClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
use Google\Cloud\NetApp\V1\DeleteStoragePoolRequest;
use Google\Cloud\NetApp\V1\DeleteVolumeRequest;
use Google\Cloud\NetApp\V1\EncryptVolumesRequest;
use Google\Cloud\NetApp\V1\EstablishPeeringRequest;
use Google\Cloud\NetApp\V1\GetActiveDirectoryRequest;
use Google\Cloud\NetApp\V1\GetBackupPolicyRequest;
use Google\Cloud\NetApp\V1\GetBackupRequest;
Expand Down Expand Up @@ -87,6 +88,7 @@
use Google\Cloud\NetApp\V1\StopReplicationRequest;
use Google\Cloud\NetApp\V1\StoragePool;
use Google\Cloud\NetApp\V1\SwitchActiveReplicaZoneRequest;
use Google\Cloud\NetApp\V1\SyncReplicationRequest;
use Google\Cloud\NetApp\V1\UpdateActiveDirectoryRequest;
use Google\Cloud\NetApp\V1\UpdateBackupPolicyRequest;
use Google\Cloud\NetApp\V1\UpdateBackupRequest;
Expand Down Expand Up @@ -133,6 +135,7 @@
* @method PromiseInterface<OperationResponse> deleteStoragePoolAsync(DeleteStoragePoolRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> deleteVolumeAsync(DeleteVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> encryptVolumesAsync(EncryptVolumesRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> establishPeeringAsync(EstablishPeeringRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ActiveDirectory> getActiveDirectoryAsync(GetActiveDirectoryRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Backup> getBackupAsync(GetBackupRequest $request, array $optionalArgs = [])
* @method PromiseInterface<BackupPolicy> getBackupPolicyAsync(GetBackupPolicyRequest $request, array $optionalArgs = [])
Expand All @@ -156,6 +159,7 @@
* @method PromiseInterface<OperationResponse> revertVolumeAsync(RevertVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> stopReplicationAsync(StopReplicationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> switchActiveReplicaZoneAsync(SwitchActiveReplicaZoneRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> syncReplicationAsync(SyncReplicationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateActiveDirectoryAsync(UpdateActiveDirectoryRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateBackupAsync(UpdateBackupRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateBackupPolicyAsync(UpdateBackupPolicyRequest $request, array $optionalArgs = [])
Expand Down Expand Up @@ -1091,6 +1095,32 @@ public function encryptVolumes(EncryptVolumesRequest $request, array $callOption
return $this->startApiCall('EncryptVolumes', $request, $callOptions)->wait();
}

/**
* Establish replication peering.
*
* The async variant is {@see NetAppClient::establishPeeringAsync()} .
*
* @example samples/V1/NetAppClient/establish_peering.php
*
* @param EstablishPeeringRequest $request A request to house fields associated with the call.
* @param array $callOptions {
* Optional.
*
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
* {@see RetrySettings} for example usage.
* }
*
* @return OperationResponse
*
* @throws ApiException Thrown if the API call fails.
*/
public function establishPeering(EstablishPeeringRequest $request, array $callOptions = []): OperationResponse
{
return $this->startApiCall('EstablishPeering', $request, $callOptions)->wait();
}

/**
* Describes a specified active directory.
*
Expand Down Expand Up @@ -1699,6 +1729,33 @@ public function switchActiveReplicaZone(
return $this->startApiCall('SwitchActiveReplicaZone', $request, $callOptions)->wait();
}

/**
* Syncs the replication. This will invoke one time volume data transfer from
* source to destination.
*
* The async variant is {@see NetAppClient::syncReplicationAsync()} .
*
* @example samples/V1/NetAppClient/sync_replication.php
*
* @param SyncReplicationRequest $request A request to house fields associated with the call.
* @param array $callOptions {
* Optional.
*
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
* {@see RetrySettings} for example usage.
* }
*
* @return OperationResponse
*
* @throws ApiException Thrown if the API call fails.
*/
public function syncReplication(SyncReplicationRequest $request, array $callOptions = []): OperationResponse
{
return $this->startApiCall('SyncReplication', $request, $callOptions)->wait();
}

/**
* Update the parameters of an active directories.
*
Expand Down
Loading

0 comments on commit c1ebc5a

Please sign in to comment.