Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/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.



5219
5220
5221
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5219

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

Instance Attribute Details

#dayString

Optional. Disable validation warnings Corresponds to the JSON property day

Returns:

  • (String)


5205
5206
5207
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5205

def day
  @day
end

#phaseString

Optional. Disable validation warnings Corresponds to the JSON property phase

Returns:

  • (String)


5210
5211
5212
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5210

def phase
  @phase
end

#timeGoogle::Apis::AlloydbV1beta::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



5217
5218
5219
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5217

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5224
5225
5226
5227
5228
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5224

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