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.



3705
3706
3707
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3705

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)


3697
3698
3699
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3697

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



3703
3704
3705
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3703

def usage_within_time_range
  @usage_within_time_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3710
3711
3712
3713
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3710

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