Class: Google::Apis::CloudnumberregistryV1alpha::SearchIpResourcesResult

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

A result matching the search query, which can be either a range or a realm.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchIpResourcesResult

Returns a new instance of SearchIpResourcesResult.



1277
1278
1279
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1277

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

Instance Attribute Details

#rangeGoogle::Apis::CloudnumberregistryV1alpha::Range

Message describing either a CustomRange or a DiscoveredRange. Corresponds to the JSON property range



1270
1271
1272
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1270

def range
  @range
end

#realmGoogle::Apis::CloudnumberregistryV1alpha::Realm

Message describing Realm object Corresponds to the JSON property realm



1275
1276
1277
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1275

def realm
  @realm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1282
1283
1284
1285
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1282

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