Class: Google::Cloud::NetApp::V1::CreateSnapshotRequest

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

Overview

CreateSnapshotRequest creates a snapshot.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}.

Returns:

  • (::String)

    Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}



88
89
90
91
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 88

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

#snapshot::Google::Cloud::NetApp::V1::Snapshot

Returns Required. A snapshot resource.

Returns:



88
89
90
91
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 88

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

#snapshot_id::String

Returns Required. ID of the snapshot to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

Returns:

  • (::String)

    Required. ID of the snapshot to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.



88
89
90
91
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 88

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