Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageSignal

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

The set of all usage signals that we store in Data Catalog.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1UsageSignal

Returns a new instance of GoogleCloudDatacatalogV1beta1UsageSignal.



3786
3787
3788
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3786

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

Instance Attribute Details

#update_timeString

The timestamp of the end of the usage statistics duration. Corresponds to the JSON property updateTime

Returns:

  • (String)


3778
3779
3780
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3778

def update_time
  @update_time
end

#usage_within_time_rangeHash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats>

Usage statistics over each of the pre-defined time ranges, supported strings for time ranges are "24H", "7D", "30D". Corresponds to the JSON property usageWithinTimeRange



3784
3785
3786
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3784

def usage_within_time_range
  @usage_within_time_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3791
3792
3793
3794
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3791

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