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.



3402
3403
3404
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3402

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)


3389
3390
3391
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3389

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)


3395
3396
3397
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3395

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)


3400
3401
3402
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3400

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3407
3408
3409
3410
3411
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3407

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