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
Message describing RegistryBook object
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.
1142 1143 1144 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1142 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
1107 1108 1109 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1107 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
1114 1115 1116 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1114 def claimed_scopes @claimed_scopes end |
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
1119 1120 1121 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1119 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
1124 1125 1126 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1124 def is_default @is_default end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
1130 1131 1132 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1130 def labels @labels end |
#name ⇒ String
Required. Identifier. name of resource
Corresponds to the JSON property name
1135 1136 1137 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1135 def name @name end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
1140 1141 1142 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1140 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1147 1148 1149 1150 1151 1152 1153 1154 1155 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1147 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 |