Class: Google::Apis::CloudnumberregistryV1alpha::RegistryBook
- Inherits:
-
Object
- Object
- Google::Apis::CloudnumberregistryV1alpha::RegistryBook
- 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
A RegistryBook organizes and manages IP address space. It claims specific scopes (such as projects) and groups related Realms and Ranges.
Instance Attribute Summary collapse
-
#aggregated_data ⇒ Google::Apis::CloudnumberregistryV1alpha::AggregatedData
Aggregated data for the RegistryBook.
-
#claimed_scopes ⇒ Array<String>
Optional.
-
#create_time ⇒ String
Output only.
-
#is_default ⇒ Boolean
(also: #is_default?)
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegistryBook
constructor
A new instance of RegistryBook.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegistryBook
Returns a new instance of RegistryBook.
1166 1167 1168 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregated_data ⇒ Google::Apis::CloudnumberregistryV1alpha::AggregatedData
Aggregated data for the RegistryBook.
Corresponds to the JSON property aggregatedData
1131 1132 1133 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1131 def aggregated_data @aggregated_data end |
#claimed_scopes ⇒ Array<String>
Optional. List of scopes claimed by the RegistryBook. In Preview, Only project
scope is supported. Each scope is in the format of projects/project. Each
scope can only be claimed once.
Corresponds to the JSON property claimedScopes
1138 1139 1140 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1138 def claimed_scopes @claimed_scopes end |
#create_time ⇒ String
Output only. The time at which the RegistryBook was created.
Corresponds to the JSON property createTime
1143 1144 1145 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1143 def create_time @create_time end |
#is_default ⇒ Boolean Also known as: is_default?
Output only. Whether the RegistryBook is the default one.
Corresponds to the JSON property isDefault
1148 1149 1150 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1148 def is_default @is_default end |
#labels ⇒ Hash<String,String>
Optional. User-defined labels.
Corresponds to the JSON property labels
1154 1155 1156 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1154 def labels @labels end |
#name ⇒ String
Required. Identifier. The resource name of the RegistryBook.
Corresponds to the JSON property name
1159 1160 1161 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1159 def name @name end |
#update_time ⇒ String
Output only. The time at which the RegistryBook was last updated.
Corresponds to the JSON property updateTime
1164 1165 1166 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1164 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1171 1172 1173 1174 1175 1176 1177 1178 1179 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1171 def update!(**args) @aggregated_data = args[:aggregated_data] if args.key?(:aggregated_data) @claimed_scopes = args[:claimed_scopes] if args.key?(:claimed_scopes) @create_time = args[:create_time] if args.key?(:create_time) @is_default = args[:is_default] if args.key?(:is_default) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |