Class: Google::Apis::OracledatabaseV1::GoldengateMaintenanceWindow

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#dayString

Required. Days of the week. Corresponds to the JSON property day

Returns:

  • (String)


6167
6168
6169
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6167

def day
  @day
end

#start_hourFixnum

Required. Start hour for maintenance period. Hour is in UTC. Corresponds to the JSON property startHour

Returns:

  • (Fixnum)


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