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

Availability details for a specific IpamAdminScope.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IpamAdminScopeAvailability

Returns a new instance of IpamAdminScopeAvailability.



558
559
560
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 558

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)


546
547
548
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 546

def admin_project
  @admin_project
end

#availabilityString

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

Returns:

  • (String)


551
552
553
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 551

def availability
  @availability
end

#scopeString

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

Returns:

  • (String)


556
557
558
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 556

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



563
564
565
566
567
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 563

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