Class: Google::Apis::CloudnumberregistryV1alpha::IpamAdminScope

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 describing IpamAdminScope object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IpamAdminScope

Returns a new instance of IpamAdminScope.



509
510
511
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 509

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

Instance Attribute Details

#create_timeString

Output only. [Output only] Create time stamp Corresponds to the JSON property createTime

Returns:

  • (String)


474
475
476
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 474

def create_time
  @create_time
end

#enabled_addon_platformsArray<String>

Required. Addon platforms that are enabled for this IPAM admin scope. Cloud Number Registry only discovers the IP addresses from the enabled platforms. Corresponds to the JSON property enabledAddonPlatforms

Returns:

  • (Array<String>)


480
481
482
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 480

def enabled_addon_platforms
  @enabled_addon_platforms
end

#labelsHash<String,String>

Optional. Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


485
486
487
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 485

def labels
  @labels
end

#nameString

Required. Identifier. name of resource Corresponds to the JSON property name

Returns:

  • (String)


490
491
492
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 490

def name
  @name
end

#scopesArray<String>

Required. Administrative scopes enabled for IP address discovery and management. For example, "organizations/1234567890". Minimum of 1 scope is required. In preview, only one organization scope is allowed. Corresponds to the JSON property scopes

Returns:

  • (Array<String>)


497
498
499
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 497

def scopes
  @scopes
end

#stateString

Output only. State of resource discovery pipeline. Corresponds to the JSON property state

Returns:

  • (String)


502
503
504
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 502

def state
  @state
end

#update_timeString

Output only. [Output only] Update time stamp Corresponds to the JSON property updateTime

Returns:

  • (String)


507
508
509
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 507

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



514
515
516
517
518
519
520
521
522
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 514

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @enabled_addon_platforms = args[:enabled_addon_platforms] if args.key?(:enabled_addon_platforms)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @scopes = args[:scopes] if args.key?(:scopes)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end