Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datacatalog_v1beta1/classes.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb

Overview

Timestamps about this resource according to a particular system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SystemTimestamps

Returns a new instance of GoogleCloudDatacatalogV1beta1SystemTimestamps.



1244
1245
1246
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1244

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

The creation time of the resource within the given system. Corresponds to the JSON property createTime

Returns:

  • (String)


1231
1232
1233
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1231

def create_time
  @create_time
end

#expire_timeString

Output only. The expiration time of the resource within the given system. Currently only apllicable to BigQuery resources. Corresponds to the JSON property expireTime

Returns:

  • (String)


1237
1238
1239
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1237

def expire_time
  @expire_time
end

#update_timeString

The last-modified time of the resource within the given system. Corresponds to the JSON property updateTime

Returns:

  • (String)


1242
1243
1244
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1242

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1249
1250
1251
1252
1253
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1249

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
  @update_time = args[:update_time] if args.key?(:update_time)
end