Class: Google::Apis::SpannerV1::ListBackupSchedulesResponse

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

Overview

The response for ListBackupSchedules.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListBackupSchedulesResponse

Returns a new instance of ListBackupSchedulesResponse.



3877
3878
3879
# File 'lib/google/apis/spanner_v1/classes.rb', line 3877

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

Instance Attribute Details

#backup_schedulesArray<Google::Apis::SpannerV1::BackupSchedule>

The list of backup schedules for a database. Corresponds to the JSON property backupSchedules



3869
3870
3871
# File 'lib/google/apis/spanner_v1/classes.rb', line 3869

def backup_schedules
  @backup_schedules
end

#next_page_tokenString

next_page_token can be sent in a subsequent ListBackupSchedules call to fetch more of the schedules. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3875
3876
3877
# File 'lib/google/apis/spanner_v1/classes.rb', line 3875

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3882
3883
3884
3885
# File 'lib/google/apis/spanner_v1/classes.rb', line 3882

def update!(**args)
  @backup_schedules = args[:backup_schedules] if args.key?(:backup_schedules)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end