Method: Google::Apis::AlloydbV1beta::AutomatedBackupPolicy#update!

Defined in:
lib/google/apis/alloydb_v1beta/classes.rb

#update!(**args) ⇒ Object

Update properties of this object



109
110
111
112
113
114
115
116
117
118
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 109

def update!(**args)
  @backup_window = args[:backup_window] if args.key?(:backup_window)
  @enabled = args[:enabled] if args.key?(:enabled)
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
  @labels = args[:labels] if args.key?(:labels)
  @location = args[:location] if args.key?(:location)
  @quantity_based_retention = args[:quantity_based_retention] if args.key?(:quantity_based_retention)
  @time_based_retention = args[:time_based_retention] if args.key?(:time_based_retention)
  @weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule)
end