Class: Google::Apis::CloudnumberregistryV1alpha::AggregatedData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudnumberregistry_v1alpha/classes.rb,
lib/google/apis/cloudnumberregistry_v1alpha/representations.rb,
lib/google/apis/cloudnumberregistry_v1alpha/representations.rb

Overview

Aggregated data for the RegistryBook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AggregatedData

Returns a new instance of AggregatedData.



54
55
56
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 54

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

Instance Attribute Details

#custom_ranges_countFixnum

Output only. Number of custom ranges in the RegistryBook. Corresponds to the JSON property customRangesCount

Returns:

  • (Fixnum)


32
33
34
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 32

def custom_ranges_count
  @custom_ranges_count
end

#custom_realms_countFixnum

Output only. Number of custom realms in the RegistryBook. Corresponds to the JSON property customRealmsCount

Returns:

  • (Fixnum)


37
38
39
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 37

def custom_realms_count
  @custom_realms_count
end

#discovered_ranges_countFixnum

Output only. Number of discovered ranges in the RegistryBook. Corresponds to the JSON property discoveredRangesCount

Returns:

  • (Fixnum)


42
43
44
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 42

def discovered_ranges_count
  @discovered_ranges_count
end

#discovered_realms_countFixnum

Output only. Number of discovered realms in the RegistryBook. Corresponds to the JSON property discoveredRealmsCount

Returns:

  • (Fixnum)


47
48
49
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 47

def discovered_realms_count
  @discovered_realms_count
end

#unique_scopes_countFixnum

Output only. Number of scopes unique to the RegistryBook. Corresponds to the JSON property uniqueScopesCount

Returns:

  • (Fixnum)


52
53
54
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 52

def unique_scopes_count
  @unique_scopes_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
62
63
64
65
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 59

def update!(**args)
  @custom_ranges_count = args[:custom_ranges_count] if args.key?(:custom_ranges_count)
  @custom_realms_count = args[:custom_realms_count] if args.key?(:custom_realms_count)
  @discovered_ranges_count = args[:discovered_ranges_count] if args.key?(:discovered_ranges_count)
  @discovered_realms_count = args[:discovered_realms_count] if args.key?(:discovered_realms_count)
  @unique_scopes_count = args[:unique_scopes_count] if args.key?(:unique_scopes_count)
end