Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb

Overview

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule

Returns a new instance of StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule.



5229
5230
5231
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5229

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

Instance Attribute Details

#dayString

Optional. Disable validation warnings Corresponds to the JSON property day

Returns:

  • (String)


5215
5216
5217
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5215

def day
  @day
end

#phaseString

Optional. Disable validation warnings Corresponds to the JSON property phase

Returns:

  • (String)


5220
5221
5222
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5220

def phase
  @phase
end

#timeGoogle::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. Corresponds to the JSON property time



5227
5228
5229
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5227

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5234
5235
5236
5237
5238
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5234

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