Skip to content

Commit 1e65292

Browse files
feat: [netapp] Enable Backup, Backup Vault, and Backup Policy (#10173)
* feat: Enable Backup, Backup Vault, and Backup Policy feat: Add singular and plural annotations feat: Set field_behavior to IDENTIFIER on the "name" fields docs: Comments are updated for several fields/enums chore: Mark global_access_allowed as deprecated PiperOrigin-RevId: 592685731 Source-Link: googleapis/googleapis@ac865cc Source-Link: https://github.com/googleapis/googleapis-gen/commit/3fbabf436ebb17fa867f4f099b165ffff7c06684 Copy-Tag: eyJwIjoiamF2YS1uZXRhcHAvLk93bEJvdC55YW1sIiwiaCI6IjNmYmFiZjQzNmViYjE3ZmE4NjdmNGYwOTliMTY1ZmZmZjdjMDY2ODQifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 041bc40 commit 1e65292

File tree

167 files changed

+47733
-662
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+47733
-662
lines changed

java-netapp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
201201
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-netapp/java11.html
202202
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
203203
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-netapp.svg
204-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.9.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.11.0
205205
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
206206
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
207207
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppClient.java

Lines changed: 2411 additions & 0 deletions
Large diffs are not rendered by default.

java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppSettings.java

Lines changed: 279 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
package com.google.cloud.netapp.v1;
1818

1919
import static com.google.cloud.netapp.v1.NetAppClient.ListActiveDirectoriesPagedResponse;
20+
import static com.google.cloud.netapp.v1.NetAppClient.ListBackupPoliciesPagedResponse;
21+
import static com.google.cloud.netapp.v1.NetAppClient.ListBackupVaultsPagedResponse;
22+
import static com.google.cloud.netapp.v1.NetAppClient.ListBackupsPagedResponse;
2023
import static com.google.cloud.netapp.v1.NetAppClient.ListKmsConfigsPagedResponse;
2124
import static com.google.cloud.netapp.v1.NetAppClient.ListLocationsPagedResponse;
2225
import static com.google.cloud.netapp.v1.NetAppClient.ListReplicationsPagedResponse;
@@ -423,6 +426,140 @@ public UnaryCallSettings<ResumeReplicationRequest, Operation> resumeReplicationS
423426
return ((NetAppStubSettings) getStubSettings()).reverseReplicationDirectionOperationSettings();
424427
}
425428

