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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/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.



3349
3350
3351
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3349

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)


3336
3337
3338
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3336

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)


3342
3343
3344
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3342

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)


3347
3348
3349
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3347

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3354
3355
3356
3357
3358
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3354

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