Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CommonUsageStats
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CommonUsageStats
- 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
Common statistics on the entry's usage. They can be set on any system.
Instance Attribute Summary collapse
-
#view_count ⇒ Fixnum
View count in source system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1CommonUsageStats
constructor
A new instance of GoogleCloudDatacatalogV1CommonUsageStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1CommonUsageStats
Returns a new instance of GoogleCloudDatacatalogV1CommonUsageStats.
636 637 638 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#view_count ⇒ Fixnum
View count in source system.
Corresponds to the JSON property viewCount
634 635 636 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 634 def view_count @view_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
641 642 643 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 641 def update!(**args) @view_count = args[:view_count] if args.key?(:view_count) end |