Class: Google::Apis::CloudnumberregistryV1alpha::RegistryBook

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 RegistryBook object

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dataGoogle::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_scopesArray<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

Returns:

  • (Array<String>)


1114
1115
1116
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1114

def claimed_scopes
  @claimed_scopes
end

#create_timeString

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

Returns:

  • (String)


1119
1120
1121
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1119

def create_time
  @create_time
end

#is_defaultBoolean Also known as: is_default?

Output only. Whether the RegistryBook is the default one. Corresponds to the JSON property isDefault

Returns:

  • (Boolean)


1124
1125
1126
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1124

def is_default
  @is_default
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1130
1131
1132
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1130

def labels
  @labels
end

#nameString

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

Returns:

  • (String)


1135
1136
1137
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1135

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


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