NetApp V1 API - Class Google::Cloud::NetApp::V1::CreateBackupPolicyRequest (v0.3.0)

Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::CreateBackupPolicyRequest.

CreateBackupPolicyRequest creates a backupPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup_policy

def backup_policy() -> ::Google::Cloud::NetApp::V1::BackupPolicy
Returns

#backup_policy=

def backup_policy=(value) -> ::Google::Cloud::NetApp::V1::BackupPolicy
Parameter
Returns

#backup_policy_id

def backup_policy_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the backup policy. The ID must be unique within the specified 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.

#backup_policy_id=

def backup_policy_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the backup policy. The ID must be unique within the specified 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.
Returns
  • (::String) — Required. The ID to use for the backup policy. The ID must be unique within the specified 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.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The location to create the backup policies of, in the format projects/{project_id}/locations/{location}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The location to create the backup policies of, in the format projects/{project_id}/locations/{location}
Returns
  • (::String) — Required. The location to create the backup policies of, in the format projects/{project_id}/locations/{location}