class Google::Apis::FileV1beta1::Backup
A Cloud Filestore backup.
Attributes
Output only. Capacity of the source file share when the backup was created. Corresponds to the JSON property `capacityGb` @return [Fixnum]
Output only. The time when the backup was created. Corresponds to the JSON property `createTime` @return [String]
A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. Corresponds to the JSON property `description` @return [String]
Output only. Amount of bytes that will be downloaded if the backup is restored Corresponds to the JSON property `downloadBytes` @return [Fixnum]
Resource labels to represent user provided metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Output only. The resource name of the backup, in the format `projects/` project_id`/locations/`location_id`/backups/`backup_id“. Corresponds to the JSON property `name` @return [String]
Output only. Reserved for future use. Corresponds to the JSON property `satisfiesPzs` @return [Boolean]
Output only. Reserved for future use. Corresponds to the JSON property `satisfiesPzs` @return [Boolean]
The resource name of the source Cloud Filestore instance, in the format ` projects/`project_id`/locations/`location_id`/instances/`instance_id“, used to create this backup. Corresponds to the JSON property `sourceInstance` @return [String]
Output only. The service tier of the source Cloud Filestore instance that this backup is created from. Corresponds to the JSON property `sourceInstanceTier` @return [String]
Output only. The backup state. Corresponds to the JSON property `state` @return [String]
Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion. Corresponds to the JSON property `storageBytes` @return [Fixnum]
Public Class Methods
# File lib/google/apis/file_v1beta1/classes.rb, line 97 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/file_v1beta1/classes.rb, line 102 def update!(**args) @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @download_bytes = args[:download_bytes] if args.key?(:download_bytes) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @source_file_share = args[:source_file_share] if args.key?(:source_file_share) @source_instance = args[:source_instance] if args.key?(:source_instance) @source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier) @state = args[:state] if args.key?(:state) @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes) end