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
Message describing IpamAdminScope object
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.
509 510 511 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 509 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
474 475 476 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 474 def create_time @create_time end |
#enabled_addon_platforms ⇒ Array<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
480 481 482 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 480 def enabled_addon_platforms @enabled_addon_platforms end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
485 486 487 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 485 def labels @labels end |
#name ⇒ String
Required. Identifier. name of resource
Corresponds to the JSON property name
490 491 492 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 490 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
497 498 499 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 497 def scopes @scopes end |
#state ⇒ String
Output only. State of resource discovery pipeline.
Corresponds to the JSON property state
502 503 504 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 502 def state @state end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
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 |