@@ -52,6 +52,17 @@ public final class IssuancePolicy extends com.google.api.client.json.GenericJson
5252 com .google .api .client .util .Data .nullOf (AllowedKeyType .class );
5353 }
5454
55+ /**
56+ * Optional. The duration to backdate all certificates issued from this CaPool. If not set, the
57+ * certificates will be issued with a not_before_time of the issuance time (i.e. the current
58+ * time). If set, the certificates will be issued with a not_before_time of the issuance time
59+ * minus the backdate_duration. The not_after_time will be adjusted to preserve the requested
60+ * lifetime. The backdate_duration must be less than or equal to 48 hours.
61+ * The value may be {@code null}.
62+ */
63+ @ com .google .api .client .util .Key
64+ private String backdateDuration ;
65+
5566 /**
5667 * Optional. A set of X.509 values that will be applied to all certificates issued through this
5768 * CaPool. If a certificate request includes conflicting values for the same properties, they will
@@ -132,6 +143,31 @@ public IssuancePolicy setAllowedKeyTypes(java.util.List<AllowedKeyType> allowedK
132143 return this ;
133144 }
134145
146+ /**
147+ * Optional. The duration to backdate all certificates issued from this CaPool. If not set, the
148+ * certificates will be issued with a not_before_time of the issuance time (i.e. the current
149+ * time). If set, the certificates will be issued with a not_before_time of the issuance time
150+ * minus the backdate_duration. The not_after_time will be adjusted to preserve the requested
151+ * lifetime. The backdate_duration must be less than or equal to 48 hours.
152+ * @return value or {@code null} for none
153+ */
154+ public String getBackdateDuration () {
155+ return backdateDuration ;
156+ }
157+
158+ /**
159+ * Optional. The duration to backdate all certificates issued from this CaPool. If not set, the
160+ * certificates will be issued with a not_before_time of the issuance time (i.e. the current
161+ * time). If set, the certificates will be issued with a not_before_time of the issuance time
162+ * minus the backdate_duration. The not_after_time will be adjusted to preserve the requested
163+ * lifetime. The backdate_duration must be less than or equal to 48 hours.
164+ * @param backdateDuration backdateDuration or {@code null} for none
165+ */
166+ public IssuancePolicy setBackdateDuration (String backdateDuration ) {
167+ this .backdateDuration = backdateDuration ;
168+ return this ;
169+ }
170+
135171 /**
136172 * Optional. A set of X.509 values that will be applied to all certificates issued through this
137173 * CaPool. If a certificate request includes conflicting values for the same properties, they will
0 commit comments