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.
6174 6175 6176 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day ⇒ String
Required. Days of the week.
Corresponds to the JSON property day
6167 6168 6169 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6167 def day @day end |
#start_hour ⇒ Fixnum
Required. Start hour for maintenance period. Hour is in UTC.
Corresponds to the JSON property startHour
6172 6173 6174 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6172 def start_hour @start_hour end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6179 6180 6181 6182 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6179 def update!(**args) @day = args[:day] if args.key?(:day) @start_hour = args[:start_hour] if args.key?(:start_hour) end |