Class: Google::Apis::DatabasecenterV1beta::DatabaseResourceIssue
- Inherits:
-
Object
- Object
- Google::Apis::DatabasecenterV1beta::DatabaseResourceIssue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/databasecenter_v1beta/classes.rb,
lib/google/apis/databasecenter_v1beta/representations.rb,
lib/google/apis/databasecenter_v1beta/representations.rb
Overview
DatabaseResource and Issue associated with it.
Instance Attribute Summary collapse
-
#resource ⇒ Google::Apis::DatabasecenterV1beta::DatabaseResource
DatabaseResource represents every individually configured database unit representing compute and/or storage.
-
#signal ⇒ Google::Apis::DatabasecenterV1beta::Signal
Represents a signal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseResourceIssue
constructor
A new instance of DatabaseResourceIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseResourceIssue
Returns a new instance of DatabaseResourceIssue.
722 723 724 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::DatabasecenterV1beta::DatabaseResource
DatabaseResource represents every individually configured database unit
representing compute and/or storage.
Corresponds to the JSON property resource
715 716 717 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 715 def resource @resource end |
#signal ⇒ Google::Apis::DatabasecenterV1beta::Signal
Represents a signal.
Corresponds to the JSON property signal
720 721 722 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 720 def signal @signal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
727 728 729 730 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 727 def update!(**args) @resource = args[:resource] if args.key?(:resource) @signal = args[:signal] if args.key?(:signal) end |