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.
6336 6337 6338 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day ⇒ String
Required. Days of the week.
Corresponds to the JSON property day
6329 6330 6331 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6329 def day @day end |
#start_hour ⇒ Fixnum
Required. Start hour for maintenance period. Hour is in UTC.
Corresponds to the JSON property startHour
6334 6335 6336 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6334 def start_hour @start_hour end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6341 6342 6343 6344 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6341 def update!(**args) @day = args[:day] if args.key?(:day) @start_hour = args[:start_hour] if args.key?(:start_hour) end |