Class: Google::Apis::OracledatabaseV1::GoldengateMaintenanceWindow
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::GoldengateMaintenanceWindow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
The maintenance window of the GoldengateDeployment.
Instance Attribute Summary collapse
-
#day ⇒ String
Required.
-
#start_hour ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoldengateMaintenanceWindow
constructor
A new instance of GoldengateMaintenanceWindow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoldengateMaintenanceWindow
Returns a new instance of GoldengateMaintenanceWindow.
6368 6369 6370 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6368 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day ⇒ String
Required. Days of the week.
Corresponds to the JSON property day
6361 6362 6363 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6361 def day @day end |
#start_hour ⇒ Fixnum
Required. Start hour for maintenance period. Hour is in UTC.
Corresponds to the JSON property startHour
6366 6367 6368 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6366 def start_hour @start_hour end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6373 6374 6375 6376 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6373 def update!(**args) @day = args[:day] if args.key?(:day) @start_hour = args[:start_hour] if args.key?(:start_hour) end |