Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Disable validation warnings
Instance Attribute Summary collapse
-
#day ⇒ String
Optional.
-
#phase ⇒ String
Optional.
-
#time ⇒ Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay
Represents a time of day.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
Returns a new instance of StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule.
5195 5196 5197 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day ⇒ String
Optional. Disable validation warnings
Corresponds to the JSON property day
5181 5182 5183 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5181 def day @day end |
#phase ⇒ String
Optional. Disable validation warnings
Corresponds to the JSON property phase
5186 5187 5188 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5186 def phase @phase end |
#time ⇒ Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay
Represents a time of day. The date and time zone are either not significant or
are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and google.protobuf.Timestamp.
Corresponds to the JSON property time
5193 5194 5195 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5193 def time @time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5200 5201 5202 5203 5204 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5200 def update!(**args) @day = args[:day] if args.key?(:day) @phase = args[:phase] if args.key?(:phase) @time = args[:time] if args.key?(:time) end |