429+
/** Returns the object with the settings used for calls to createBackupVault. */
430+
public UnaryCallSettings<CreateBackupVaultRequest, Operation> createBackupVaultSettings() {
431+
return ((NetAppStubSettings) getStubSettings()).createBackupVaultSettings();
432+
}
433+
434+
/** Returns the object with the settings used for calls to createBackupVault. */
435+
public OperationCallSettings<CreateBackupVaultRequest, BackupVault, OperationMetadata>
436+
createBackupVaultOperationSettings() {
437+
return ((NetAppStubSettings) getStubSettings()).createBackupVaultOperationSettings();
438+
}
439+
440+
/** Returns the object with the settings used for calls to getBackupVault. */
441+
public UnaryCallSettings<GetBackupVaultRequest, BackupVault> getBackupVaultSettings() {
442+
return ((NetAppStubSettings) getStubSettings()).getBackupVaultSettings();
443+
}
444+
445+
/** Returns the object with the settings used for calls to listBackupVaults. */
446+
public PagedCallSettings<
447+
ListBackupVaultsRequest, ListBackupVaultsResponse, ListBackupVaultsPagedResponse>
448+
listBackupVaultsSettings() {
449+
return ((NetAppStubSettings) getStubSettings()).listBackupVaultsSettings();
450+
}
451+
452+
/** Returns the object with the settings used for calls to updateBackupVault. */
453+
public UnaryCallSettings<UpdateBackupVaultRequest, Operation> updateBackupVaultSettings() {
454+
return ((NetAppStubSettings) getStubSettings()).updateBackupVaultSettings();
455+
}
456+
457+
/** Returns the object with the settings used for calls to updateBackupVault. */
458+
public OperationCallSettings<UpdateBackupVaultRequest, BackupVault, OperationMetadata>
459+
updateBackupVaultOperationSettings() {
460+
return ((NetAppStubSettings) getStubSettings()).updateBackupVaultOperationSettings();
461+
}
462+
463+
/** Returns the object with the settings used for calls to deleteBackupVault. */
464+
public UnaryCallSettings<DeleteBackupVaultRequest, Operation> deleteBackupVaultSettings() {
465+
return ((NetAppStubSettings) getStubSettings()).deleteBackupVaultSettings();
466+
}
467+
468+
/** Returns the object with the settings used for calls to deleteBackupVault. */
469+
public OperationCallSettings<DeleteBackupVaultRequest, Empty, OperationMetadata>
470+
deleteBackupVaultOperationSettings() {
471+
return ((NetAppStubSettings) getStubSettings()).deleteBackupVaultOperationSettings();
472+
}
473+
474+
/** Returns the object with the settings used for calls to createBackup. */
475+
public UnaryCallSettings<CreateBackupRequest, Operation> createBackupSettings() {
476+
return ((NetAppStubSettings) getStubSettings()).createBackupSettings();
477+
}
478+
479+
/** Returns the object with the settings used for calls to createBackup. */
480+
public OperationCallSettings<CreateBackupRequest, Backup, OperationMetadata>
481+
createBackupOperationSettings() {
482+
return ((NetAppStubSettings) getStubSettings()).createBackupOperationSettings();
483+
}
484+
485+
/** Returns the object with the settings used for calls to getBackup. */
486+
public UnaryCallSettings<GetBackupRequest, Backup> getBackupSettings() {
487+
return ((NetAppStubSettings) getStubSettings()).getBackupSettings();
488+
}
489+
490+
/** Returns the object with the settings used for calls to listBackups. */
491+
public PagedCallSettings<ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse>
492+
listBackupsSettings() {
493+
return ((NetAppStubSettings) getStubSettings()).listBackupsSettings();
494+
}
495+
496+
/** Returns the object with the settings used for calls to deleteBackup. */
497+
public UnaryCallSettings<DeleteBackupRequest, Operation> deleteBackupSettings() {
498+
return ((NetAppStubSettings) getStubSettings()).deleteBackupSettings();
499+
}
500+
501+
/** Returns the object with the settings used for calls to deleteBackup. */
502+
public OperationCallSettings<DeleteBackupRequest, Empty, OperationMetadata>
503+
deleteBackupOperationSettings() {
504+
return ((NetAppStubSettings) getStubSettings()).deleteBackupOperationSettings();
505+
}
506+
507+
/** Returns the object with the settings used for calls to updateBackup. */
508+
public UnaryCallSettings<UpdateBackupRequest, Operation> updateBackupSettings() {
509+
return ((NetAppStubSettings) getStubSettings()).updateBackupSettings();
510+
}
511+
512+
/** Returns the object with the settings used for calls to updateBackup. */
513+
public OperationCallSettings<UpdateBackupRequest, Backup, OperationMetadata>
514+
updateBackupOperationSettings() {
515+
return ((NetAppStubSettings) getStubSettings()).updateBackupOperationSettings();
516+
}
517+
518+
/** Returns the object with the settings used for calls to createBackupPolicy. */
519+
public UnaryCallSettings<CreateBackupPolicyRequest, Operation> createBackupPolicySettings() {
520+
return ((NetAppStubSettings) getStubSettings()).createBackupPolicySettings();
521+
}
522+
523+
/** Returns the object with the settings used for calls to createBackupPolicy. */
524+
public OperationCallSettings<CreateBackupPolicyRequest, BackupPolicy, OperationMetadata>
525+
createBackupPolicyOperationSettings() {
526+
return ((NetAppStubSettings) getStubSettings()).createBackupPolicyOperationSettings();
527+
}
528+
529+
/** Returns the object with the settings used for calls to getBackupPolicy. */
530+
public UnaryCallSettings<GetBackupPolicyRequest, BackupPolicy> getBackupPolicySettings() {
531+
return ((NetAppStubSettings) getStubSettings()).getBackupPolicySettings();
532+
}
533+
534+
/** Returns the object with the settings used for calls to listBackupPolicies. */
535+
public PagedCallSettings<
536+
ListBackupPoliciesRequest, ListBackupPoliciesResponse, ListBackupPoliciesPagedResponse>
537+
listBackupPoliciesSettings() {
538+
return ((NetAppStubSettings) getStubSettings()).listBackupPoliciesSettings();
539+
}
540+
541+
/** Returns the object with the settings used for calls to updateBackupPolicy. */
542+
public UnaryCallSettings<UpdateBackupPolicyRequest, Operation> updateBackupPolicySettings() {
543+
return ((NetAppStubSettings) getStubSettings()).updateBackupPolicySettings();
544+
}
545+
546+
/** Returns the object with the settings used for calls to updateBackupPolicy. */
547+
public OperationCallSettings<UpdateBackupPolicyRequest, BackupPolicy, OperationMetadata>
548+
updateBackupPolicyOperationSettings() {
549+
return ((NetAppStubSettings) getStubSettings()).updateBackupPolicyOperationSettings();
550+
}
551+
552+
/** Returns the object with the settings used for calls to deleteBackupPolicy. */
553+
public UnaryCallSettings<DeleteBackupPolicyRequest, Operation> deleteBackupPolicySettings() {
554+
return ((NetAppStubSettings) getStubSettings()).deleteBackupPolicySettings();
555+
}
556+
557+
/** Returns the object with the settings used for calls to deleteBackupPolicy. */
558+
public OperationCallSettings<DeleteBackupPolicyRequest, Empty, OperationMetadata>
559+
deleteBackupPolicyOperationSettings() {
560+
return ((NetAppStubSettings) getStubSettings()).deleteBackupPolicyOperationSettings();
561+
}
562+
426563
/** Returns the object with the settings used for calls to listLocations. */
427564
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
428565
listLocationsSettings() {
@@ -896,6 +1033,148 @@ public UnaryCallSettings.Builder<StopReplicationRequest, Operation> stopReplicat
8961033
return getStubSettingsBuilder().reverseReplicationDirectionOperationSettings();
8971034
}
8981035

