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.



1599
1600
1601
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1599

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)


1591
1592
1593
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1591

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



1597
1598
1599
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1597

def usage_within_time_range
  @usage_within_time_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1604
1605
1606
1607
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1604

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