Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::CreateBackupRequest.
CreateBackupRequest creates a backup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup
def backup() -> ::Google::Cloud::Filestore::V1::Backup
- (::Google::Cloud::Filestore::V1::Backup) — Required. A backup resource
#backup=
def backup=(value) -> ::Google::Cloud::Filestore::V1::Backup
- value (::Google::Cloud::Filestore::V1::Backup) — Required. A backup resource
- (::Google::Cloud::Filestore::V1::Backup) — Required. A backup resource
#backup_id
def backup_id() -> ::String
-
(::String) — Required. The ID to use for the backup.
The ID must be unique within the specified project and location.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
#backup_id=
def backup_id=(value) -> ::String
-
value (::String) — Required. The ID to use for the backup.
The ID must be unique within the specified project and location.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
-
(::String) — Required. The ID to use for the backup.
The ID must be unique within the specified project and location.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
#parent
def parent() -> ::String
-
(::String) — Required. The backup's project and location, in the format
projects/{project_number}/locations/{location}
. In Cloud Filestore, backup locations map to GCP regions, for example us-west1.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The backup's project and location, in the format
projects/{project_number}/locations/{location}
. In Cloud Filestore, backup locations map to GCP regions, for example us-west1.
-
(::String) — Required. The backup's project and location, in the format
projects/{project_number}/locations/{location}
. In Cloud Filestore, backup locations map to GCP regions, for example us-west1.