Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1SystemTimestamps

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 associated with this resource in a particular system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1SystemTimestamps

Returns a new instance of GoogleCloudDatacatalogV1SystemTimestamps.



1813
1814
1815
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1813

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

Instance Attribute Details

#create_timeString

Creation timestamp of the resource within the given system. Corresponds to the JSON property createTime

Returns:

  • (String)


1797
1798
1799
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1797

def create_time
  @create_time
end

#expire_timeString

Output only. Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources. Corresponds to the JSON property expireTime

Returns:

  • (String)


1803
1804
1805
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1803

def expire_time
  @expire_time
end

#update_timeString

Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For example, BigQuery timestamps every metadata modification but not data or permission changes. Corresponds to the JSON property updateTime

Returns:

  • (String)


1811
1812
1813
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1811

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1818
1819
1820
1821
1822
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1818

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