Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule

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



4721
4722
4723
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4721

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

Instance Attribute Details

#dayString

Optional. Disable validation warnings Corresponds to the JSON property day

Returns:

  • (String)


4707
4708
4709
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4707

def day
  @day
end

#phaseString

Optional. Disable validation warnings Corresponds to the JSON property phase

Returns:

  • (String)


4712
4713
4714
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4712

def phase
  @phase
end

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



4719
4720
4721
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4719

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4726
4727
4728
4729
4730
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4726

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