Class: Google::Apis::CloudnumberregistryV1alpha::IpamAdminScope
- Inherits:
-
Object
- Object
- Google::Apis::CloudnumberregistryV1alpha::IpamAdminScope
- 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
An IpamAdminScope defines the administrative boundary for IP address discovery and management. It configures which platforms and organizational scopes are enabled for IP tracking.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#enabled_addon_platforms ⇒ Array<String>
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Required.
-
#scopes ⇒ Array<String>
Required.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IpamAdminScope
constructor
A new instance of IpamAdminScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IpamAdminScope
Returns a new instance of IpamAdminScope.
523 524 525 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time at which the IpamAdminScope was created.
Corresponds to the JSON property createTime
488 489 490 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 488 def create_time @create_time end |
#enabled_addon_platforms ⇒ Array<String>
Required. Add-on platforms that are enabled for this IpamAdminScope. Cloud
Number Registry only discovers the IP addresses from the enabled platforms.
Corresponds to the JSON property enabledAddonPlatforms
494 495 496 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 494 def enabled_addon_platforms @enabled_addon_platforms end |
#labels ⇒ Hash<String,String>
Optional. User-defined labels.
Corresponds to the JSON property labels
499 500 501 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 499 def labels @labels end |
#name ⇒ String
Required. Identifier. The resource name of the IpamAdminScope.
Corresponds to the JSON property name
504 505 506 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 504 def name @name end |
#scopes ⇒ Array<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
511 512 513 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 511 def scopes @scopes end |
#state ⇒ String
Output only. State of resource discovery pipeline.
Corresponds to the JSON property state
516 517 518 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 516 def state @state end |
#update_time ⇒ String
Output only. The time at which the IpamAdminScope was last updated.
Corresponds to the JSON property updateTime
521 522 523 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 521 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
528 529 530 531 532 533 534 535 536 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 528 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 |