diff --git a/examples/ServiceAccountMaintenance/Program.cs b/examples/ServiceAccountMaintenance/Program.cs index 58910be..85779bf 100755 --- a/examples/ServiceAccountMaintenance/Program.cs +++ b/examples/ServiceAccountMaintenance/Program.cs @@ -132,7 +132,7 @@ private static void Setup() Name = ServiceAccountName, ProjectName = ProjectName, Permissions = {new RepeatedField {perm}}, - Lifetime = Duration.FromTimeSpan(new TimeSpan(1)) // Let this service account live for one day + Lifetime = Duration.FromTimeSpan(new TimeSpan(1, 0, 0, 0)) // Let this service account live for one day }); ServiceAccountIds.Add(resp.Id); }