Class: Google::Apis::CloudnumberregistryV1alpha::IpamAdminScopeAvailability
- Inherits:
-
Object
- Object
- Google::Apis::CloudnumberregistryV1alpha::IpamAdminScopeAvailability
- 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
Message for the availability of an IpamAdminScope
Instance Attribute Summary collapse
-
#admin_project ⇒ Fixnum
The admin project of the IpamAdminScope if it exists.
-
#availability ⇒ String
The availability of the scope.
-
#scope ⇒ String
The scope of the IpamAdminScope.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IpamAdminScopeAvailability
constructor
A new instance of IpamAdminScopeAvailability.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IpamAdminScopeAvailability
Returns a new instance of IpamAdminScopeAvailability.
544 545 546 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 544 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_project ⇒ Fixnum
The admin project of the IpamAdminScope if it exists.
Corresponds to the JSON property adminProject
532 533 534 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 532 def admin_project @admin_project end |
#availability ⇒ String
The availability of the scope.
Corresponds to the JSON property availability
537 538 539 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 537 def availability @availability end |
#scope ⇒ String
The scope of the IpamAdminScope.
Corresponds to the JSON property scope
542 543 544 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 542 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
549 550 551 552 553 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 549 def update!(**args) @admin_project = args[:admin_project] if args.key?(:admin_project) @availability = args[:availability] if args.key?(:availability) @scope = args[:scope] if args.key?(:scope) end |