class Google::Apis::SqladminV1beta4::DenyMaintenancePeriod
Deny Maintenance Periods. This specifies a date range during when all CSA rollout will be denied.
Attributes
“deny maintenance period” end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01 Corresponds to the JSON property `endDate` @return [String]
“deny maintenance period” start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01 Corresponds to the JSON property `startDate` @return [String]
Time in UTC when the “deny maintenance period” starts on start_date
and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00 Corresponds to the JSON property `time` @return [String]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1091 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1096 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @start_date = args[:start_date] if args.key?(:start_date) @time = args[:time] if args.key?(:time) end