Class: Google::Cloud::Filestore::V1::CreateBackupRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb

Overview

CreateBackupRequest creates a backup.

Instance Attribute Summary collapse

Instance Attribute Details

#backup::Google::Cloud::Filestore::V1::Backup

Returns Required. A backup resource.



680
681
682
683
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 680

class CreateBackupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#backup_id::String

Returns 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.

Returns:

  • (::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.



680
681
682
683
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 680

class CreateBackupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The backup's project and location, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1.

Returns:

  • (::String)

    Required. The backup's project and location, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1.



680
681
682
683
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 680

class CreateBackupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end