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.



6305
6306
6307
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6305

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dayString

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

Returns:

  • (String)


6298
6299
6300
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6298

def day
  @day
end

#start_hourFixnum

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

Returns:

  • (Fixnum)


6303
6304
6305
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6303

def start_hour
  @start_hour
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6310
6311
6312
6313
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 6310

def update!(**args)
  @day = args[:day] if args.key?(:day)
  @start_hour = args[:start_hour] if args.key?(:start_hour)
end