Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CommonUsageStats

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

Common statistics on the entry's usage. They can be set on any system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1CommonUsageStats

Returns a new instance of GoogleCloudDatacatalogV1CommonUsageStats.



636
637
638
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 636

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

Instance Attribute Details

#view_countFixnum

View count in source system. Corresponds to the JSON property viewCount

Returns:

  • (Fixnum)


634
635
636
# File 'lib/google/apis/datacatalog_v1beta1/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_v1beta1/classes.rb', line 641

def update!(**args)
  @view_count = args[:view_count] if args.key?(:view_count)
end