Class: Google::Apis::CloudnumberregistryV1alpha::IpamAdminScopeAvailability

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

Message for the availability of an IpamAdminScope

Instance Attribute Summary collapse

Instance Method Summary collapse

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_projectFixnum

The admin project of the IpamAdminScope if it exists. Corresponds to the JSON property adminProject

Returns:

  • (Fixnum)


532
533
534
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 532

def admin_project
  @admin_project
end

#availabilityString

The availability of the scope. Corresponds to the JSON property availability

Returns:

  • (String)


537
538
539
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 537

def availability
  @availability
end

#scopeString

The scope of the IpamAdminScope. Corresponds to the JSON property scope

Returns:

  • (String)


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