Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
Entry metadata relevant only to the user and private to them.
Instance Attribute Summary collapse
-
#star_time ⇒ String
Set if the entry is starred; unset otherwise.
-
#starred ⇒ Boolean
(also: #starred?)
True if the entry is starred by the user; false otherwise.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1PersonalDetails
constructor
A new instance of GoogleCloudDatacatalogV1PersonalDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1PersonalDetails
Returns a new instance of GoogleCloudDatacatalogV1PersonalDetails.
1676 1677 1678 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#star_time ⇒ String
Set if the entry is starred; unset otherwise.
Corresponds to the JSON property starTime
1668 1669 1670 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1668 def star_time @star_time end |
#starred ⇒ Boolean Also known as: starred?
True if the entry is starred by the user; false otherwise.
Corresponds to the JSON property starred
1673 1674 1675 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1673 def starred @starred end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1681 1682 1683 1684 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1681 def update!(**args) @star_time = args[:star_time] if args.key?(:star_time) @starred = args[:starred] if args.key?(:starred) end |