You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1.
155
+
// Revision: version number.
156
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1.
156
157
Revisionuint32`json:"revision"`
157
158
// Data: the base64-encoded secret payload of the version.
158
159
Data []byte`json:"data"`
@@ -540,9 +541,7 @@ type CreateSecretVersionRequest struct {
540
541
// If there is no previous version or if the previous version was already disabled, does nothing.
541
542
DisablePreviousbool`json:"disable_previous"`
542
543
// PasswordGeneration: options to generate a password.
543
-
// If specified, a random password will be generated. The data field must be empty.
544
-
// By default, the generator will use upper and lower case letters, and digits.
545
-
// This behavior can be tuned using the generation params.
544
+
// If specified, a random password will be generated. The data field must be empty. By default, the generator will use upper and lower case letters, and digits. This behavior can be tuned using the generation parameters.
546
545
// Precisely one of PasswordGeneration must be set.
@@ -590,7 +589,8 @@ type GetSecretVersionRequest struct {
590
589
Region scw.Region`json:"-"`
591
590
// SecretID: ID of the secret.
592
591
SecretIDstring`json:"-"`
593
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
592
+
// Revision: version number.
593
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
594
594
Revisionstring`json:"-"`
595
595
}
596
596
@@ -636,7 +636,8 @@ type GetSecretVersionByNameRequest struct {
636
636
Region scw.Region`json:"-"`
637
637
// SecretName: name of the secret.
638
638
SecretNamestring`json:"-"`
639
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
639
+
// Revision: version number.
640
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
640
641
Revisionstring`json:"-"`
641
642
}
642
643
@@ -682,7 +683,8 @@ type UpdateSecretVersionRequest struct {
682
683
Region scw.Region`json:"-"`
683
684
// SecretID: ID of the secret.
684
685
SecretIDstring`json:"-"`
685
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
686
+
// Revision: version number.
687
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
686
688
Revisionstring`json:"-"`
687
689
// Description: description of the version.
688
690
Description*string`json:"description"`
@@ -849,7 +851,8 @@ type DestroySecretVersionRequest struct {
849
851
Region scw.Region`json:"-"`
850
852
// SecretID: ID of the secret.
851
853
SecretIDstring`json:"-"`
852
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
854
+
// Revision: version number.
855
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
853
856
Revisionstring`json:"-"`
854
857
}
855
858
@@ -900,7 +903,8 @@ type EnableSecretVersionRequest struct {
900
903
Region scw.Region`json:"-"`
901
904
// SecretID: ID of the secret.
902
905
SecretIDstring`json:"-"`
903
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
906
+
// Revision: version number.
907
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
904
908
Revisionstring`json:"-"`
905
909
}
906
910
@@ -951,7 +955,8 @@ type DisableSecretVersionRequest struct {
951
955
Region scw.Region`json:"-"`
952
956
// SecretID: ID of the secret.
953
957
SecretIDstring`json:"-"`
954
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
958
+
// Revision: version number.
959
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
955
960
Revisionstring`json:"-"`
956
961
}
957
962
@@ -1002,7 +1007,8 @@ type AccessSecretVersionRequest struct {
1002
1007
Region scw.Region`json:"-"`
1003
1008
// SecretID: ID of the secret.
1004
1009
SecretIDstring`json:"-"`
1005
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
1010
+
// Revision: version number.
1011
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
1006
1012
Revisionstring`json:"-"`
1007
1013
}
1008
1014
@@ -1048,7 +1054,8 @@ type AccessSecretVersionByNameRequest struct {
1048
1054
Region scw.Region`json:"-"`
1049
1055
// SecretName: name of the secret.
1050
1056
SecretNamestring`json:"-"`
1051
-
// Revision: version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
1057
+
// Revision: version number.
1058
+
// The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
0 commit comments