1036+
/** Returns the builder for the settings used for calls to createBackupVault. */
1037+
public UnaryCallSettings.Builder<CreateBackupVaultRequest, Operation>
1038+
createBackupVaultSettings() {
1039+
return getStubSettingsBuilder().createBackupVaultSettings();
1040+
}
1041+
1042+
/** Returns the builder for the settings used for calls to createBackupVault. */
1043+
public OperationCallSettings.Builder<CreateBackupVaultRequest, BackupVault, OperationMetadata>
1044+
createBackupVaultOperationSettings() {
1045+
return getStubSettingsBuilder().createBackupVaultOperationSettings();
1046+
}
1047+
1048+
/** Returns the builder for the settings used for calls to getBackupVault. */
1049+
public UnaryCallSettings.Builder<GetBackupVaultRequest, BackupVault> getBackupVaultSettings() {
1050+
return getStubSettingsBuilder().getBackupVaultSettings();
1051+
}
1052+
1053+
/** Returns the builder for the settings used for calls to listBackupVaults. */
1054+
public PagedCallSettings.Builder<
1055+
ListBackupVaultsRequest, ListBackupVaultsResponse, ListBackupVaultsPagedResponse>
1056+
listBackupVaultsSettings() {
1057+
return getStubSettingsBuilder().listBackupVaultsSettings();
1058+
}
1059+
1060+
/** Returns the builder for the settings used for calls to updateBackupVault. */
1061+
public UnaryCallSettings.Builder<UpdateBackupVaultRequest, Operation>
1062+
updateBackupVaultSettings() {
1063+
return getStubSettingsBuilder().updateBackupVaultSettings();
1064+
}
1065+
1066+
/** Returns the builder for the settings used for calls to updateBackupVault. */
1067+
public OperationCallSettings.Builder<UpdateBackupVaultRequest, BackupVault, OperationMetadata>
1068+
updateBackupVaultOperationSettings() {
1069+
return getStubSettingsBuilder().updateBackupVaultOperationSettings();
1070+
}
1071+
1072+
/** Returns the builder for the settings used for calls to deleteBackupVault. */
1073+
public UnaryCallSettings.Builder<DeleteBackupVaultRequest, Operation>
1074+
deleteBackupVaultSettings() {
1075+
return getStubSettingsBuilder().deleteBackupVaultSettings();
1076+
}
1077+
1078+
/** Returns the builder for the settings used for calls to deleteBackupVault. */
1079+
public OperationCallSettings.Builder<DeleteBackupVaultRequest, Empty, OperationMetadata>
1080+
deleteBackupVaultOperationSettings() {
1081+
return getStubSettingsBuilder().deleteBackupVaultOperationSettings();
1082+
}
1083+
1084+
/** Returns the builder for the settings used for calls to createBackup. */
1085+
public UnaryCallSettings.Builder<CreateBackupRequest, Operation> createBackupSettings() {
1086+
return getStubSettingsBuilder().createBackupSettings();
1087+
}
1088+
1089+
/** Returns the builder for the settings used for calls to createBackup. */
1090+
public OperationCallSettings.Builder<CreateBackupRequest, Backup, OperationMetadata>
1091+
createBackupOperationSettings() {
1092+
return getStubSettingsBuilder().createBackupOperationSettings();
1093+
}
1094+
1095+
/** Returns the builder for the settings used for calls to getBackup. */
1096+
public UnaryCallSettings.Builder<GetBackupRequest, Backup> getBackupSettings() {
1097+
return getStubSettingsBuilder().getBackupSettings();
1098+
}
1099+
1100+
/** Returns the builder for the settings used for calls to listBackups. */
1101+
public PagedCallSettings.Builder<
1102+
ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse>
1103+
listBackupsSettings() {
1104+
return getStubSettingsBuilder().listBackupsSettings();
1105+
}
1106+
1107+
/** Returns the builder for the settings used for calls to deleteBackup. */
1108+
public UnaryCallSettings.Builder<DeleteBackupRequest, Operation> deleteBackupSettings() {
1109+
return getStubSettingsBuilder().deleteBackupSettings();
1110+
}
1111+
1112+
/** Returns the builder for the settings used for calls to deleteBackup. */
1113+
public OperationCallSettings.Builder<DeleteBackupRequest, Empty, OperationMetadata>
1114+
deleteBackupOperationSettings() {
1115+
return getStubSettingsBuilder().deleteBackupOperationSettings();
1116+
}
1117+
1118+
/** Returns the builder for the settings used for calls to updateBackup. */
1119+
public UnaryCallSettings.Builder<UpdateBackupRequest, Operation> updateBackupSettings() {
1120+
return getStubSettingsBuilder().updateBackupSettings();
1121+
}
1122+
1123+
/** Returns the builder for the settings used for calls to updateBackup. */
1124+
public OperationCallSettings.Builder<UpdateBackupRequest, Backup, OperationMetadata>
1125+
updateBackupOperationSettings() {
1126+
return getStubSettingsBuilder().updateBackupOperationSettings();
1127+
}
1128+
1129+
/** Returns the builder for the settings used for calls to createBackupPolicy. */
1130+
public UnaryCallSettings.Builder<CreateBackupPolicyRequest, Operation>
1131+
createBackupPolicySettings() {
1132+
return getStubSettingsBuilder().createBackupPolicySettings();
1133+
}
1134+
1135+
/** Returns the builder for the settings used for calls to createBackupPolicy. */
1136+
public OperationCallSettings.Builder<CreateBackupPolicyRequest, BackupPolicy, OperationMetadata>
1137+
createBackupPolicyOperationSettings() {
1138+
return getStubSettingsBuilder().createBackupPolicyOperationSettings();
1139+
}
1140+
1141+
/** Returns the builder for the settings used for calls to getBackupPolicy. */
1142+
public UnaryCallSettings.Builder<GetBackupPolicyRequest, BackupPolicy>
1143+
getBackupPolicySettings() {
1144+
return getStubSettingsBuilder().getBackupPolicySettings();
1145+
}
1146+
1147+
/** Returns the builder for the settings used for calls to listBackupPolicies. */
1148+
public PagedCallSettings.Builder<
1149+
ListBackupPoliciesRequest, ListBackupPoliciesResponse, ListBackupPoliciesPagedResponse>
1150+
listBackupPoliciesSettings() {
1151+
return getStubSettingsBuilder().listBackupPoliciesSettings();
1152+
}
1153+
1154+
/** Returns the builder for the settings used for calls to updateBackupPolicy. */
1155+
public UnaryCallSettings.Builder<UpdateBackupPolicyRequest, Operation>
1156+
updateBackupPolicySettings() {
1157+
return getStubSettingsBuilder().updateBackupPolicySettings();
1158+
}
1159+
1160+
/** Returns the builder for the settings used for calls to updateBackupPolicy. */
1161+
public OperationCallSettings.Builder<UpdateBackupPolicyRequest, BackupPolicy, OperationMetadata>
1162+
updateBackupPolicyOperationSettings() {
1163+
return getStubSettingsBuilder().updateBackupPolicyOperationSettings();
1164+
}
1165+
1166+
/** Returns the builder for the settings used for calls to deleteBackupPolicy. */
1167+
public UnaryCallSettings.Builder<DeleteBackupPolicyRequest, Operation>
1168+
deleteBackupPolicySettings() {
1169+
return getStubSettingsBuilder().deleteBackupPolicySettings();
1170+
}
1171+
1172+
/** Returns the builder for the settings used for calls to deleteBackupPolicy. */
1173+
public OperationCallSettings.Builder<DeleteBackupPolicyRequest, Empty, OperationMetadata>
1174+
deleteBackupPolicyOperationSettings() {
1175+
return getStubSettingsBuilder().deleteBackupPolicyOperationSettings();
1176+
}
1177+
8991178
/** Returns the builder for the settings used for calls to listLocations. */
9001179
public PagedCallSettings.Builder<
9011180
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>

0 commit comments

Comments
 (0)