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.



508
509
510
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 508

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

Instance Attribute Details

#view_countFixnum

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

Returns:

  • (Fixnum)


506
507
508
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 506

def view_count
  @view_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



513
514
515
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 513

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