Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
Disable validation warnings
Instance Attribute Summary collapse
-
#additional_metadata ⇒ Hash<String,Object>
Optional.
-
#last_refresh_time ⇒ String
Required.
-
#recommendation_state ⇒ String
Required.
-
#recommender ⇒ String
Required.
-
#recommender_id ⇒ String
Required.
-
#recommender_subtype ⇒ String
Required.
-
#resource_name ⇒ String
Required.
-
#signal_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
Returns a new instance of StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.
4229 4230 4231 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_metadata ⇒ Hash<String,Object>
Optional. Disable validation warnings
Corresponds to the JSON property additionalMetadata
4192 4193 4194 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4192 def @additional_metadata end |
#last_refresh_time ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property lastRefreshTime
4197 4198 4199 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4197 def last_refresh_time @last_refresh_time end |
#recommendation_state ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property recommendationState
4202 4203 4204 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4202 def recommendation_state @recommendation_state end |
#recommender ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property recommender
4207 4208 4209 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4207 def recommender @recommender end |
#recommender_id ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property recommenderId
4212 4213 4214 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4212 def recommender_id @recommender_id end |
#recommender_subtype ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property recommenderSubtype
4217 4218 4219 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4217 def recommender_subtype @recommender_subtype end |
#resource_name ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property resourceName
4222 4223 4224 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4222 def resource_name @resource_name end |
#signal_type ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property signalType
4227 4228 4229 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4227 def signal_type @signal_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4234 def update!(**args) @additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata) @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time) @recommendation_state = args[:recommendation_state] if args.key?(:recommendation_state) @recommender = args[:recommender] if args.key?(:recommender) @recommender_id = args[:recommender_id] if args.key?(:recommender_id) @recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype) @resource_name = args[:resource_name] if args.key?(:resource_name) @signal_type = args[:signal_type] if args.key?(:signal_type) end |