class Google::Apis::FileV1beta1::ListBackupsResponse

ListBackupsResponse is the result of ListBackupsRequest.

Attributes

backups[RW]

A list of backups in the project for the specified location. If the “location` ` value in the request is “-”, the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the “unreachable” field will be populated with a list of unreachable locations. Corresponds to the JSON property `backups` @return [Array<Google::Apis::FileV1beta1::Backup>]

next_page_token[RW]

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. Corresponds to the JSON property `nextPageToken` @return [String]

unreachable[RW]

Locations that could not be reached. Corresponds to the JSON property `unreachable` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/file_v1beta1/classes.rb, line 803
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/file_v1beta1/classes.rb, line 808
def update!(**args)
  @backups = args[:backups] if args.key?(:backups)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end