@@ -103,7 +103,7 @@ If 'POINT_IN_TIME_RECOVERY_DISABLED' is selected, reads are supported on any ver
103103 "create_time" : {
104104 Type : schema .TypeString ,
105105 Computed : true ,
106- Description : `The timestamp at which this database was created.` ,
106+ Description : `Output only. The timestamp at which this database was created.` ,
107107 },
108108 "earliest_version_time" : {
109109 Type : schema .TypeString ,
@@ -115,7 +115,7 @@ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to n
115115 "etag" : {
116116 Type : schema .TypeString ,
117117 Computed : true ,
118- Description : `This checksum is computed by the server based on the value of other fields,
118+ Description : `Output only. This checksum is computed by the server based on the value of other fields,
119119and may be sent on update and delete requests to ensure the client has an
120120up-to-date value before proceeding.` ,
121121 },
@@ -127,6 +127,16 @@ This keyPrefix is used, in combination with the project id ("~") to construct th
127127that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes.
128128This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).` ,
129129 },
130+ "uid" : {
131+ Type : schema .TypeString ,
132+ Computed : true ,
133+ Description : `Output only. The system-generated UUID4 for this Database.` ,
134+ },
135+ "update_time" : {
136+ Type : schema .TypeString ,
137+ Computed : true ,
138+ Description : `Output only. The timestamp at which this database was most recently updated.` ,
139+ },
130140 "version_retention_period" : {
131141 Type : schema .TypeString ,
132142 Computed : true ,
@@ -332,6 +342,12 @@ func resourceFirestoreDatabaseRead(d *schema.ResourceData, meta interface{}) err
332342 if err := d .Set ("create_time" , flattenFirestoreDatabaseCreateTime (res ["create_time" ], d , config )); err != nil {
333343 return fmt .Errorf ("Error reading Database: %s" , err )
334344 }
345+ if err := d .Set ("update_time" , flattenFirestoreDatabaseUpdateTime (res ["update_time" ], d , config )); err != nil {
346+ return fmt .Errorf ("Error reading Database: %s" , err )
347+ }
348+ if err := d .Set ("uid" , flattenFirestoreDatabaseUid (res ["uid" ], d , config )); err != nil {
349+ return fmt .Errorf ("Error reading Database: %s" , err )
350+ }
335351 if err := d .Set ("version_retention_period" , flattenFirestoreDatabaseVersionRetentionPeriod (res ["versionRetentionPeriod" ], d , config )); err != nil {
336352 return fmt .Errorf ("Error reading Database: %s" , err )
337353 }
@@ -523,6 +539,14 @@ func flattenFirestoreDatabaseCreateTime(v interface{}, d *schema.ResourceData, c
523539 return v
524540}
525541
542+ func flattenFirestoreDatabaseUpdateTime (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
543+ return v
544+ }
545+
546+ func flattenFirestoreDatabaseUid (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
547+ return v
548+ }
549+
526550func flattenFirestoreDatabaseVersionRetentionPeriod (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
527551 return v
528552}
0 commit comments