netapppb

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActiveDirectory_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "UPDATING",
		4: "IN_USE",
		5: "DELETING",
		6: "ERROR",
	}
	ActiveDirectory_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"READY":             2,
		"UPDATING":          3,
		"IN_USE":            4,
		"DELETING":          5,
		"ERROR":             6,
	}
)

Enum value maps for ActiveDirectory_State.

View Source
var (
	ServiceLevel_name = map[int32]string{
		0: "SERVICE_LEVEL_UNSPECIFIED",
		1: "PREMIUM",
		2: "EXTREME",
		3: "STANDARD",
	}
	ServiceLevel_value = map[string]int32{
		"SERVICE_LEVEL_UNSPECIFIED": 0,
		"PREMIUM":                   1,
		"EXTREME":                   2,
		"STANDARD":                  3,
	}
)

Enum value maps for ServiceLevel.

View Source
var (
	EncryptionType_name = map[int32]string{
		0: "ENCRYPTION_TYPE_UNSPECIFIED",
		1: "SERVICE_MANAGED",
		2: "CLOUD_KMS",
	}
	EncryptionType_value = map[string]int32{
		"ENCRYPTION_TYPE_UNSPECIFIED": 0,
		"SERVICE_MANAGED":             1,
		"CLOUD_KMS":                   2,
	}
)

Enum value maps for EncryptionType.

View Source
var (
	KmsConfig_State_name = map[int32]string{
		0:  "STATE_UNSPECIFIED",
		1:  "READY",
		2:  "CREATING",
		3:  "DELETING",
		4:  "UPDATING",
		5:  "IN_USE",
		6:  "ERROR",
		7:  "KEY_CHECK_PENDING",
		8:  "KEY_NOT_REACHABLE",
		9:  "DISABLING",
		10: "DISABLED",
		11: "MIGRATING",
	}
	KmsConfig_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"READY":             1,
		"CREATING":          2,
		"DELETING":          3,
		"UPDATING":          4,
		"IN_USE":            5,
		"ERROR":             6,
		"KEY_CHECK_PENDING": 7,
		"KEY_NOT_REACHABLE": 8,
		"DISABLING":         9,
		"DISABLED":          10,
		"MIGRATING":         11,
	}
)

Enum value maps for KmsConfig_State.

View Source
var (
	Replication_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "UPDATING",
		5: "DELETING",
		6: "ERROR",
	}
	Replication_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"READY":             2,
		"UPDATING":          3,
		"DELETING":          5,
		"ERROR":             6,
	}
)

Enum value maps for Replication_State.

View Source
var (
	Replication_ReplicationRole_name = map[int32]string{
		0: "REPLICATION_ROLE_UNSPECIFIED",
		1: "SOURCE",
		2: "DESTINATION",
	}
	Replication_ReplicationRole_value = map[string]int32{
		"REPLICATION_ROLE_UNSPECIFIED": 0,
		"SOURCE":                       1,
		"DESTINATION":                  2,
	}
)

Enum value maps for Replication_ReplicationRole.

View Source
var (
	Replication_ReplicationSchedule_name = map[int32]string{
		0: "REPLICATION_SCHEDULE_UNSPECIFIED",
		1: "EVERY_10_MINUTES",
		2: "HOURLY",
		3: "DAILY",
	}
	Replication_ReplicationSchedule_value = map[string]int32{
		"REPLICATION_SCHEDULE_UNSPECIFIED": 0,
		"EVERY_10_MINUTES":                 1,
		"HOURLY":                           2,
		"DAILY":                            3,
	}
)

Enum value maps for Replication_ReplicationSchedule.

View Source
var (
	Replication_MirrorState_name = map[int32]string{
		0: "MIRROR_STATE_UNSPECIFIED",
		1: "PREPARING",
		2: "MIRRORED",
		3: "STOPPED",
		4: "TRANSFERRING",
	}
	Replication_MirrorState_value = map[string]int32{
		"MIRROR_STATE_UNSPECIFIED": 0,
		"PREPARING":                1,
		"MIRRORED":                 2,
		"STOPPED":                  3,
		"TRANSFERRING":             4,
	}
)

Enum value maps for Replication_MirrorState.

View Source
var (
	Snapshot_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "READY",
		2: "CREATING",
		3: "DELETING",
		4: "UPDATING",
		5: "DISABLED",
		6: "ERROR",
	}
	Snapshot_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"READY":             1,
		"CREATING":          2,
		"DELETING":          3,
		"UPDATING":          4,
		"DISABLED":          5,
		"ERROR":             6,
	}
)

Enum value maps for Snapshot_State.

View Source
var (
	StoragePool_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "READY",
		2: "CREATING",
		3: "DELETING",
		4: "UPDATING",
		5: "RESTORING",
		6: "DISABLED",
		7: "ERROR",
	}
	StoragePool_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"READY":             1,
		"CREATING":          2,
		"DELETING":          3,
		"UPDATING":          4,
		"RESTORING":         5,
		"DISABLED":          6,
		"ERROR":             7,
	}
)

Enum value maps for StoragePool_State.

View Source
var (
	Protocols_name = map[int32]string{
		0: "PROTOCOLS_UNSPECIFIED",
		1: "NFSV3",
		2: "NFSV4",
		3: "SMB",
	}
	Protocols_value = map[string]int32{
		"PROTOCOLS_UNSPECIFIED": 0,
		"NFSV3":                 1,
		"NFSV4":                 2,
		"SMB":                   3,
	}
)

Enum value maps for Protocols.

View Source
var (
	AccessType_name = map[int32]string{
		0: "ACCESS_TYPE_UNSPECIFIED",
		1: "READ_ONLY",
		2: "READ_WRITE",
		3: "READ_NONE",
	}
	AccessType_value = map[string]int32{
		"ACCESS_TYPE_UNSPECIFIED": 0,
		"READ_ONLY":               1,
		"READ_WRITE":              2,
		"READ_NONE":               3,
	}
)

Enum value maps for AccessType.

View Source
var (
	SMBSettings_name = map[int32]string{
		0: "SMB_SETTINGS_UNSPECIFIED",
		1: "ENCRYPT_DATA",
		2: "BROWSABLE",
		3: "CHANGE_NOTIFY",
		4: "NON_BROWSABLE",
		5: "OPLOCKS",
		6: "SHOW_SNAPSHOT",
		7: "SHOW_PREVIOUS_VERSIONS",
		8: "ACCESS_BASED_ENUMERATION",
		9: "CONTINUOUSLY_AVAILABLE",
	}
	SMBSettings_value = map[string]int32{
		"SMB_SETTINGS_UNSPECIFIED": 0,
		"ENCRYPT_DATA":             1,
		"BROWSABLE":                2,
		"CHANGE_NOTIFY":            3,
		"NON_BROWSABLE":            4,
		"OPLOCKS":                  5,
		"SHOW_SNAPSHOT":            6,
		"SHOW_PREVIOUS_VERSIONS":   7,
		"ACCESS_BASED_ENUMERATION": 8,
		"CONTINUOUSLY_AVAILABLE":   9,
	}
)

Enum value maps for SMBSettings.

View Source
var (
	SecurityStyle_name = map[int32]string{
		0: "SECURITY_STYLE_UNSPECIFIED",
		1: "NTFS",
		2: "UNIX",
	}
	SecurityStyle_value = map[string]int32{
		"SECURITY_STYLE_UNSPECIFIED": 0,
		"NTFS":                       1,
		"UNIX":                       2,
	}
)

Enum value maps for SecurityStyle.

View Source
var (
	RestrictedAction_name = map[int32]string{
		0: "RESTRICTED_ACTION_UNSPECIFIED",
		1: "DELETE",
	}
	RestrictedAction_value = map[string]int32{
		"RESTRICTED_ACTION_UNSPECIFIED": 0,
		"DELETE":                        1,
	}
)

Enum value maps for RestrictedAction.

View Source
var (
	Volume_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "READY",
		2: "CREATING",
		3: "DELETING",
		4: "UPDATING",
		5: "RESTORING",
		6: "DISABLED",
		7: "ERROR",
	}
	Volume_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"READY":             1,
		"CREATING":          2,
		"DELETING":          3,
		"UPDATING":          4,
		"RESTORING":         5,
		"DISABLED":          6,
		"ERROR":             7,
	}
)

Enum value maps for Volume_State.

View Source
var File_google_cloud_netapp_v1_active_directory_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_netapp_v1_cloud_netapp_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_netapp_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_netapp_v1_kms_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_netapp_v1_replication_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_netapp_v1_snapshot_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_netapp_v1_storage_pool_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_netapp_v1_volume_proto protoreflect.FileDescriptor

Functions

func RegisterNetAppServer

func RegisterNetAppServer(s *grpc.Server, srv NetAppServer)

Types

type AccessType

type AccessType int32
const (
	// Unspecified Access Type
	AccessType_ACCESS_TYPE_UNSPECIFIED AccessType = 0
	// Read Only
	AccessType_READ_ONLY AccessType = 1
	// Read Write
	AccessType_READ_WRITE AccessType = 2
	// None
	AccessType_READ_NONE AccessType = 3
)

func (AccessType) Descriptor

func (AccessType) Descriptor() protoreflect.EnumDescriptor

func (AccessType) Enum

func (x AccessType) Enum() *AccessType

func (AccessType) EnumDescriptor deprecated

func (AccessType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccessType.Descriptor instead.

func (AccessType) Number

func (x AccessType) Number() protoreflect.EnumNumber

func (AccessType) String

func (x AccessType) String() string

func (AccessType) Type

type ActiveDirectory

type ActiveDirectory struct {

	// Output only. The resource name of the active directory.
	// Format:
	// `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Create time of the active directory.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The state of the AD.
	State ActiveDirectory_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.netapp.v1.ActiveDirectory_State" json:"state,omitempty"`
	// Required. Name of the Active Directory domain
	Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
	// The Active Directory site the service will limit Domain Controller
	// discovery too.
	Site string `protobuf:"bytes,5,opt,name=site,proto3" json:"site,omitempty"`
	// Required. Comma separated list of DNS server IP addresses for the Active
	// Directory domain.
	Dns string `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"`
	// Required. NetBIOSPrefix is used as a prefix for SMB server name.
	NetBiosPrefix string `protobuf:"bytes,7,opt,name=net_bios_prefix,json=netBiosPrefix,proto3" json:"net_bios_prefix,omitempty"`
	// The Organizational Unit (OU) within the Windows Active Directory the user
	// belongs to.
	OrganizationalUnit string `protobuf:"bytes,8,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
	// If enabled, AES encryption will be enabled for SMB communication.
	AesEncryption bool `protobuf:"varint,9,opt,name=aes_encryption,json=aesEncryption,proto3" json:"aes_encryption,omitempty"`
	// Required. Username of the Active Directory domain administrator.
	Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"`
	// Required. Password of the Active Directory domain administrator.
	Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
	// Users to be added to the Built-in Backup Operator active directory group.
	BackupOperators []string `protobuf:"bytes,12,rep,name=backup_operators,json=backupOperators,proto3" json:"backup_operators,omitempty"`
	// Domain users to be given the SeSecurityPrivilege.
	SecurityOperators []string `protobuf:"bytes,13,rep,name=security_operators,json=securityOperators,proto3" json:"security_operators,omitempty"`
	// Name of the active directory machine. This optional parameter is used only
	// while creating kerberos volume
	KdcHostname string `protobuf:"bytes,14,opt,name=kdc_hostname,json=kdcHostname,proto3" json:"kdc_hostname,omitempty"`
	// KDC server IP address for the active directory machine.
	KdcIp string `protobuf:"bytes,15,opt,name=kdc_ip,json=kdcIp,proto3" json:"kdc_ip,omitempty"`
	// If enabled, will allow access to local users and LDAP users. If access is
	// needed for only LDAP users, it has to be disabled.
	NfsUsersWithLdap bool `protobuf:"varint,16,opt,name=nfs_users_with_ldap,json=nfsUsersWithLdap,proto3" json:"nfs_users_with_ldap,omitempty"`
	// Description of the active directory.
	Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
	// Specifies whether or not the LDAP traffic needs to be signed.
	LdapSigning bool `protobuf:"varint,18,opt,name=ldap_signing,json=ldapSigning,proto3" json:"ldap_signing,omitempty"`
	// If enabled, traffic between the SMB server to Domain Controller (DC) will
	// be encrypted.
	EncryptDcConnections bool `protobuf:"varint,19,opt,name=encrypt_dc_connections,json=encryptDcConnections,proto3" json:"encrypt_dc_connections,omitempty"`
	// Labels for the active directory.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Output only. The state details of the Active Directory.
	StateDetails string `protobuf:"bytes,21,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
	// contains filtered or unexported fields
}

ActiveDirectory is the public representation of the active directory config.

func (*ActiveDirectory) Descriptor deprecated

func (*ActiveDirectory) Descriptor() ([]byte, []int)

Deprecated: Use ActiveDirectory.ProtoReflect.Descriptor instead.

func (*ActiveDirectory) GetAesEncryption

func (x *ActiveDirectory) GetAesEncryption() bool

func (*ActiveDirectory) GetBackupOperators

func (x *ActiveDirectory) GetBackupOperators() []string

func (*ActiveDirectory) GetCreateTime

func (x *ActiveDirectory) GetCreateTime() *timestamppb.Timestamp

func (*ActiveDirectory) GetDescription

func (x *ActiveDirectory) GetDescription() string

func (*ActiveDirectory) GetDns

func (x *ActiveDirectory) GetDns() string

func (*ActiveDirectory) GetDomain

func (x *ActiveDirectory) GetDomain() string

func (*ActiveDirectory) GetEncryptDcConnections

func (x *ActiveDirectory) GetEncryptDcConnections() bool

func (*ActiveDirectory) GetKdcHostname

func (x *ActiveDirectory) GetKdcHostname() string

func (*ActiveDirectory) GetKdcIp

func (x *ActiveDirectory) GetKdcIp() string

func (*ActiveDirectory) GetLabels

func (x *ActiveDirectory) GetLabels() map[string]string

func (*ActiveDirectory) GetLdapSigning

func (x *ActiveDirectory) GetLdapSigning() bool

func (*ActiveDirectory) GetName

func (x *ActiveDirectory) GetName() string

func (*ActiveDirectory) GetNetBiosPrefix

func (x *ActiveDirectory) GetNetBiosPrefix() string

func (*ActiveDirectory) GetNfsUsersWithLdap

func (x *ActiveDirectory) GetNfsUsersWithLdap() bool

func (*ActiveDirectory) GetOrganizationalUnit

func (x *ActiveDirectory) GetOrganizationalUnit() string

func (*ActiveDirectory) GetPassword

func (x *ActiveDirectory) GetPassword() string

func (*ActiveDirectory) GetSecurityOperators

func (x *ActiveDirectory) GetSecurityOperators() []string

func (*ActiveDirectory) GetSite

func (x *ActiveDirectory) GetSite() string

func (*ActiveDirectory) GetState

func (x *ActiveDirectory) GetState() ActiveDirectory_State

func (*ActiveDirectory) GetStateDetails

func (x *ActiveDirectory) GetStateDetails() string

func (*ActiveDirectory) GetUsername

func (x *ActiveDirectory) GetUsername() string

func (*ActiveDirectory) ProtoMessage

func (*ActiveDirectory) ProtoMessage()

func (*ActiveDirectory) ProtoReflect

func (x *ActiveDirectory) ProtoReflect() protoreflect.Message

func (*ActiveDirectory) Reset

func (x *ActiveDirectory) Reset()

func (*ActiveDirectory) String

func (x *ActiveDirectory) String() string

type ActiveDirectory_State

type ActiveDirectory_State int32

The Active Directory States

const (
	// Unspecified Active Directory State
	ActiveDirectory_STATE_UNSPECIFIED ActiveDirectory_State = 0
	// Active Directory State is Creating
	ActiveDirectory_CREATING ActiveDirectory_State = 1
	// Active Directory State is Ready
	ActiveDirectory_READY ActiveDirectory_State = 2
	// Active Directory State is Updating
	ActiveDirectory_UPDATING ActiveDirectory_State = 3
	// Active Directory State is In use
	ActiveDirectory_IN_USE ActiveDirectory_State = 4
	// Active Directory State is Deleting
	ActiveDirectory_DELETING ActiveDirectory_State = 5
	// Active Directory State is Error
	ActiveDirectory_ERROR ActiveDirectory_State = 6
)

func (ActiveDirectory_State) Descriptor

func (ActiveDirectory_State) Enum

func (ActiveDirectory_State) EnumDescriptor deprecated

func (ActiveDirectory_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActiveDirectory_State.Descriptor instead.

func (ActiveDirectory_State) Number

func (ActiveDirectory_State) String

func (x ActiveDirectory_State) String() string

func (ActiveDirectory_State) Type

type CreateActiveDirectoryRequest

type CreateActiveDirectoryRequest struct {

	// Required. Value for parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Fields of the to be created active directory.
	ActiveDirectory *ActiveDirectory `protobuf:"bytes,2,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
	// Required. ID of the active directory to create.
	ActiveDirectoryId string `protobuf:"bytes,3,opt,name=active_directory_id,json=activeDirectoryId,proto3" json:"active_directory_id,omitempty"`
	// contains filtered or unexported fields
}

CreateActiveDirectoryRequest for creating an active directory.

func (*CreateActiveDirectoryRequest) Descriptor deprecated

func (*CreateActiveDirectoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateActiveDirectoryRequest.ProtoReflect.Descriptor instead.

func (*CreateActiveDirectoryRequest) GetActiveDirectory

func (x *CreateActiveDirectoryRequest) GetActiveDirectory() *ActiveDirectory

func (*CreateActiveDirectoryRequest) GetActiveDirectoryId

func (x *CreateActiveDirectoryRequest) GetActiveDirectoryId() string

func (*CreateActiveDirectoryRequest) GetParent

func (x *CreateActiveDirectoryRequest) GetParent() string

func (*CreateActiveDirectoryRequest) ProtoMessage

func (*CreateActiveDirectoryRequest) ProtoMessage()

func (*CreateActiveDirectoryRequest) ProtoReflect

func (*CreateActiveDirectoryRequest) Reset

func (x *CreateActiveDirectoryRequest) Reset()

func (*CreateActiveDirectoryRequest) String

type CreateKmsConfigRequest

type CreateKmsConfigRequest struct {

	// Required. Value for parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Id of the requesting KmsConfig
	// If auto-generating Id server-side, remove this field and
	// id from the method_signature of Create RPC
	KmsConfigId string `protobuf:"bytes,2,opt,name=kms_config_id,json=kmsConfigId,proto3" json:"kms_config_id,omitempty"`
	// Required. The required parameters to create a new KmsConfig.
	KmsConfig *KmsConfig `protobuf:"bytes,3,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
	// contains filtered or unexported fields
}

CreateKmsConfigRequest creates a KMS Config.

func (*CreateKmsConfigRequest) Descriptor deprecated

func (*CreateKmsConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateKmsConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateKmsConfigRequest) GetKmsConfig

func (x *CreateKmsConfigRequest) GetKmsConfig() *KmsConfig

func (*CreateKmsConfigRequest) GetKmsConfigId

func (x *CreateKmsConfigRequest) GetKmsConfigId() string

func (*CreateKmsConfigRequest) GetParent

func (x *CreateKmsConfigRequest) GetParent() string

func (*CreateKmsConfigRequest) ProtoMessage

func (*CreateKmsConfigRequest) ProtoMessage()

func (*CreateKmsConfigRequest) ProtoReflect

func (x *CreateKmsConfigRequest) ProtoReflect() protoreflect.Message

func (*CreateKmsConfigRequest) Reset

func (x *CreateKmsConfigRequest) Reset()

func (*CreateKmsConfigRequest) String

func (x *CreateKmsConfigRequest) String() string

type CreateReplicationRequest

type CreateReplicationRequest struct {

	// Required. The NetApp volume to create the replications of, in the format
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. A replication resource
	Replication *Replication `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
	// Required. ID of the replication to create.
	// This value must start with a lowercase letter followed by up to 62
	// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
	ReplicationId string `protobuf:"bytes,3,opt,name=replication_id,json=replicationId,proto3" json:"replication_id,omitempty"`
	// contains filtered or unexported fields
}

CreateReplicationRequest creates a replication.

func (*CreateReplicationRequest) Descriptor deprecated

func (*CreateReplicationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateReplicationRequest.ProtoReflect.Descriptor instead.

func (*CreateReplicationRequest) GetParent

func (x *CreateReplicationRequest) GetParent() string

func (*CreateReplicationRequest) GetReplication

func (x *CreateReplicationRequest) GetReplication() *Replication

func (*CreateReplicationRequest) GetReplicationId

func (x *CreateReplicationRequest) GetReplicationId() string

func (*CreateReplicationRequest) ProtoMessage

func (*CreateReplicationRequest) ProtoMessage()

func (*CreateReplicationRequest) ProtoReflect

func (x *CreateReplicationRequest) ProtoReflect() protoreflect.Message

func (*CreateReplicationRequest) Reset

func (x *CreateReplicationRequest) Reset()

func (*CreateReplicationRequest) String

func (x *CreateReplicationRequest) String() string

type CreateSnapshotRequest

type CreateSnapshotRequest struct {

	// Required. The NetApp volume to create the snapshots of, in the format
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. A snapshot resource
	Snapshot *Snapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// Required. ID of the snapshot to create.
	// This value must start with a lowercase letter followed by up to 62
	// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
	SnapshotId string `protobuf:"bytes,3,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

CreateSnapshotRequest creates a snapshot.

func (*CreateSnapshotRequest) Descriptor deprecated

func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CreateSnapshotRequest) GetParent

func (x *CreateSnapshotRequest) GetParent() string

func (*CreateSnapshotRequest) GetSnapshot

func (x *CreateSnapshotRequest) GetSnapshot() *Snapshot

func (*CreateSnapshotRequest) GetSnapshotId

func (x *CreateSnapshotRequest) GetSnapshotId() string

func (*CreateSnapshotRequest) ProtoMessage

func (*CreateSnapshotRequest) ProtoMessage()

func (*CreateSnapshotRequest) ProtoReflect

func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message

func (*CreateSnapshotRequest) Reset

func (x *CreateSnapshotRequest) Reset()

func (*CreateSnapshotRequest) String

func (x *CreateSnapshotRequest) String() string

type CreateStoragePoolRequest

type CreateStoragePoolRequest struct {

	// Required. Value for parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Id of the requesting storage pool
	// If auto-generating Id server-side, remove this field and
	// id from the method_signature of Create RPC
	StoragePoolId string `protobuf:"bytes,2,opt,name=storage_pool_id,json=storagePoolId,proto3" json:"storage_pool_id,omitempty"`
	// Required. The required parameters to create a new storage pool.
	StoragePool *StoragePool `protobuf:"bytes,3,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
	// contains filtered or unexported fields
}

CreateStoragePoolRequest creates a Storage Pool.

func (*CreateStoragePoolRequest) Descriptor deprecated

func (*CreateStoragePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateStoragePoolRequest.ProtoReflect.Descriptor instead.

func (*CreateStoragePoolRequest) GetParent

func (x *CreateStoragePoolRequest) GetParent() string

func (*CreateStoragePoolRequest) GetStoragePool

func (x *CreateStoragePoolRequest) GetStoragePool() *StoragePool

func (*CreateStoragePoolRequest) GetStoragePoolId

func (x *CreateStoragePoolRequest) GetStoragePoolId() string

func (*CreateStoragePoolRequest) ProtoMessage

func (*CreateStoragePoolRequest) ProtoMessage()

func (*CreateStoragePoolRequest) ProtoReflect

func (x *CreateStoragePoolRequest) ProtoReflect() protoreflect.Message

func (*CreateStoragePoolRequest) Reset

func (x *CreateStoragePoolRequest) Reset()

func (*CreateStoragePoolRequest) String

func (x *CreateStoragePoolRequest) String() string

type CreateVolumeRequest

type CreateVolumeRequest struct {

	// Required. Value for parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Id of the requesting volume
	// If auto-generating Id server-side, remove this field and
	// Id from the method_signature of Create RPC
	VolumeId string `protobuf:"bytes,2,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Required. The volume being created.
	Volume *Volume `protobuf:"bytes,3,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Volume

func (*CreateVolumeRequest) Descriptor deprecated

func (*CreateVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVolumeRequest.ProtoReflect.Descriptor instead.

func (*CreateVolumeRequest) GetParent

func (x *CreateVolumeRequest) GetParent() string

func (*CreateVolumeRequest) GetVolume

func (x *CreateVolumeRequest) GetVolume() *Volume

func (*CreateVolumeRequest) GetVolumeId

func (x *CreateVolumeRequest) GetVolumeId() string

func (*CreateVolumeRequest) ProtoMessage

func (*CreateVolumeRequest) ProtoMessage()

func (*CreateVolumeRequest) ProtoReflect

func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message

func (*CreateVolumeRequest) Reset

func (x *CreateVolumeRequest) Reset()

func (*CreateVolumeRequest) String

func (x *CreateVolumeRequest) String() string

type DailySchedule

type DailySchedule struct {

	// The maximum number of Snapshots to keep for the hourly schedule
	SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
	// Set the minute of the hour to start the snapshot (0-59), defaults to the
	// top of the hour (0).
	Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
	// Set the hour to start the snapshot (0-23), defaults to midnight (0).
	Hour *float64 `protobuf:"fixed64,3,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
	// contains filtered or unexported fields
}

Make a snapshot every day e.g. at 04:00, 05:20, 23:50

func (*DailySchedule) Descriptor deprecated

func (*DailySchedule) Descriptor() ([]byte, []int)

Deprecated: Use DailySchedule.ProtoReflect.Descriptor instead.

func (*DailySchedule) GetHour

func (x *DailySchedule) GetHour() float64

func (*DailySchedule) GetMinute

func (x *DailySchedule) GetMinute() float64

func (*DailySchedule) GetSnapshotsToKeep

func (x *DailySchedule) GetSnapshotsToKeep() float64

func (*DailySchedule) ProtoMessage

func (*DailySchedule) ProtoMessage()

func (*DailySchedule) ProtoReflect

func (x *DailySchedule) ProtoReflect() protoreflect.Message

func (*DailySchedule) Reset

func (x *DailySchedule) Reset()

func (*DailySchedule) String

func (x *DailySchedule) String() string

type DeleteActiveDirectoryRequest

type DeleteActiveDirectoryRequest struct {

	// Required. Name of the active directory.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteActiveDirectoryRequest for deleting a single active directory.

func (*DeleteActiveDirectoryRequest) Descriptor deprecated

func (*DeleteActiveDirectoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteActiveDirectoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteActiveDirectoryRequest) GetName

func (x *DeleteActiveDirectoryRequest) GetName() string

func (*DeleteActiveDirectoryRequest) ProtoMessage

func (*DeleteActiveDirectoryRequest) ProtoMessage()

func (*DeleteActiveDirectoryRequest) ProtoReflect

func (*DeleteActiveDirectoryRequest) Reset

func (x *DeleteActiveDirectoryRequest) Reset()

func (*DeleteActiveDirectoryRequest) String

type DeleteKmsConfigRequest

type DeleteKmsConfigRequest struct {

	// Required. Name of the KmsConfig.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteKmsConfigRequest deletes a KMS Config.

func (*DeleteKmsConfigRequest) Descriptor deprecated

func (*DeleteKmsConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKmsConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteKmsConfigRequest) GetName

func (x *DeleteKmsConfigRequest) GetName() string

func (*DeleteKmsConfigRequest) ProtoMessage

func (*DeleteKmsConfigRequest) ProtoMessage()

func (*DeleteKmsConfigRequest) ProtoReflect

func (x *DeleteKmsConfigRequest) ProtoReflect() protoreflect.Message

func (*DeleteKmsConfigRequest) Reset

func (x *DeleteKmsConfigRequest) Reset()

func (*DeleteKmsConfigRequest) String

func (x *DeleteKmsConfigRequest) String() string

type DeleteReplicationRequest

type DeleteReplicationRequest struct {

	// Required. The replication resource name, in the format
	// `projects/*/locations/*/volumes/*/replications/{replication_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteReplicationRequest deletes a replication.

func (*DeleteReplicationRequest) Descriptor deprecated

func (*DeleteReplicationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteReplicationRequest.ProtoReflect.Descriptor instead.

func (*DeleteReplicationRequest) GetName

func (x *DeleteReplicationRequest) GetName() string

func (*DeleteReplicationRequest) ProtoMessage

func (*DeleteReplicationRequest) ProtoMessage()

func (*DeleteReplicationRequest) ProtoReflect

func (x *DeleteReplicationRequest) ProtoReflect() protoreflect.Message

func (*DeleteReplicationRequest) Reset

func (x *DeleteReplicationRequest) Reset()

func (*DeleteReplicationRequest) String

func (x *DeleteReplicationRequest) String() string

type DeleteSnapshotRequest

type DeleteSnapshotRequest struct {

	// Required. The snapshot resource name, in the format
	// `projects/*/locations/*/volumes/*/snapshots/{snapshot_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteSnapshotRequest deletes a snapshot.

func (*DeleteSnapshotRequest) Descriptor deprecated

func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotRequest) GetName

func (x *DeleteSnapshotRequest) GetName() string

func (*DeleteSnapshotRequest) ProtoMessage

func (*DeleteSnapshotRequest) ProtoMessage()

func (*DeleteSnapshotRequest) ProtoReflect

func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message

func (*DeleteSnapshotRequest) Reset

func (x *DeleteSnapshotRequest) Reset()

func (*DeleteSnapshotRequest) String

func (x *DeleteSnapshotRequest) String() string

type DeleteStoragePoolRequest

type DeleteStoragePoolRequest struct {

	// Required. Name of the storage pool
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteStoragePoolRequest deletes a Storage Pool.

func (*DeleteStoragePoolRequest) Descriptor deprecated

func (*DeleteStoragePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteStoragePoolRequest.ProtoReflect.Descriptor instead.

func (*DeleteStoragePoolRequest) GetName

func (x *DeleteStoragePoolRequest) GetName() string

func (*DeleteStoragePoolRequest) ProtoMessage

func (*DeleteStoragePoolRequest) ProtoMessage()

func (*DeleteStoragePoolRequest) ProtoReflect

func (x *DeleteStoragePoolRequest) ProtoReflect() protoreflect.Message

func (*DeleteStoragePoolRequest) Reset

func (x *DeleteStoragePoolRequest) Reset()

func (*DeleteStoragePoolRequest) String

func (x *DeleteStoragePoolRequest) String() string

type DeleteVolumeRequest

type DeleteVolumeRequest struct {

	// Required. Name of the volume
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If this field is set as true, CCFE will not block the volume resource
	// deletion even if it has any snapshots resource. (Otherwise, the request
	// will only work if the volume has no snapshots.)
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Volume

func (*DeleteVolumeRequest) Descriptor deprecated

func (*DeleteVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVolumeRequest.ProtoReflect.Descriptor instead.

func (*DeleteVolumeRequest) GetForce

func (x *DeleteVolumeRequest) GetForce() bool

func (*DeleteVolumeRequest) GetName

func (x *DeleteVolumeRequest) GetName() string

func (*DeleteVolumeRequest) ProtoMessage

func (*DeleteVolumeRequest) ProtoMessage()

func (*DeleteVolumeRequest) ProtoReflect

func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Message

func (*DeleteVolumeRequest) Reset

func (x *DeleteVolumeRequest) Reset()

func (*DeleteVolumeRequest) String

func (x *DeleteVolumeRequest) String() string

type DestinationVolumeParameters

type DestinationVolumeParameters struct {

	// Required. Existing destination StoragePool name.
	StoragePool string `protobuf:"bytes,1,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
	// Desired destination volume resource id. If not specified, source volume's
	// resource id will be used.
	// This value must start with a lowercase letter followed by up to 62
	// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
	VolumeId string `protobuf:"bytes,2,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Destination volume's share name. If not specified, source volume's share
	// name will be used.
	ShareName string `protobuf:"bytes,3,opt,name=share_name,json=shareName,proto3" json:"share_name,omitempty"`
	// Description for the destination volume.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DestinationVolumeParameters specify input parameters used for creating destination volume.

func (*DestinationVolumeParameters) Descriptor deprecated

func (*DestinationVolumeParameters) Descriptor() ([]byte, []int)

Deprecated: Use DestinationVolumeParameters.ProtoReflect.Descriptor instead.

func (*DestinationVolumeParameters) GetDescription

func (x *DestinationVolumeParameters) GetDescription() string

func (*DestinationVolumeParameters) GetShareName

func (x *DestinationVolumeParameters) GetShareName() string

func (*DestinationVolumeParameters) GetStoragePool

func (x *DestinationVolumeParameters) GetStoragePool() string

func (*DestinationVolumeParameters) GetVolumeId

func (x *DestinationVolumeParameters) GetVolumeId() string

func (*DestinationVolumeParameters) ProtoMessage

func (*DestinationVolumeParameters) ProtoMessage()

func (*DestinationVolumeParameters) ProtoReflect

func (*DestinationVolumeParameters) Reset

func (x *DestinationVolumeParameters) Reset()

func (*DestinationVolumeParameters) String

func (x *DestinationVolumeParameters) String() string

type EncryptVolumesRequest

type EncryptVolumesRequest struct {

	// Required. Name of the KmsConfig.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.

func (*EncryptVolumesRequest) Descriptor deprecated

func (*EncryptVolumesRequest) Descriptor() ([]byte, []int)

Deprecated: Use EncryptVolumesRequest.ProtoReflect.Descriptor instead.

func (*EncryptVolumesRequest) GetName

func (x *EncryptVolumesRequest) GetName() string

func (*EncryptVolumesRequest) ProtoMessage

func (*EncryptVolumesRequest) ProtoMessage()

func (*EncryptVolumesRequest) ProtoReflect

func (x *EncryptVolumesRequest) ProtoReflect() protoreflect.Message

func (*EncryptVolumesRequest) Reset

func (x *EncryptVolumesRequest) Reset()

func (*EncryptVolumesRequest) String

func (x *EncryptVolumesRequest) String() string

type EncryptionType

type EncryptionType int32

Defined the current volume encryption key source.

const (
	// The source of encryption key is not specified.
	EncryptionType_ENCRYPTION_TYPE_UNSPECIFIED EncryptionType = 0
	// Google managed encryption key.
	EncryptionType_SERVICE_MANAGED EncryptionType = 1
	// Customer managed encryption key, which is stored in KMS.
	EncryptionType_CLOUD_KMS EncryptionType = 2
)

func (EncryptionType) Descriptor

func (EncryptionType) Enum

func (x EncryptionType) Enum() *EncryptionType

func (EncryptionType) EnumDescriptor deprecated

func (EncryptionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EncryptionType.Descriptor instead.

func (EncryptionType) Number

func (EncryptionType) String

func (x EncryptionType) String() string

func (EncryptionType) Type

type ExportPolicy

type ExportPolicy struct {

	// Required. List of export policy rules
	Rules []*SimpleExportPolicyRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

Defines the export policy for the volume.

func (*ExportPolicy) Descriptor deprecated

func (*ExportPolicy) Descriptor() ([]byte, []int)

Deprecated: Use ExportPolicy.ProtoReflect.Descriptor instead.

func (*ExportPolicy) GetRules

func (x *ExportPolicy) GetRules() []*SimpleExportPolicyRule

func (*ExportPolicy) ProtoMessage

func (*ExportPolicy) ProtoMessage()

func (*ExportPolicy) ProtoReflect

func (x *ExportPolicy) ProtoReflect() protoreflect.Message

func (*ExportPolicy) Reset

func (x *ExportPolicy) Reset()

func (*ExportPolicy) String

func (x *ExportPolicy) String() string

type GetActiveDirectoryRequest

type GetActiveDirectoryRequest struct {

	// Required. Name of the active directory.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetActiveDirectory for getting a single active directory.

func (*GetActiveDirectoryRequest) Descriptor deprecated

func (*GetActiveDirectoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveDirectoryRequest.ProtoReflect.Descriptor instead.

func (*GetActiveDirectoryRequest) GetName

func (x *GetActiveDirectoryRequest) GetName() string

func (*GetActiveDirectoryRequest) ProtoMessage

func (*GetActiveDirectoryRequest) ProtoMessage()

func (*GetActiveDirectoryRequest) ProtoReflect

func (*GetActiveDirectoryRequest) Reset

func (x *GetActiveDirectoryRequest) Reset()

func (*GetActiveDirectoryRequest) String

func (x *GetActiveDirectoryRequest) String() string

type GetKmsConfigRequest

type GetKmsConfigRequest struct {

	// Required. Name of the KmsConfig
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetKmsConfigRequest gets a KMS Config.

func (*GetKmsConfigRequest) Descriptor deprecated

func (*GetKmsConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetKmsConfigRequest.ProtoReflect.Descriptor instead.

func (*GetKmsConfigRequest) GetName

func (x *GetKmsConfigRequest) GetName() string

func (*GetKmsConfigRequest) ProtoMessage

func (*GetKmsConfigRequest) ProtoMessage()

func (*GetKmsConfigRequest) ProtoReflect

func (x *GetKmsConfigRequest) ProtoReflect() protoreflect.Message

func (*GetKmsConfigRequest) Reset

func (x *GetKmsConfigRequest) Reset()

func (*GetKmsConfigRequest) String

func (x *GetKmsConfigRequest) String() string

type GetReplicationRequest

type GetReplicationRequest struct {

	// Required. The replication resource name, in the format
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetReplicationRequest gets the state of a replication.

func (*GetReplicationRequest) Descriptor deprecated

func (*GetReplicationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetReplicationRequest.ProtoReflect.Descriptor instead.

func (*GetReplicationRequest) GetName

func (x *GetReplicationRequest) GetName() string

func (*GetReplicationRequest) ProtoMessage

func (*GetReplicationRequest) ProtoMessage()

func (*GetReplicationRequest) ProtoReflect

func (x *GetReplicationRequest) ProtoReflect() protoreflect.Message

func (*GetReplicationRequest) Reset

func (x *GetReplicationRequest) Reset()

func (*GetReplicationRequest) String

func (x *GetReplicationRequest) String() string

type GetSnapshotRequest

type GetSnapshotRequest struct {

	// Required. The snapshot resource name, in the format
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetSnapshotRequest gets the state of a snapshot.

func (*GetSnapshotRequest) Descriptor deprecated

func (*GetSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.

func (*GetSnapshotRequest) GetName

func (x *GetSnapshotRequest) GetName() string

func (*GetSnapshotRequest) ProtoMessage

func (*GetSnapshotRequest) ProtoMessage()

func (*GetSnapshotRequest) ProtoReflect

func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message

func (*GetSnapshotRequest) Reset

func (x *GetSnapshotRequest) Reset()

func (*GetSnapshotRequest) String

func (x *GetSnapshotRequest) String() string

type GetStoragePoolRequest

type GetStoragePoolRequest struct {

	// Required. Name of the storage pool
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetStoragePoolRequest gets a Storage Pool.

func (*GetStoragePoolRequest) Descriptor deprecated

func (*GetStoragePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStoragePoolRequest.ProtoReflect.Descriptor instead.

func (*GetStoragePoolRequest) GetName

func (x *GetStoragePoolRequest) GetName() string

func (*GetStoragePoolRequest) ProtoMessage

func (*GetStoragePoolRequest) ProtoMessage()

func (*GetStoragePoolRequest) ProtoReflect

func (x *GetStoragePoolRequest) ProtoReflect() protoreflect.Message

func (*GetStoragePoolRequest) Reset

func (x *GetStoragePoolRequest) Reset()

func (*GetStoragePoolRequest) String

func (x *GetStoragePoolRequest) String() string

type GetVolumeRequest

type GetVolumeRequest struct {

	// Required. Name of the volume
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Volume

func (*GetVolumeRequest) Descriptor deprecated

func (*GetVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVolumeRequest.ProtoReflect.Descriptor instead.

func (*GetVolumeRequest) GetName

func (x *GetVolumeRequest) GetName() string

func (*GetVolumeRequest) ProtoMessage

func (*GetVolumeRequest) ProtoMessage()

func (*GetVolumeRequest) ProtoReflect

func (x *GetVolumeRequest) ProtoReflect() protoreflect.Message

func (*GetVolumeRequest) Reset

func (x *GetVolumeRequest) Reset()

func (*GetVolumeRequest) String

func (x *GetVolumeRequest) String() string

type HourlySchedule

type HourlySchedule struct {

	// The maximum number of Snapshots to keep for the hourly schedule
	SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
	// Set the minute of the hour to start the snapshot (0-59), defaults to the
	// top of the hour (0).
	Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
	// contains filtered or unexported fields
}

Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.

func (*HourlySchedule) Descriptor deprecated

func (*HourlySchedule) Descriptor() ([]byte, []int)

Deprecated: Use HourlySchedule.ProtoReflect.Descriptor instead.

func (*HourlySchedule) GetMinute

func (x *HourlySchedule) GetMinute() float64

func (*HourlySchedule) GetSnapshotsToKeep

func (x *HourlySchedule) GetSnapshotsToKeep() float64

func (*HourlySchedule) ProtoMessage

func (*HourlySchedule) ProtoMessage()

func (*HourlySchedule) ProtoReflect

func (x *HourlySchedule) ProtoReflect() protoreflect.Message

func (*HourlySchedule) Reset

func (x *HourlySchedule) Reset()

func (*HourlySchedule) String

func (x *HourlySchedule) String() string

type KmsConfig

type KmsConfig struct {

	// Output only. Name of the KmsConfig.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Customer managed crypto key resource full name. Format:
	// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
	CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"`
	// Output only. State of the KmsConfig.
	State KmsConfig_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.netapp.v1.KmsConfig_State" json:"state,omitempty"`
	// Output only. State details of the KmsConfig.
	StateDetails string `protobuf:"bytes,4,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
	// Output only. Create time of the KmsConfig.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Description of the KmsConfig.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Labels as key value pairs
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. Instructions to provide the access to the customer provided
	// encryption key.
	Instructions string `protobuf:"bytes,8,opt,name=instructions,proto3" json:"instructions,omitempty"`
	// Output only. The Service account which will have access to the customer
	// provided encryption key.
	ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

KmsConfig is the customer managed encryption key(CMEK) configuration.

func (*KmsConfig) Descriptor deprecated

func (*KmsConfig) Descriptor() ([]byte, []int)

Deprecated: Use KmsConfig.ProtoReflect.Descriptor instead.

func (*KmsConfig) GetCreateTime

func (x *KmsConfig) GetCreateTime() *timestamppb.Timestamp

func (*KmsConfig) GetCryptoKeyName

func (x *KmsConfig) GetCryptoKeyName() string

func (*KmsConfig) GetDescription

func (x *KmsConfig) GetDescription() string

func (*KmsConfig) GetInstructions

func (x *KmsConfig) GetInstructions() string

func (*KmsConfig) GetLabels

func (x *KmsConfig) GetLabels() map[string]string

func (*KmsConfig) GetName

func (x *KmsConfig) GetName() string

func (*KmsConfig) GetServiceAccount

func (x *KmsConfig) GetServiceAccount() string

func (*KmsConfig) GetState

func (x *KmsConfig) GetState() KmsConfig_State

func (*KmsConfig) GetStateDetails

func (x *KmsConfig) GetStateDetails() string

func (*KmsConfig) ProtoMessage

func (*KmsConfig) ProtoMessage()

func (*KmsConfig) ProtoReflect

func (x *KmsConfig) ProtoReflect() protoreflect.Message

func (*KmsConfig) Reset

func (x *KmsConfig) Reset()

func (*KmsConfig) String

func (x *KmsConfig) String() string

type KmsConfig_State

type KmsConfig_State int32

The KmsConfig States

const (
	// Unspecified KmsConfig State
	KmsConfig_STATE_UNSPECIFIED KmsConfig_State = 0
	// KmsConfig State is Ready
	KmsConfig_READY KmsConfig_State = 1
	// KmsConfig State is Creating
	KmsConfig_CREATING KmsConfig_State = 2
	// KmsConfig State is Deleting
	KmsConfig_DELETING KmsConfig_State = 3
	// KmsConfig State is Updating
	KmsConfig_UPDATING KmsConfig_State = 4
	// KmsConfig State is In Use.
	KmsConfig_IN_USE KmsConfig_State = 5
	// KmsConfig State is Error
	KmsConfig_ERROR KmsConfig_State = 6
	// KmsConfig State is Pending to verify crypto key access.
	KmsConfig_KEY_CHECK_PENDING KmsConfig_State = 7
	// KmsConfig State is Not accessbile by the SDE service account to the
	// crypto key.
	KmsConfig_KEY_NOT_REACHABLE KmsConfig_State = 8
	// KmsConfig State is Disabling.
	KmsConfig_DISABLING KmsConfig_State = 9
	// KmsConfig State is Disabled.
	KmsConfig_DISABLED KmsConfig_State = 10
	// KmsConfig State is Migrating.
	// The existing volumes are migrating from SMEK to CMEK.
	KmsConfig_MIGRATING KmsConfig_State = 11
)

func (KmsConfig_State) Descriptor

func (KmsConfig_State) Enum

func (x KmsConfig_State) Enum() *KmsConfig_State

func (KmsConfig_State) EnumDescriptor deprecated

func (KmsConfig_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use KmsConfig_State.Descriptor instead.

func (KmsConfig_State) Number

func (KmsConfig_State) String

func (x KmsConfig_State) String() string

func (KmsConfig_State) Type

type ListActiveDirectoriesRequest

type ListActiveDirectoriesRequest struct {

	// Required. Parent value for ListActiveDirectoriesRequest
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, the server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

ListActiveDirectoriesRequest for requesting multiple active directories.

func (*ListActiveDirectoriesRequest) Descriptor deprecated

func (*ListActiveDirectoriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListActiveDirectoriesRequest.ProtoReflect.Descriptor instead.

func (*ListActiveDirectoriesRequest) GetFilter

func (x *ListActiveDirectoriesRequest) GetFilter() string

func (*ListActiveDirectoriesRequest) GetOrderBy

func (x *ListActiveDirectoriesRequest) GetOrderBy() string

func (*ListActiveDirectoriesRequest) GetPageSize

func (x *ListActiveDirectoriesRequest) GetPageSize() int32

func (*ListActiveDirectoriesRequest) GetPageToken

func (x *ListActiveDirectoriesRequest) GetPageToken() string

func (*ListActiveDirectoriesRequest) GetParent

func (x *ListActiveDirectoriesRequest) GetParent() string

func (*ListActiveDirectoriesRequest) ProtoMessage

func (*ListActiveDirectoriesRequest) ProtoMessage()

func (*ListActiveDirectoriesRequest) ProtoReflect

func (*ListActiveDirectoriesRequest) Reset

func (x *ListActiveDirectoriesRequest) Reset()

func (*ListActiveDirectoriesRequest) String

type ListActiveDirectoriesResponse

type ListActiveDirectoriesResponse struct {

	// The list of active directories.
	ActiveDirectories []*ActiveDirectory `protobuf:"bytes,1,rep,name=active_directories,json=activeDirectories,proto3" json:"active_directories,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

ListActiveDirectoriesResponse contains all the active directories requested.

func (*ListActiveDirectoriesResponse) Descriptor deprecated

func (*ListActiveDirectoriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListActiveDirectoriesResponse.ProtoReflect.Descriptor instead.

func (*ListActiveDirectoriesResponse) GetActiveDirectories

func (x *ListActiveDirectoriesResponse) GetActiveDirectories() []*ActiveDirectory

func (*ListActiveDirectoriesResponse) GetNextPageToken

func (x *ListActiveDirectoriesResponse) GetNextPageToken() string

func (*ListActiveDirectoriesResponse) GetUnreachable

func (x *ListActiveDirectoriesResponse) GetUnreachable() []string

func (*ListActiveDirectoriesResponse) ProtoMessage

func (*ListActiveDirectoriesResponse) ProtoMessage()

func (*ListActiveDirectoriesResponse) ProtoReflect

func (*ListActiveDirectoriesResponse) Reset

func (x *ListActiveDirectoriesResponse) Reset()

func (*ListActiveDirectoriesResponse) String

type ListKmsConfigsRequest

type ListKmsConfigsRequest struct {

	// Required. Parent value
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value to use if there are additional
	// results to retrieve for this list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Sort results. Supported values are "name", "name desc" or "" (unsorted).
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

ListKmsConfigsRequest lists KMS Configs.

func (*ListKmsConfigsRequest) Descriptor deprecated

func (*ListKmsConfigsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListKmsConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListKmsConfigsRequest) GetFilter

func (x *ListKmsConfigsRequest) GetFilter() string

func (*ListKmsConfigsRequest) GetOrderBy

func (x *ListKmsConfigsRequest) GetOrderBy() string

func (*ListKmsConfigsRequest) GetPageSize

func (x *ListKmsConfigsRequest) GetPageSize() int32

func (*ListKmsConfigsRequest) GetPageToken

func (x *ListKmsConfigsRequest) GetPageToken() string

func (*ListKmsConfigsRequest) GetParent

func (x *ListKmsConfigsRequest) GetParent() string

func (*ListKmsConfigsRequest) ProtoMessage

func (*ListKmsConfigsRequest) ProtoMessage()

func (*ListKmsConfigsRequest) ProtoReflect

func (x *ListKmsConfigsRequest) ProtoReflect() protoreflect.Message

func (*ListKmsConfigsRequest) Reset

func (x *ListKmsConfigsRequest) Reset()

func (*ListKmsConfigsRequest) String

func (x *ListKmsConfigsRequest) String() string

type ListKmsConfigsResponse

type ListKmsConfigsResponse struct {

	// The list of KmsConfigs
	KmsConfigs []*KmsConfig `protobuf:"bytes,1,rep,name=kms_configs,json=kmsConfigs,proto3" json:"kms_configs,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.

func (*ListKmsConfigsResponse) Descriptor deprecated

func (*ListKmsConfigsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListKmsConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListKmsConfigsResponse) GetKmsConfigs

func (x *ListKmsConfigsResponse) GetKmsConfigs() []*KmsConfig

func (*ListKmsConfigsResponse) GetNextPageToken

func (x *ListKmsConfigsResponse) GetNextPageToken() string

func (*ListKmsConfigsResponse) GetUnreachable

func (x *ListKmsConfigsResponse) GetUnreachable() []string

func (*ListKmsConfigsResponse) ProtoMessage

func (*ListKmsConfigsResponse) ProtoMessage()

func (*ListKmsConfigsResponse) ProtoReflect

func (x *ListKmsConfigsResponse) ProtoReflect() protoreflect.Message

func (*ListKmsConfigsResponse) Reset

func (x *ListKmsConfigsResponse) Reset()

func (*ListKmsConfigsResponse) String

func (x *ListKmsConfigsResponse) String() string

type ListReplicationsRequest

type ListReplicationsRequest struct {

	// Required. The volume for which to retrieve replication information,
	// in the format
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value to use if there are additional
	// results to retrieve for this list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Sort results. Supported values are "name", "name desc" or "" (unsorted).
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

ListReplications lists replications.

func (*ListReplicationsRequest) Descriptor deprecated

func (*ListReplicationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListReplicationsRequest.ProtoReflect.Descriptor instead.

func (*ListReplicationsRequest) GetFilter

func (x *ListReplicationsRequest) GetFilter() string

func (*ListReplicationsRequest) GetOrderBy

func (x *ListReplicationsRequest) GetOrderBy() string

func (*ListReplicationsRequest) GetPageSize

func (x *ListReplicationsRequest) GetPageSize() int32

func (*ListReplicationsRequest) GetPageToken

func (x *ListReplicationsRequest) GetPageToken() string

func (*ListReplicationsRequest) GetParent

func (x *ListReplicationsRequest) GetParent() string

func (*ListReplicationsRequest) ProtoMessage

func (*ListReplicationsRequest) ProtoMessage()

func (*ListReplicationsRequest) ProtoReflect

func (x *ListReplicationsRequest) ProtoReflect() protoreflect.Message

func (*ListReplicationsRequest) Reset

func (x *ListReplicationsRequest) Reset()

func (*ListReplicationsRequest) String

func (x *ListReplicationsRequest) String() string

type ListReplicationsResponse

type ListReplicationsResponse struct {

	// A list of replications in the project for the specified volume.
	Replications []*Replication `protobuf:"bytes,1,rep,name=replications,proto3" json:"replications,omitempty"`
	// The token you can use to retrieve the next page of results. Not returned
	// if there are no more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

ListReplicationsResponse is the result of ListReplicationsRequest.

func (*ListReplicationsResponse) Descriptor deprecated

func (*ListReplicationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListReplicationsResponse.ProtoReflect.Descriptor instead.

func (*ListReplicationsResponse) GetNextPageToken

func (x *ListReplicationsResponse) GetNextPageToken() string

func (*ListReplicationsResponse) GetReplications

func (x *ListReplicationsResponse) GetReplications() []*Replication

func (*ListReplicationsResponse) GetUnreachable

func (x *ListReplicationsResponse) GetUnreachable() []string

func (*ListReplicationsResponse) ProtoMessage

func (*ListReplicationsResponse) ProtoMessage()

func (*ListReplicationsResponse) ProtoReflect

func (x *ListReplicationsResponse) ProtoReflect() protoreflect.Message

func (*ListReplicationsResponse) Reset

func (x *ListReplicationsResponse) Reset()

func (*ListReplicationsResponse) String

func (x *ListReplicationsResponse) String() string

type ListSnapshotsRequest

type ListSnapshotsRequest struct {

	// Required. The volume for which to retrieve snapshot information,
	// in the format
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value to use if there are additional
	// results to retrieve for this list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Sort results. Supported values are "name", "name desc" or "" (unsorted).
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

ListSnapshotsRequest lists snapshots.

func (*ListSnapshotsRequest) Descriptor deprecated

func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListSnapshotsRequest) GetFilter

func (x *ListSnapshotsRequest) GetFilter() string

func (*ListSnapshotsRequest) GetOrderBy

func (x *ListSnapshotsRequest) GetOrderBy() string

func (*ListSnapshotsRequest) GetPageSize

func (x *ListSnapshotsRequest) GetPageSize() int32

func (*ListSnapshotsRequest) GetPageToken

func (x *ListSnapshotsRequest) GetPageToken() string

func (*ListSnapshotsRequest) GetParent

func (x *ListSnapshotsRequest) GetParent() string

func (*ListSnapshotsRequest) ProtoMessage

func (*ListSnapshotsRequest) ProtoMessage()

func (*ListSnapshotsRequest) ProtoReflect

func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message

func (*ListSnapshotsRequest) Reset

func (x *ListSnapshotsRequest) Reset()

func (*ListSnapshotsRequest) String

func (x *ListSnapshotsRequest) String() string

type ListSnapshotsResponse

type ListSnapshotsResponse struct {

	// A list of snapshots in the project for the specified volume.
	Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// The token you can use to retrieve the next page of results. Not returned
	// if there are no more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

ListSnapshotsResponse is the result of ListSnapshotsRequest.

func (*ListSnapshotsResponse) Descriptor deprecated

func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.

func (*ListSnapshotsResponse) GetNextPageToken

func (x *ListSnapshotsResponse) GetNextPageToken() string

func (*ListSnapshotsResponse) GetSnapshots

func (x *ListSnapshotsResponse) GetSnapshots() []*Snapshot

func (*ListSnapshotsResponse) GetUnreachable

func (x *ListSnapshotsResponse) GetUnreachable() []string

func (*ListSnapshotsResponse) ProtoMessage

func (*ListSnapshotsResponse) ProtoMessage()

func (*ListSnapshotsResponse) ProtoReflect

func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message

func (*ListSnapshotsResponse) Reset

func (x *ListSnapshotsResponse) Reset()

func (*ListSnapshotsResponse) String

func (x *ListSnapshotsResponse) String() string

type ListStoragePoolsRequest

type ListStoragePoolsRequest struct {

	// Required. Parent value
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value to use if there are additional
	// results to retrieve for this list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Sort results. Supported values are "name", "name desc" or "" (unsorted).
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

ListStoragePoolsRequest lists Storage Pools.

func (*ListStoragePoolsRequest) Descriptor deprecated

func (*ListStoragePoolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListStoragePoolsRequest.ProtoReflect.Descriptor instead.

func (*ListStoragePoolsRequest) GetFilter

func (x *ListStoragePoolsRequest) GetFilter() string

func (*ListStoragePoolsRequest) GetOrderBy

func (x *ListStoragePoolsRequest) GetOrderBy() string

func (*ListStoragePoolsRequest) GetPageSize

func (x *ListStoragePoolsRequest) GetPageSize() int32

func (*ListStoragePoolsRequest) GetPageToken

func (x *ListStoragePoolsRequest) GetPageToken() string

func (*ListStoragePoolsRequest) GetParent

func (x *ListStoragePoolsRequest) GetParent() string

func (*ListStoragePoolsRequest) ProtoMessage

func (*ListStoragePoolsRequest) ProtoMessage()

func (*ListStoragePoolsRequest) ProtoReflect

func (x *ListStoragePoolsRequest) ProtoReflect() protoreflect.Message

func (*ListStoragePoolsRequest) Reset

func (x *ListStoragePoolsRequest) Reset()

func (*ListStoragePoolsRequest) String

func (x *ListStoragePoolsRequest) String() string

type ListStoragePoolsResponse

type ListStoragePoolsResponse struct {

	// The list of StoragePools
	StoragePools []*StoragePool `protobuf:"bytes,1,rep,name=storage_pools,json=storagePools,proto3" json:"storage_pools,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.

func (*ListStoragePoolsResponse) Descriptor deprecated

func (*ListStoragePoolsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListStoragePoolsResponse.ProtoReflect.Descriptor instead.

func (*ListStoragePoolsResponse) GetNextPageToken

func (x *ListStoragePoolsResponse) GetNextPageToken() string

func (*ListStoragePoolsResponse) GetStoragePools

func (x *ListStoragePoolsResponse) GetStoragePools() []*StoragePool

func (*ListStoragePoolsResponse) GetUnreachable

func (x *ListStoragePoolsResponse) GetUnreachable() []string

func (*ListStoragePoolsResponse) ProtoMessage

func (*ListStoragePoolsResponse) ProtoMessage()

func (*ListStoragePoolsResponse) ProtoReflect

func (x *ListStoragePoolsResponse) ProtoReflect() protoreflect.Message

func (*ListStoragePoolsResponse) Reset

func (x *ListStoragePoolsResponse) Reset()

func (*ListStoragePoolsResponse) String

func (x *ListStoragePoolsResponse) String() string

type ListVolumesRequest

type ListVolumesRequest struct {

	// Required. Parent value for ListVolumesRequest
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, the server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Volumes

func (*ListVolumesRequest) Descriptor deprecated

func (*ListVolumesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumesRequest.ProtoReflect.Descriptor instead.

func (*ListVolumesRequest) GetFilter

func (x *ListVolumesRequest) GetFilter() string

func (*ListVolumesRequest) GetOrderBy

func (x *ListVolumesRequest) GetOrderBy() string

func (*ListVolumesRequest) GetPageSize

func (x *ListVolumesRequest) GetPageSize() int32

func (*ListVolumesRequest) GetPageToken

func (x *ListVolumesRequest) GetPageToken() string

func (*ListVolumesRequest) GetParent

func (x *ListVolumesRequest) GetParent() string

func (*ListVolumesRequest) ProtoMessage

func (*ListVolumesRequest) ProtoMessage()

func (*ListVolumesRequest) ProtoReflect

func (x *ListVolumesRequest) ProtoReflect() protoreflect.Message

func (*ListVolumesRequest) Reset

func (x *ListVolumesRequest) Reset()

func (*ListVolumesRequest) String

func (x *ListVolumesRequest) String() string

type ListVolumesResponse

type ListVolumesResponse struct {

	// The list of Volume
	Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Volumes

func (*ListVolumesResponse) Descriptor deprecated

func (*ListVolumesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumesResponse.ProtoReflect.Descriptor instead.

func (*ListVolumesResponse) GetNextPageToken

func (x *ListVolumesResponse) GetNextPageToken() string

func (*ListVolumesResponse) GetUnreachable

func (x *ListVolumesResponse) GetUnreachable() []string

func (*ListVolumesResponse) GetVolumes

func (x *ListVolumesResponse) GetVolumes() []*Volume

func (*ListVolumesResponse) ProtoMessage

func (*ListVolumesResponse) ProtoMessage()

func (*ListVolumesResponse) ProtoReflect

func (x *ListVolumesResponse) ProtoReflect() protoreflect.Message

func (*ListVolumesResponse) Reset

func (x *ListVolumesResponse) Reset()

func (*ListVolumesResponse) String

func (x *ListVolumesResponse) String() string

type MonthlySchedule

type MonthlySchedule struct {

	// The maximum number of Snapshots to keep for the hourly schedule
	SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
	// Set the minute of the hour to start the snapshot (0-59), defaults to the
	// top of the hour (0).
	Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
	// Set the hour to start the snapshot (0-23), defaults to midnight (0).
	Hour *float64 `protobuf:"fixed64,3,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
	// Set the day or days of the month to make a snapshot (1-31). Accepts a
	// comma separated number of days. Defaults to '1'.
	DaysOfMonth *string `protobuf:"bytes,4,opt,name=days_of_month,json=daysOfMonth,proto3,oneof" json:"days_of_month,omitempty"`
	// contains filtered or unexported fields
}

Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50

func (*MonthlySchedule) Descriptor deprecated

func (*MonthlySchedule) Descriptor() ([]byte, []int)

Deprecated: Use MonthlySchedule.ProtoReflect.Descriptor instead.

func (*MonthlySchedule) GetDaysOfMonth

func (x *MonthlySchedule) GetDaysOfMonth() string

func (*MonthlySchedule) GetHour

func (x *MonthlySchedule) GetHour() float64

func (*MonthlySchedule) GetMinute

func (x *MonthlySchedule) GetMinute() float64

func (*MonthlySchedule) GetSnapshotsToKeep

func (x *MonthlySchedule) GetSnapshotsToKeep() float64

func (*MonthlySchedule) ProtoMessage

func (*MonthlySchedule) ProtoMessage()

func (*MonthlySchedule) ProtoReflect

func (x *MonthlySchedule) ProtoReflect() protoreflect.Message

func (*MonthlySchedule) Reset

func (x *MonthlySchedule) Reset()

func (*MonthlySchedule) String

func (x *MonthlySchedule) String() string

type MountOption

type MountOption struct {

	// Export string
	Export string `protobuf:"bytes,1,opt,name=export,proto3" json:"export,omitempty"`
	// Full export string
	ExportFull string `protobuf:"bytes,2,opt,name=export_full,json=exportFull,proto3" json:"export_full,omitempty"`
	// Protocol to mount with.
	Protocol Protocols `protobuf:"varint,3,opt,name=protocol,proto3,enum=google.cloud.netapp.v1.Protocols" json:"protocol,omitempty"`
	// Instructions for mounting
	Instructions string `protobuf:"bytes,4,opt,name=instructions,proto3" json:"instructions,omitempty"`
	// contains filtered or unexported fields
}

View only mount options for a volume.

func (*MountOption) Descriptor deprecated

func (*MountOption) Descriptor() ([]byte, []int)

Deprecated: Use MountOption.ProtoReflect.Descriptor instead.

func (*MountOption) GetExport

func (x *MountOption) GetExport() string

func (*MountOption) GetExportFull

func (x *MountOption) GetExportFull() string

func (*MountOption) GetInstructions

func (x *MountOption) GetInstructions() string

func (*MountOption) GetProtocol

func (x *MountOption) GetProtocol() Protocols

func (*MountOption) ProtoMessage

func (*MountOption) ProtoMessage()

func (*MountOption) ProtoReflect

func (x *MountOption) ProtoReflect() protoreflect.Message

func (*MountOption) Reset

func (x *MountOption) Reset()

func (*MountOption) String

func (x *MountOption) String() string

type NetAppClient

type NetAppClient interface {
	// Returns descriptions of all storage pools owned by the caller.
	ListStoragePools(ctx context.Context, in *ListStoragePoolsRequest, opts ...grpc.CallOption) (*ListStoragePoolsResponse, error)
	// Creates a new storage pool.
	CreateStoragePool(ctx context.Context, in *CreateStoragePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns the description of the specified storage pool by poolId.
	GetStoragePool(ctx context.Context, in *GetStoragePoolRequest, opts ...grpc.CallOption) (*StoragePool, error)
	// Updates the storage pool properties with the full spec
	UpdateStoragePool(ctx context.Context, in *UpdateStoragePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Warning! This operation will permanently delete the storage pool.
	DeleteStoragePool(ctx context.Context, in *DeleteStoragePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists Volumes in a given project.
	ListVolumes(ctx context.Context, in *ListVolumesRequest, opts ...grpc.CallOption) (*ListVolumesResponse, error)
	// Gets details of a single Volume.
	GetVolume(ctx context.Context, in *GetVolumeRequest, opts ...grpc.CallOption) (*Volume, error)
	// Creates a new Volume in a given project and location.
	CreateVolume(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Volume.
	UpdateVolume(ctx context.Context, in *UpdateVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Volume.
	DeleteVolume(ctx context.Context, in *DeleteVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Revert an existing volume to a specified snapshot.
	// Warning! This operation will permanently revert all changes made after the
	// snapshot was created.
	RevertVolume(ctx context.Context, in *RevertVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns descriptions of all snapshots for a volume.
	ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
	// Describe a snapshot for a volume.
	GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error)
	// Create a new snapshot for a volume.
	CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a snapshot.
	DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the settings of a specific snapshot.
	UpdateSnapshot(ctx context.Context, in *UpdateSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists active directories.
	ListActiveDirectories(ctx context.Context, in *ListActiveDirectoriesRequest, opts ...grpc.CallOption) (*ListActiveDirectoriesResponse, error)
	// Describes a specified active directory.
	GetActiveDirectory(ctx context.Context, in *GetActiveDirectoryRequest, opts ...grpc.CallOption) (*ActiveDirectory, error)
	// CreateActiveDirectory
	// Creates the active directory specified in the request.
	CreateActiveDirectory(ctx context.Context, in *CreateActiveDirectoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Update the parameters of an active directories.
	UpdateActiveDirectory(ctx context.Context, in *UpdateActiveDirectoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Delete the active directory specified in the request.
	DeleteActiveDirectory(ctx context.Context, in *DeleteActiveDirectoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns descriptions of all KMS configs owned by the caller.
	ListKmsConfigs(ctx context.Context, in *ListKmsConfigsRequest, opts ...grpc.CallOption) (*ListKmsConfigsResponse, error)
	// Creates a new KMS config.
	CreateKmsConfig(ctx context.Context, in *CreateKmsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns the description of the specified KMS config by kms_config_id.
	GetKmsConfig(ctx context.Context, in *GetKmsConfigRequest, opts ...grpc.CallOption) (*KmsConfig, error)
	// Updates the Kms config properties with the full spec
	UpdateKmsConfig(ctx context.Context, in *UpdateKmsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Encrypt the existing volumes without CMEK encryption with the desired the
	// KMS config for the whole region.
	EncryptVolumes(ctx context.Context, in *EncryptVolumesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Verifies KMS config reachability.
	VerifyKmsConfig(ctx context.Context, in *VerifyKmsConfigRequest, opts ...grpc.CallOption) (*VerifyKmsConfigResponse, error)
	// Warning! This operation will permanently delete the Kms config.
	DeleteKmsConfig(ctx context.Context, in *DeleteKmsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns descriptions of all replications for a volume.
	ListReplications(ctx context.Context, in *ListReplicationsRequest, opts ...grpc.CallOption) (*ListReplicationsResponse, error)
	// Describe a replication for a volume.
	GetReplication(ctx context.Context, in *GetReplicationRequest, opts ...grpc.CallOption) (*Replication, error)
	// Create a new replication for a volume.
	CreateReplication(ctx context.Context, in *CreateReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a replication.
	DeleteReplication(ctx context.Context, in *DeleteReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the settings of a specific replication.
	UpdateReplication(ctx context.Context, in *UpdateReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Stop Cross Region Replication.
	StopReplication(ctx context.Context, in *StopReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Resume Cross Region Replication.
	ResumeReplication(ctx context.Context, in *ResumeReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Reverses direction of replication. Source becomes destination and
	// destination becomes source.
	ReverseReplicationDirection(ctx context.Context, in *ReverseReplicationDirectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

NetAppClient is the client API for NetApp service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNetAppClient

func NewNetAppClient(cc grpc.ClientConnInterface) NetAppClient

type NetAppServer

type NetAppServer interface {
	// Returns descriptions of all storage pools owned by the caller.
	ListStoragePools(context.Context, *ListStoragePoolsRequest) (*ListStoragePoolsResponse, error)
	// Creates a new storage pool.
	CreateStoragePool(context.Context, *CreateStoragePoolRequest) (*longrunningpb.Operation, error)
	// Returns the description of the specified storage pool by poolId.
	GetStoragePool(context.Context, *GetStoragePoolRequest) (*StoragePool, error)
	// Updates the storage pool properties with the full spec
	UpdateStoragePool(context.Context, *UpdateStoragePoolRequest) (*longrunningpb.Operation, error)
	// Warning! This operation will permanently delete the storage pool.
	DeleteStoragePool(context.Context, *DeleteStoragePoolRequest) (*longrunningpb.Operation, error)
	// Lists Volumes in a given project.
	ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
	// Gets details of a single Volume.
	GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)
	// Creates a new Volume in a given project and location.
	CreateVolume(context.Context, *CreateVolumeRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Volume.
	UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunningpb.Operation, error)
	// Deletes a single Volume.
	DeleteVolume(context.Context, *DeleteVolumeRequest) (*longrunningpb.Operation, error)
	// Revert an existing volume to a specified snapshot.
	// Warning! This operation will permanently revert all changes made after the
	// snapshot was created.
	RevertVolume(context.Context, *RevertVolumeRequest) (*longrunningpb.Operation, error)
	// Returns descriptions of all snapshots for a volume.
	ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
	// Describe a snapshot for a volume.
	GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error)
	// Create a new snapshot for a volume.
	CreateSnapshot(context.Context, *CreateSnapshotRequest) (*longrunningpb.Operation, error)
	// Deletes a snapshot.
	DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*longrunningpb.Operation, error)
	// Updates the settings of a specific snapshot.
	UpdateSnapshot(context.Context, *UpdateSnapshotRequest) (*longrunningpb.Operation, error)
	// Lists active directories.
	ListActiveDirectories(context.Context, *ListActiveDirectoriesRequest) (*ListActiveDirectoriesResponse, error)
	// Describes a specified active directory.
	GetActiveDirectory(context.Context, *GetActiveDirectoryRequest) (*ActiveDirectory, error)
	// CreateActiveDirectory
	// Creates the active directory specified in the request.
	CreateActiveDirectory(context.Context, *CreateActiveDirectoryRequest) (*longrunningpb.Operation, error)
	// Update the parameters of an active directories.
	UpdateActiveDirectory(context.Context, *UpdateActiveDirectoryRequest) (*longrunningpb.Operation, error)
	// Delete the active directory specified in the request.
	DeleteActiveDirectory(context.Context, *DeleteActiveDirectoryRequest) (*longrunningpb.Operation, error)
	// Returns descriptions of all KMS configs owned by the caller.
	ListKmsConfigs(context.Context, *ListKmsConfigsRequest) (*ListKmsConfigsResponse, error)
	// Creates a new KMS config.
	CreateKmsConfig(context.Context, *CreateKmsConfigRequest) (*longrunningpb.Operation, error)
	// Returns the description of the specified KMS config by kms_config_id.
	GetKmsConfig(context.Context, *GetKmsConfigRequest) (*KmsConfig, error)
	// Updates the Kms config properties with the full spec
	UpdateKmsConfig(context.Context, *UpdateKmsConfigRequest) (*longrunningpb.Operation, error)
	// Encrypt the existing volumes without CMEK encryption with the desired the
	// KMS config for the whole region.
	EncryptVolumes(context.Context, *EncryptVolumesRequest) (*longrunningpb.Operation, error)
	// Verifies KMS config reachability.
	VerifyKmsConfig(context.Context, *VerifyKmsConfigRequest) (*VerifyKmsConfigResponse, error)
	// Warning! This operation will permanently delete the Kms config.
	DeleteKmsConfig(context.Context, *DeleteKmsConfigRequest) (*longrunningpb.Operation, error)
	// Returns descriptions of all replications for a volume.
	ListReplications(context.Context, *ListReplicationsRequest) (*ListReplicationsResponse, error)
	// Describe a replication for a volume.
	GetReplication(context.Context, *GetReplicationRequest) (*Replication, error)
	// Create a new replication for a volume.
	CreateReplication(context.Context, *CreateReplicationRequest) (*longrunningpb.Operation, error)
	// Deletes a replication.
	DeleteReplication(context.Context, *DeleteReplicationRequest) (*longrunningpb.Operation, error)
	// Updates the settings of a specific replication.
	UpdateReplication(context.Context, *UpdateReplicationRequest) (*longrunningpb.Operation, error)
	// Stop Cross Region Replication.
	StopReplication(context.Context, *StopReplicationRequest) (*longrunningpb.Operation, error)
	// Resume Cross Region Replication.
	ResumeReplication(context.Context, *ResumeReplicationRequest) (*longrunningpb.Operation, error)
	// Reverses direction of replication. Source becomes destination and
	// destination becomes source.
	ReverseReplicationDirection(context.Context, *ReverseReplicationDirectionRequest) (*longrunningpb.Operation, error)
}

NetAppServer is the server API for NetApp service.

type OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have been canceled successfully
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type Protocols

type Protocols int32
const (
	// Unspecified protocol
	Protocols_PROTOCOLS_UNSPECIFIED Protocols = 0
	// NFS V3 protocol
	Protocols_NFSV3 Protocols = 1
	// NFS V4 protocol
	Protocols_NFSV4 Protocols = 2
	// SMB protocol
	Protocols_SMB Protocols = 3
)

func (Protocols) Descriptor

func (Protocols) Descriptor() protoreflect.EnumDescriptor

func (Protocols) Enum

func (x Protocols) Enum() *Protocols

func (Protocols) EnumDescriptor deprecated

func (Protocols) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocols.Descriptor instead.

func (Protocols) Number

func (x Protocols) Number() protoreflect.EnumNumber

func (Protocols) String

func (x Protocols) String() string

func (Protocols) Type

type Replication

type Replication struct {

	// Output only. The resource name of the Replication.
	// Format:
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. State of the replication.
	State Replication_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Replication_State" json:"state,omitempty"`
	// Output only. State details of the replication.
	StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
	// Output only. Indicates whether this points to source or destination.
	Role Replication_ReplicationRole `protobuf:"varint,4,opt,name=role,proto3,enum=google.cloud.netapp.v1.Replication_ReplicationRole" json:"role,omitempty"`
	// Required. Indicates the schedule for replication.
	ReplicationSchedule Replication_ReplicationSchedule `` /* 179-byte string literal not displayed */
	// Output only. Indicates the state of mirroring.
	MirrorState Replication_MirrorState `` /* 147-byte string literal not displayed */
	// Output only. Condition of the relationship. Can be one of the following:
	// - true: The replication relationship is healthy. It has not missed the most
	// recent scheduled transfer.
	// - false: The replication relationship is not healthy. It has missed the
	// most recent scheduled transfer.
	Healthy *bool `protobuf:"varint,8,opt,name=healthy,proto3,oneof" json:"healthy,omitempty"`
	// Output only. Replication create time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Full name of destination volume resource.
	// Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
	DestinationVolume string `protobuf:"bytes,10,opt,name=destination_volume,json=destinationVolume,proto3" json:"destination_volume,omitempty"`
	// Output only. Replication transfer statistics.
	TransferStats *TransferStats `protobuf:"bytes,11,opt,name=transfer_stats,json=transferStats,proto3" json:"transfer_stats,omitempty"`
	// Resource labels to represent user provided metadata.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// A description about this replication relationship.
	Description *string `protobuf:"bytes,13,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Required. Input only. Destination volume parameters
	DestinationVolumeParameters *DestinationVolumeParameters `` /* 145-byte string literal not displayed */
	// Output only. Full name of source volume resource.
	// Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
	SourceVolume string `protobuf:"bytes,15,opt,name=source_volume,json=sourceVolume,proto3" json:"source_volume,omitempty"`
	// contains filtered or unexported fields
}

Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.

func (*Replication) Descriptor deprecated

func (*Replication) Descriptor() ([]byte, []int)

Deprecated: Use Replication.ProtoReflect.Descriptor instead.

func (*Replication) GetCreateTime

func (x *Replication) GetCreateTime() *timestamppb.Timestamp

func (*Replication) GetDescription

func (x *Replication) GetDescription() string

func (*Replication) GetDestinationVolume

func (x *Replication) GetDestinationVolume() string

func (*Replication) GetDestinationVolumeParameters

func (x *Replication) GetDestinationVolumeParameters() *DestinationVolumeParameters

func (*Replication) GetHealthy

func (x *Replication) GetHealthy() bool

func (*Replication) GetLabels

func (x *Replication) GetLabels() map[string]string

func (*Replication) GetMirrorState

func (x *Replication) GetMirrorState() Replication_MirrorState

func (*Replication) GetName

func (x *Replication) GetName() string

func (*Replication) GetReplicationSchedule

func (x *Replication) GetReplicationSchedule() Replication_ReplicationSchedule

func (*Replication) GetRole

func (*Replication) GetSourceVolume

func (x *Replication) GetSourceVolume() string

func (*Replication) GetState

func (x *Replication) GetState() Replication_State

func (*Replication) GetStateDetails

func (x *Replication) GetStateDetails() string

func (*Replication) GetTransferStats

func (x *Replication) GetTransferStats() *TransferStats

func (*Replication) ProtoMessage

func (*Replication) ProtoMessage()

func (*Replication) ProtoReflect

func (x *Replication) ProtoReflect() protoreflect.Message

func (*Replication) Reset

func (x *Replication) Reset()

func (*Replication) String

func (x *Replication) String() string

type Replication_MirrorState

type Replication_MirrorState int32

Mirroring states. No new value is expected to be added in future.

const (
	// Unspecified MirrorState
	Replication_MIRROR_STATE_UNSPECIFIED Replication_MirrorState = 0
	// Destination volume is being prepared.
	Replication_PREPARING Replication_MirrorState = 1
	// Destination volume has been initialized and is ready to receive
	// replication transfers.
	Replication_MIRRORED Replication_MirrorState = 2
	// Destination volume is not receiving replication transfers.
	Replication_STOPPED Replication_MirrorState = 3
	// Replication is in progress.
	Replication_TRANSFERRING Replication_MirrorState = 4
)

func (Replication_MirrorState) Descriptor

func (Replication_MirrorState) Enum

func (Replication_MirrorState) EnumDescriptor deprecated

func (Replication_MirrorState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Replication_MirrorState.Descriptor instead.

func (Replication_MirrorState) Number

func (Replication_MirrorState) String

func (x Replication_MirrorState) String() string

func (Replication_MirrorState) Type

type Replication_ReplicationRole

type Replication_ReplicationRole int32

New enum values may be added in future to support different replication topology.

const (
	// Unspecified replication role
	Replication_REPLICATION_ROLE_UNSPECIFIED Replication_ReplicationRole = 0
	// Indicates Source volume.
	Replication_SOURCE Replication_ReplicationRole = 1
	// Indicates Destination volume.
	Replication_DESTINATION Replication_ReplicationRole = 2
)

func (Replication_ReplicationRole) Descriptor

func (Replication_ReplicationRole) Enum

func (Replication_ReplicationRole) EnumDescriptor deprecated

func (Replication_ReplicationRole) EnumDescriptor() ([]byte, []int)

Deprecated: Use Replication_ReplicationRole.Descriptor instead.

func (Replication_ReplicationRole) Number

func (Replication_ReplicationRole) String

func (Replication_ReplicationRole) Type

type Replication_ReplicationSchedule

type Replication_ReplicationSchedule int32

Schedule for Replication. New enum values may be added in future to support different frequency of replication.

const (
	// Unspecified ReplicationSchedule
	Replication_REPLICATION_SCHEDULE_UNSPECIFIED Replication_ReplicationSchedule = 0
	// Replication happens once every 10 minutes.
	Replication_EVERY_10_MINUTES Replication_ReplicationSchedule = 1
	// Replication happens once every hour.
	Replication_HOURLY Replication_ReplicationSchedule = 2
	// Replication happens once every day.
	Replication_DAILY Replication_ReplicationSchedule = 3
)

func (Replication_ReplicationSchedule) Descriptor

func (Replication_ReplicationSchedule) Enum

func (Replication_ReplicationSchedule) EnumDescriptor deprecated

func (Replication_ReplicationSchedule) EnumDescriptor() ([]byte, []int)

Deprecated: Use Replication_ReplicationSchedule.Descriptor instead.

func (Replication_ReplicationSchedule) Number

func (Replication_ReplicationSchedule) String

func (Replication_ReplicationSchedule) Type

type Replication_State

type Replication_State int32

The replication states New enum values may be added in future to indicate possible new states.

const (
	// Unspecified replication State
	Replication_STATE_UNSPECIFIED Replication_State = 0
	// Replication is creating.
	Replication_CREATING Replication_State = 1
	// Replication is ready.
	Replication_READY Replication_State = 2
	// Replication is updating.
	Replication_UPDATING Replication_State = 3
	// Replication is deleting.
	Replication_DELETING Replication_State = 5
	// Replication is in error state.
	Replication_ERROR Replication_State = 6
)

func (Replication_State) Descriptor

func (Replication_State) Enum

func (Replication_State) EnumDescriptor deprecated

func (Replication_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Replication_State.Descriptor instead.

func (Replication_State) Number

func (Replication_State) String

func (x Replication_State) String() string

func (Replication_State) Type

type RestoreParameters

type RestoreParameters struct {

	// The source that the volume is created from.
	//
	// Types that are assignable to Source:
	//	*RestoreParameters_SourceSnapshot
	Source isRestoreParameters_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

The RestoreParameters if volume is created from a snapshot or backup.

func (*RestoreParameters) Descriptor deprecated

func (*RestoreParameters) Descriptor() ([]byte, []int)

Deprecated: Use RestoreParameters.ProtoReflect.Descriptor instead.

func (*RestoreParameters) GetSource

func (m *RestoreParameters) GetSource() isRestoreParameters_Source

func (*RestoreParameters) GetSourceSnapshot

func (x *RestoreParameters) GetSourceSnapshot() string

func (*RestoreParameters) ProtoMessage

func (*RestoreParameters) ProtoMessage()

func (*RestoreParameters) ProtoReflect

func (x *RestoreParameters) ProtoReflect() protoreflect.Message

func (*RestoreParameters) Reset

func (x *RestoreParameters) Reset()

func (*RestoreParameters) String

func (x *RestoreParameters) String() string

type RestoreParameters_SourceSnapshot

type RestoreParameters_SourceSnapshot struct {
	// Full name of the snapshot resource.
	// Format:
	// projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
	SourceSnapshot string `protobuf:"bytes,1,opt,name=source_snapshot,json=sourceSnapshot,proto3,oneof"`
}

type RestrictedAction added in v0.2.0

type RestrictedAction int32

Actions to be restricted for a volume.

const (
	// Unspecified restricted action
	RestrictedAction_RESTRICTED_ACTION_UNSPECIFIED RestrictedAction = 0
	// Prevent volume from being deleted when mounted.
	RestrictedAction_DELETE RestrictedAction = 1
)

func (RestrictedAction) Descriptor added in v0.2.0

func (RestrictedAction) Enum added in v0.2.0

func (RestrictedAction) EnumDescriptor deprecated added in v0.2.0

func (RestrictedAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use RestrictedAction.Descriptor instead.

func (RestrictedAction) Number added in v0.2.0

func (RestrictedAction) String added in v0.2.0

func (x RestrictedAction) String() string

func (RestrictedAction) Type added in v0.2.0

type ResumeReplicationRequest

type ResumeReplicationRequest struct {

	// Required. The resource name of the replication, in the format of
	// projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ResumeReplicationRequest resumes a stopped replication.

func (*ResumeReplicationRequest) Descriptor deprecated

func (*ResumeReplicationRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeReplicationRequest.ProtoReflect.Descriptor instead.

func (*ResumeReplicationRequest) GetName

func (x *ResumeReplicationRequest) GetName() string

func (*ResumeReplicationRequest) ProtoMessage

func (*ResumeReplicationRequest) ProtoMessage()

func (*ResumeReplicationRequest) ProtoReflect

func (x *ResumeReplicationRequest) ProtoReflect() protoreflect.Message

func (*ResumeReplicationRequest) Reset

func (x *ResumeReplicationRequest) Reset()

func (*ResumeReplicationRequest) String

func (x *ResumeReplicationRequest) String() string

type ReverseReplicationDirectionRequest

type ReverseReplicationDirectionRequest struct {

	// Required. The resource name of the replication, in the format of
	// projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ReverseReplicationDirectionRequest reverses direction of replication. Source becomes destination and destination becomes source.

func (*ReverseReplicationDirectionRequest) Descriptor deprecated

func (*ReverseReplicationDirectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReverseReplicationDirectionRequest.ProtoReflect.Descriptor instead.

func (*ReverseReplicationDirectionRequest) GetName

func (*ReverseReplicationDirectionRequest) ProtoMessage

func (*ReverseReplicationDirectionRequest) ProtoMessage()

func (*ReverseReplicationDirectionRequest) ProtoReflect

func (*ReverseReplicationDirectionRequest) Reset

func (*ReverseReplicationDirectionRequest) String

type RevertVolumeRequest

type RevertVolumeRequest struct {

	// Required. The resource name of the volume, in the format of
	// projects/{project_id}/locations/{location}/volumes/{volume_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The snapshot resource ID, in the format 'my-snapshot', where the
	// specified ID is the {snapshot_id} of the fully qualified name like
	// projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}
	SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

RevertVolumeRequest reverts the given volume to the specified snapshot.

func (*RevertVolumeRequest) Descriptor deprecated

func (*RevertVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevertVolumeRequest.ProtoReflect.Descriptor instead.

func (*RevertVolumeRequest) GetName

func (x *RevertVolumeRequest) GetName() string

func (*RevertVolumeRequest) GetSnapshotId

func (x *RevertVolumeRequest) GetSnapshotId() string

func (*RevertVolumeRequest) ProtoMessage

func (*RevertVolumeRequest) ProtoMessage()

func (*RevertVolumeRequest) ProtoReflect

func (x *RevertVolumeRequest) ProtoReflect() protoreflect.Message

func (*RevertVolumeRequest) Reset

func (x *RevertVolumeRequest) Reset()

func (*RevertVolumeRequest) String

func (x *RevertVolumeRequest) String() string

type SMBSettings

type SMBSettings int32

SMBSettings Modifies the behaviour of a SMB volume.

const (
	// Unspecified default option
	SMBSettings_SMB_SETTINGS_UNSPECIFIED SMBSettings = 0
	// SMB setting encrypt data
	SMBSettings_ENCRYPT_DATA SMBSettings = 1
	// SMB setting browsable
	SMBSettings_BROWSABLE SMBSettings = 2
	// SMB setting notify change
	SMBSettings_CHANGE_NOTIFY SMBSettings = 3
	// SMB setting not to notify change
	SMBSettings_NON_BROWSABLE SMBSettings = 4
	// SMB setting oplocks
	SMBSettings_OPLOCKS SMBSettings = 5
	// SMB setting to show snapshots
	SMBSettings_SHOW_SNAPSHOT SMBSettings = 6
	// SMB setting to show previous versions
	SMBSettings_SHOW_PREVIOUS_VERSIONS SMBSettings = 7
	// SMB setting to access volume based on enumerartion
	SMBSettings_ACCESS_BASED_ENUMERATION SMBSettings = 8
	// Continuously available enumeration
	SMBSettings_CONTINUOUSLY_AVAILABLE SMBSettings = 9
)

func (SMBSettings) Descriptor

func (SMBSettings) Enum

func (x SMBSettings) Enum() *SMBSettings

func (SMBSettings) EnumDescriptor deprecated

func (SMBSettings) EnumDescriptor() ([]byte, []int)

Deprecated: Use SMBSettings.Descriptor instead.

func (SMBSettings) Number

func (x SMBSettings) Number() protoreflect.EnumNumber

func (SMBSettings) String

func (x SMBSettings) String() string

func (SMBSettings) Type

type SecurityStyle

type SecurityStyle int32

The security style of the volume, can be either UNIX or NTFS.

const (
	// SecurityStyle is unspecified
	SecurityStyle_SECURITY_STYLE_UNSPECIFIED SecurityStyle = 0
	// SecurityStyle uses NTFS
	SecurityStyle_NTFS SecurityStyle = 1
	// SecurityStyle uses NTFS
	SecurityStyle_UNIX SecurityStyle = 2
)

func (SecurityStyle) Descriptor

func (SecurityStyle) Enum

func (x SecurityStyle) Enum() *SecurityStyle

func (SecurityStyle) EnumDescriptor deprecated

func (SecurityStyle) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityStyle.Descriptor instead.

func (SecurityStyle) Number

func (SecurityStyle) String

func (x SecurityStyle) String() string

func (SecurityStyle) Type

type ServiceLevel

type ServiceLevel int32

The service levels - Storage Pool, Volumes

const (
	ServiceLevel_SERVICE_LEVEL_UNSPECIFIED ServiceLevel = 0
	ServiceLevel_PREMIUM                   ServiceLevel = 1
	ServiceLevel_EXTREME                   ServiceLevel = 2
	// Standard (Software offering)
	ServiceLevel_STANDARD ServiceLevel = 3
)

func (ServiceLevel) Descriptor

func (ServiceLevel) Enum

func (x ServiceLevel) Enum() *ServiceLevel

func (ServiceLevel) EnumDescriptor deprecated

func (ServiceLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServiceLevel.Descriptor instead.

func (ServiceLevel) Number

func (ServiceLevel) String

func (x ServiceLevel) String() string

func (ServiceLevel) Type

type SimpleExportPolicyRule

type SimpleExportPolicyRule struct {

	// Comma separated list of allowed clients IP addresses
	AllowedClients *string `protobuf:"bytes,1,opt,name=allowed_clients,json=allowedClients,proto3,oneof" json:"allowed_clients,omitempty"`
	// Whether Unix root access will be granted.
	HasRootAccess *string `protobuf:"bytes,2,opt,name=has_root_access,json=hasRootAccess,proto3,oneof" json:"has_root_access,omitempty"`
	// Access type (ReadWrite, ReadOnly, None)
	AccessType *AccessType `` /* 137-byte string literal not displayed */
	// NFS V3 protocol.
	Nfsv3 *bool `protobuf:"varint,4,opt,name=nfsv3,proto3,oneof" json:"nfsv3,omitempty"`
	// NFS V4 protocol.
	Nfsv4 *bool `protobuf:"varint,5,opt,name=nfsv4,proto3,oneof" json:"nfsv4,omitempty"`
	// If enabled (true) the rule defines a read only access for clients matching
	// the 'allowedClients' specification. It enables nfs clients to mount using
	// 'authentication' kerberos security mode.
	Kerberos_5ReadOnly *bool `protobuf:"varint,6,opt,name=kerberos_5_read_only,json=kerberos5ReadOnly,proto3,oneof" json:"kerberos_5_read_only,omitempty"`
	// If enabled (true) the rule defines read and write access for clients
	// matching the 'allowedClients' specification. It enables nfs clients to
	// mount using 'authentication' kerberos security mode. The
	// 'kerberos5ReadOnly' value be ignored if this is enabled.
	Kerberos_5ReadWrite *bool `` /* 126-byte string literal not displayed */
	// If enabled (true) the rule defines a read only access for clients matching
	// the 'allowedClients' specification. It enables nfs clients to mount using
	// 'integrity' kerberos security mode.
	Kerberos_5IReadOnly *bool `` /* 126-byte string literal not displayed */
	// If enabled (true) the rule defines read and write access for clients
	// matching the 'allowedClients' specification. It enables nfs clients to
	// mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly'
	// value be ignored if this is enabled.
	Kerberos_5IReadWrite *bool `` /* 129-byte string literal not displayed */
	// If enabled (true) the rule defines a read only access for clients matching
	// the 'allowedClients' specification. It enables nfs clients to mount using
	// 'privacy' kerberos security mode.
	Kerberos_5PReadOnly *bool `` /* 127-byte string literal not displayed */
	// If enabled (true) the rule defines read and write access for clients
	// matching the 'allowedClients' specification. It enables nfs clients to
	// mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly'
	// value be ignored if this is enabled.
	Kerberos_5PReadWrite *bool `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

An export policy rule describing various export options.

func (*SimpleExportPolicyRule) Descriptor deprecated

func (*SimpleExportPolicyRule) Descriptor() ([]byte, []int)

Deprecated: Use SimpleExportPolicyRule.ProtoReflect.Descriptor instead.

func (*SimpleExportPolicyRule) GetAccessType

func (x *SimpleExportPolicyRule) GetAccessType() AccessType

func (*SimpleExportPolicyRule) GetAllowedClients

func (x *SimpleExportPolicyRule) GetAllowedClients() string

func (*SimpleExportPolicyRule) GetHasRootAccess

func (x *SimpleExportPolicyRule) GetHasRootAccess() string

func (*SimpleExportPolicyRule) GetKerberos_5IReadOnly

func (x *SimpleExportPolicyRule) GetKerberos_5IReadOnly() bool

func (*SimpleExportPolicyRule) GetKerberos_5IReadWrite

func (x *SimpleExportPolicyRule) GetKerberos_5IReadWrite() bool

func (*SimpleExportPolicyRule) GetKerberos_5PReadOnly

func (x *SimpleExportPolicyRule) GetKerberos_5PReadOnly() bool

func (*SimpleExportPolicyRule) GetKerberos_5PReadWrite

func (x *SimpleExportPolicyRule) GetKerberos_5PReadWrite() bool

func (*SimpleExportPolicyRule) GetKerberos_5ReadOnly

func (x *SimpleExportPolicyRule) GetKerberos_5ReadOnly() bool

func (*SimpleExportPolicyRule) GetKerberos_5ReadWrite

func (x *SimpleExportPolicyRule) GetKerberos_5ReadWrite() bool

func (*SimpleExportPolicyRule) GetNfsv3

func (x *SimpleExportPolicyRule) GetNfsv3() bool

func (*SimpleExportPolicyRule) GetNfsv4

func (x *SimpleExportPolicyRule) GetNfsv4() bool

func (*SimpleExportPolicyRule) ProtoMessage

func (*SimpleExportPolicyRule) ProtoMessage()

func (*SimpleExportPolicyRule) ProtoReflect

func (x *SimpleExportPolicyRule) ProtoReflect() protoreflect.Message

func (*SimpleExportPolicyRule) Reset

func (x *SimpleExportPolicyRule) Reset()

func (*SimpleExportPolicyRule) String

func (x *SimpleExportPolicyRule) String() string

type Snapshot

type Snapshot struct {

	// Output only. The resource name of the snapshot.
	// Format:
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The snapshot state.
	State Snapshot_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Snapshot_State" json:"state,omitempty"`
	// Output only. State details of the storage pool
	StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
	// A description of the snapshot with 2048 characters or less.
	// Requests with longer descriptions will be rejected.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Current storage usage for the snapshot in bytes.
	UsedBytes float64 `protobuf:"fixed64,5,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	// Output only. The time when the snapshot was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Resource labels to represent user provided metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Snapshot is a point-in-time version of a Volume's content.

func (*Snapshot) Descriptor deprecated

func (*Snapshot) Descriptor() ([]byte, []int)

Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.

func (*Snapshot) GetCreateTime

func (x *Snapshot) GetCreateTime() *timestamppb.Timestamp

func (*Snapshot) GetDescription

func (x *Snapshot) GetDescription() string

func (*Snapshot) GetLabels

func (x *Snapshot) GetLabels() map[string]string

func (*Snapshot) GetName

func (x *Snapshot) GetName() string

func (*Snapshot) GetState

func (x *Snapshot) GetState() Snapshot_State

func (*Snapshot) GetStateDetails

func (x *Snapshot) GetStateDetails() string

func (*Snapshot) GetUsedBytes

func (x *Snapshot) GetUsedBytes() float64

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) ProtoReflect

func (x *Snapshot) ProtoReflect() protoreflect.Message

func (*Snapshot) Reset

func (x *Snapshot) Reset()

func (*Snapshot) String

func (x *Snapshot) String() string

type SnapshotPolicy

type SnapshotPolicy struct {

	// If enabled, make snapshots automatically according to the schedules.
	// Default is false.
	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// Hourly schedule policy.
	HourlySchedule *HourlySchedule `protobuf:"bytes,2,opt,name=hourly_schedule,json=hourlySchedule,proto3,oneof" json:"hourly_schedule,omitempty"`
	// Daily schedule policy.
	DailySchedule *DailySchedule `protobuf:"bytes,3,opt,name=daily_schedule,json=dailySchedule,proto3,oneof" json:"daily_schedule,omitempty"`
	// Weekly schedule policy.
	WeeklySchedule *WeeklySchedule `protobuf:"bytes,4,opt,name=weekly_schedule,json=weeklySchedule,proto3,oneof" json:"weekly_schedule,omitempty"`
	// Monthly schedule policy.
	MonthlySchedule *MonthlySchedule `protobuf:"bytes,5,opt,name=monthly_schedule,json=monthlySchedule,proto3,oneof" json:"monthly_schedule,omitempty"`
	// contains filtered or unexported fields
}

Snapshot Policy for a volume.

func (*SnapshotPolicy) Descriptor deprecated

func (*SnapshotPolicy) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotPolicy.ProtoReflect.Descriptor instead.

func (*SnapshotPolicy) GetDailySchedule

func (x *SnapshotPolicy) GetDailySchedule() *DailySchedule

func (*SnapshotPolicy) GetEnabled

func (x *SnapshotPolicy) GetEnabled() bool

func (*SnapshotPolicy) GetHourlySchedule

func (x *SnapshotPolicy) GetHourlySchedule() *HourlySchedule

func (*SnapshotPolicy) GetMonthlySchedule

func (x *SnapshotPolicy) GetMonthlySchedule() *MonthlySchedule

func (*SnapshotPolicy) GetWeeklySchedule

func (x *SnapshotPolicy) GetWeeklySchedule() *WeeklySchedule

func (*SnapshotPolicy) ProtoMessage

func (*SnapshotPolicy) ProtoMessage()

func (*SnapshotPolicy) ProtoReflect

func (x *SnapshotPolicy) ProtoReflect() protoreflect.Message

func (*SnapshotPolicy) Reset

func (x *SnapshotPolicy) Reset()

func (*SnapshotPolicy) String

func (x *SnapshotPolicy) String() string

type Snapshot_State

type Snapshot_State int32

The Snapshot States

const (
	// Unspecified Snapshot State
	Snapshot_STATE_UNSPECIFIED Snapshot_State = 0
	// Snapshot State is Ready
	Snapshot_READY Snapshot_State = 1
	// Snapshot State is Creating
	Snapshot_CREATING Snapshot_State = 2
	// Snapshot State is Deleting
	Snapshot_DELETING Snapshot_State = 3
	// Snapshot State is Updating
	Snapshot_UPDATING Snapshot_State = 4
	// Snapshot State is Disabled
	Snapshot_DISABLED Snapshot_State = 5
	// Snapshot State is Error
	Snapshot_ERROR Snapshot_State = 6
)

func (Snapshot_State) Descriptor

func (Snapshot_State) Enum

func (x Snapshot_State) Enum() *Snapshot_State

func (Snapshot_State) EnumDescriptor deprecated

func (Snapshot_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Snapshot_State.Descriptor instead.

func (Snapshot_State) Number

func (Snapshot_State) String

func (x Snapshot_State) String() string

func (Snapshot_State) Type

type StopReplicationRequest

type StopReplicationRequest struct {

	// Required. The resource name of the replication, in the format of
	// projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Indicates whether to stop replication forcefully while data transfer is in
	// progress.
	// Warning! if force is true, this will abort any current transfers
	// and can lead to data loss due to partial transfer.
	// If force is false, stop replication will fail while data transfer is in
	// progress and you will need to retry later.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

StopReplicationRequest stops a replication until resumed.

func (*StopReplicationRequest) Descriptor deprecated

func (*StopReplicationRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead.

func (*StopReplicationRequest) GetForce

func (x *StopReplicationRequest) GetForce() bool

func (*StopReplicationRequest) GetName

func (x *StopReplicationRequest) GetName() string

func (*StopReplicationRequest) ProtoMessage

func (*StopReplicationRequest) ProtoMessage()

func (*StopReplicationRequest) ProtoReflect

func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message

func (*StopReplicationRequest) Reset

func (x *StopReplicationRequest) Reset()

func (*StopReplicationRequest) String

func (x *StopReplicationRequest) String() string

type StoragePool

type StoragePool struct {

	// Output only. Name of the storage pool
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Service level of the storage pool
	ServiceLevel ServiceLevel `` /* 139-byte string literal not displayed */
	// Required. Capacity in GIB of the pool
	CapacityGib int64 `protobuf:"varint,3,opt,name=capacity_gib,json=capacityGib,proto3" json:"capacity_gib,omitempty"`
	// Output only. Allocated size of all volumes in GIB in the storage pool
	VolumeCapacityGib int64 `protobuf:"varint,4,opt,name=volume_capacity_gib,json=volumeCapacityGib,proto3" json:"volume_capacity_gib,omitempty"`
	// Output only. Volume count of the storage pool
	VolumeCount int32 `protobuf:"varint,5,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
	// Output only. State of the storage pool
	State StoragePool_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.netapp.v1.StoragePool_State" json:"state,omitempty"`
	// Output only. State details of the storage pool
	StateDetails string `protobuf:"bytes,7,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
	// Output only. Create time of the storage pool
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Description of the storage pool
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// Labels as key value pairs
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Required. VPC Network name.
	// Format: projects/{project}/global/networks/{network}
	Network string `protobuf:"bytes,11,opt,name=network,proto3" json:"network,omitempty"`
	// Specifies the Active Directory to be used for creating a SMB volume.
	ActiveDirectory string `protobuf:"bytes,12,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
	// Specifies the KMS config to be used for volume encryption.
	KmsConfig string `protobuf:"bytes,13,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
	// Flag indicating if the pool is NFS LDAP enabled or not.
	LdapEnabled bool `protobuf:"varint,14,opt,name=ldap_enabled,json=ldapEnabled,proto3" json:"ldap_enabled,omitempty"`
	// Name of the Private Service Access allocated range. If
	// not provided, any available range will be chosen.
	PsaRange string `protobuf:"bytes,15,opt,name=psa_range,json=psaRange,proto3" json:"psa_range,omitempty"`
	// Output only. Specifies the current pool encryption key source.
	EncryptionType EncryptionType `` /* 148-byte string literal not displayed */
	// Optional. Allows SO pool to access AD or DNS server from other regions.
	GlobalAccessAllowed *bool `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.

func (*StoragePool) Descriptor deprecated

func (*StoragePool) Descriptor() ([]byte, []int)

Deprecated: Use StoragePool.ProtoReflect.Descriptor instead.

func (*StoragePool) GetActiveDirectory

func (x *StoragePool) GetActiveDirectory() string

func (*StoragePool) GetCapacityGib

func (x *StoragePool) GetCapacityGib() int64

func (*StoragePool) GetCreateTime

func (x *StoragePool) GetCreateTime() *timestamppb.Timestamp

func (*StoragePool) GetDescription

func (x *StoragePool) GetDescription() string

func (*StoragePool) GetEncryptionType

func (x *StoragePool) GetEncryptionType() EncryptionType

func (*StoragePool) GetGlobalAccessAllowed

func (x *StoragePool) GetGlobalAccessAllowed() bool

func (*StoragePool) GetKmsConfig

func (x *StoragePool) GetKmsConfig() string

func (*StoragePool) GetLabels

func (x *StoragePool) GetLabels() map[string]string

func (*StoragePool) GetLdapEnabled

func (x *StoragePool) GetLdapEnabled() bool

func (*StoragePool) GetName

func (x *StoragePool) GetName() string

func (*StoragePool) GetNetwork

func (x *StoragePool) GetNetwork() string

func (*StoragePool) GetPsaRange

func (x *StoragePool) GetPsaRange() string

func (*StoragePool) GetServiceLevel

func (x *StoragePool) GetServiceLevel() ServiceLevel

func (*StoragePool) GetState

func (x *StoragePool) GetState() StoragePool_State

func (*StoragePool) GetStateDetails

func (x *StoragePool) GetStateDetails() string

func (*StoragePool) GetVolumeCapacityGib

func (x *StoragePool) GetVolumeCapacityGib() int64

func (*StoragePool) GetVolumeCount

func (x *StoragePool) GetVolumeCount() int32

func (*StoragePool) ProtoMessage

func (*StoragePool) ProtoMessage()

func (*StoragePool) ProtoReflect

func (x *StoragePool) ProtoReflect() protoreflect.Message

func (*StoragePool) Reset

func (x *StoragePool) Reset()

func (*StoragePool) String

func (x *StoragePool) String() string

type StoragePool_State

type StoragePool_State int32

The Storage Pool States

const (
	// Unspecified Storage Pool State
	StoragePool_STATE_UNSPECIFIED StoragePool_State = 0
	// Storage Pool State is Ready
	StoragePool_READY StoragePool_State = 1
	// Storage Pool State is Creating
	StoragePool_CREATING StoragePool_State = 2
	// Storage Pool State is Deleting
	StoragePool_DELETING StoragePool_State = 3
	// Storage Pool State is Updating
	StoragePool_UPDATING StoragePool_State = 4
	// Storage Pool State is Restoring
	StoragePool_RESTORING StoragePool_State = 5
	// Storage Pool State is Disabled
	StoragePool_DISABLED StoragePool_State = 6
	// Storage Pool State is Error
	StoragePool_ERROR StoragePool_State = 7
)

func (StoragePool_State) Descriptor

func (StoragePool_State) Enum

func (StoragePool_State) EnumDescriptor deprecated

func (StoragePool_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use StoragePool_State.Descriptor instead.

func (StoragePool_State) Number

func (StoragePool_State) String

func (x StoragePool_State) String() string

func (StoragePool_State) Type

type TransferStats

type TransferStats struct {

	// bytes trasferred so far in current transfer.
	TransferBytes *int64 `protobuf:"varint,1,opt,name=transfer_bytes,json=transferBytes,proto3,oneof" json:"transfer_bytes,omitempty"`
	// Total time taken during transfer.
	TotalTransferDuration *durationpb.Duration `` /* 132-byte string literal not displayed */
	// Last transfer size in bytes.
	LastTransferBytes *int64 `protobuf:"varint,3,opt,name=last_transfer_bytes,json=lastTransferBytes,proto3,oneof" json:"last_transfer_bytes,omitempty"`
	// Time taken during last transfer.
	LastTransferDuration *durationpb.Duration `` /* 129-byte string literal not displayed */
	// Lag duration indicates the duration by which Destination region volume
	// content lags behind the primary region volume content.
	LagDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=lag_duration,json=lagDuration,proto3,oneof" json:"lag_duration,omitempty"`
	// Time when progress was updated last.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
	// Time when last transfer completed.
	LastTransferEndTime *timestamppb.Timestamp `` /* 128-byte string literal not displayed */
	// A message describing the cause of the last transfer failure.
	LastTransferError *string `protobuf:"bytes,8,opt,name=last_transfer_error,json=lastTransferError,proto3,oneof" json:"last_transfer_error,omitempty"`
	// contains filtered or unexported fields
}

TransferStats reports all statistics related to replication transfer.

func (*TransferStats) Descriptor deprecated

func (*TransferStats) Descriptor() ([]byte, []int)

Deprecated: Use TransferStats.ProtoReflect.Descriptor instead.

func (*TransferStats) GetLagDuration

func (x *TransferStats) GetLagDuration() *durationpb.Duration

func (*TransferStats) GetLastTransferBytes

func (x *TransferStats) GetLastTransferBytes() int64

func (*TransferStats) GetLastTransferDuration

func (x *TransferStats) GetLastTransferDuration() *durationpb.Duration

func (*TransferStats) GetLastTransferEndTime

func (x *TransferStats) GetLastTransferEndTime() *timestamppb.Timestamp

func (*TransferStats) GetLastTransferError

func (x *TransferStats) GetLastTransferError() string

func (*TransferStats) GetTotalTransferDuration

func (x *TransferStats) GetTotalTransferDuration() *durationpb.Duration

func (*TransferStats) GetTransferBytes

func (x *TransferStats) GetTransferBytes() int64

func (*TransferStats) GetUpdateTime

func (x *TransferStats) GetUpdateTime() *timestamppb.Timestamp

func (*TransferStats) ProtoMessage

func (*TransferStats) ProtoMessage()

func (*TransferStats) ProtoReflect

func (x *TransferStats) ProtoReflect() protoreflect.Message

func (*TransferStats) Reset

func (x *TransferStats) Reset()

func (*TransferStats) String

func (x *TransferStats) String() string

type UnimplementedNetAppServer

type UnimplementedNetAppServer struct {
}

UnimplementedNetAppServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetAppServer) CreateActiveDirectory

func (*UnimplementedNetAppServer) CreateKmsConfig

func (*UnimplementedNetAppServer) CreateReplication

func (*UnimplementedNetAppServer) CreateSnapshot

func (*UnimplementedNetAppServer) CreateStoragePool

func (*UnimplementedNetAppServer) CreateVolume

func (*UnimplementedNetAppServer) DeleteActiveDirectory

func (*UnimplementedNetAppServer) DeleteKmsConfig

func (*UnimplementedNetAppServer) DeleteReplication

func (*UnimplementedNetAppServer) DeleteSnapshot

func (*UnimplementedNetAppServer) DeleteStoragePool

func (*UnimplementedNetAppServer) DeleteVolume

func (*UnimplementedNetAppServer) EncryptVolumes

func (*UnimplementedNetAppServer) GetActiveDirectory

func (*UnimplementedNetAppServer) GetKmsConfig

func (*UnimplementedNetAppServer) GetReplication

func (*UnimplementedNetAppServer) GetSnapshot

func (*UnimplementedNetAppServer) GetStoragePool

func (*UnimplementedNetAppServer) GetVolume

func (*UnimplementedNetAppServer) ListKmsConfigs

func (*UnimplementedNetAppServer) ListReplications

func (*UnimplementedNetAppServer) ListSnapshots

func (*UnimplementedNetAppServer) ListStoragePools

func (*UnimplementedNetAppServer) ListVolumes

func (*UnimplementedNetAppServer) ResumeReplication

func (*UnimplementedNetAppServer) ReverseReplicationDirection

func (*UnimplementedNetAppServer) RevertVolume

func (*UnimplementedNetAppServer) StopReplication

func (*UnimplementedNetAppServer) UpdateActiveDirectory

func (*UnimplementedNetAppServer) UpdateKmsConfig

func (*UnimplementedNetAppServer) UpdateReplication

func (*UnimplementedNetAppServer) UpdateSnapshot

func (*UnimplementedNetAppServer) UpdateStoragePool

func (*UnimplementedNetAppServer) UpdateVolume

func (*UnimplementedNetAppServer) VerifyKmsConfig

type UpdateActiveDirectoryRequest

type UpdateActiveDirectoryRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// Active Directory resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The volume being updated
	ActiveDirectory *ActiveDirectory `protobuf:"bytes,2,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
	// contains filtered or unexported fields
}

UpdateActiveDirectoryRequest for updating an active directory.

func (*UpdateActiveDirectoryRequest) Descriptor deprecated

func (*UpdateActiveDirectoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateActiveDirectoryRequest.ProtoReflect.Descriptor instead.

func (*UpdateActiveDirectoryRequest) GetActiveDirectory

func (x *UpdateActiveDirectoryRequest) GetActiveDirectory() *ActiveDirectory

func (*UpdateActiveDirectoryRequest) GetUpdateMask

func (*UpdateActiveDirectoryRequest) ProtoMessage

func (*UpdateActiveDirectoryRequest) ProtoMessage()

func (*UpdateActiveDirectoryRequest) ProtoReflect

func (*UpdateActiveDirectoryRequest) Reset

func (x *UpdateActiveDirectoryRequest) Reset()

func (*UpdateActiveDirectoryRequest) String

type UpdateKmsConfigRequest

type UpdateKmsConfigRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// KmsConfig resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The KmsConfig being updated
	KmsConfig *KmsConfig `protobuf:"bytes,2,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
	// contains filtered or unexported fields
}

UpdateKmsConfigRequest updates a KMS Config.

func (*UpdateKmsConfigRequest) Descriptor deprecated

func (*UpdateKmsConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateKmsConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateKmsConfigRequest) GetKmsConfig

func (x *UpdateKmsConfigRequest) GetKmsConfig() *KmsConfig

func (*UpdateKmsConfigRequest) GetUpdateMask

func (x *UpdateKmsConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateKmsConfigRequest) ProtoMessage

func (*UpdateKmsConfigRequest) ProtoMessage()

func (*UpdateKmsConfigRequest) ProtoReflect

func (x *UpdateKmsConfigRequest) ProtoReflect() protoreflect.Message

func (*UpdateKmsConfigRequest) Reset

func (x *UpdateKmsConfigRequest) Reset()

func (*UpdateKmsConfigRequest) String

func (x *UpdateKmsConfigRequest) String() string

type UpdateReplicationRequest

type UpdateReplicationRequest struct {

	// Required. Mask of fields to update.  At least one path must be supplied in
	// this field.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. A replication resource
	Replication *Replication `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
	// contains filtered or unexported fields
}

UpdateReplicationRequest updates description and/or labels for a replication.

func (*UpdateReplicationRequest) Descriptor deprecated

func (*UpdateReplicationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateReplicationRequest.ProtoReflect.Descriptor instead.

func (*UpdateReplicationRequest) GetReplication

func (x *UpdateReplicationRequest) GetReplication() *Replication

func (*UpdateReplicationRequest) GetUpdateMask

func (x *UpdateReplicationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateReplicationRequest) ProtoMessage

func (*UpdateReplicationRequest) ProtoMessage()

func (*UpdateReplicationRequest) ProtoReflect

func (x *UpdateReplicationRequest) ProtoReflect() protoreflect.Message

func (*UpdateReplicationRequest) Reset

func (x *UpdateReplicationRequest) Reset()

func (*UpdateReplicationRequest) String

func (x *UpdateReplicationRequest) String() string

type UpdateSnapshotRequest

type UpdateSnapshotRequest struct {

	// Required. Mask of fields to update.  At least one path must be supplied in
	// this field.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. A snapshot resource
	Snapshot *Snapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

UpdateSnapshotRequest updates description and/or labels for a snapshot.

func (*UpdateSnapshotRequest) Descriptor deprecated

func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSnapshotRequest.ProtoReflect.Descriptor instead.

func (*UpdateSnapshotRequest) GetSnapshot

func (x *UpdateSnapshotRequest) GetSnapshot() *Snapshot

func (*UpdateSnapshotRequest) GetUpdateMask

func (x *UpdateSnapshotRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSnapshotRequest) ProtoMessage

func (*UpdateSnapshotRequest) ProtoMessage()

func (*UpdateSnapshotRequest) ProtoReflect

func (x *UpdateSnapshotRequest) ProtoReflect() protoreflect.Message

func (*UpdateSnapshotRequest) Reset

func (x *UpdateSnapshotRequest) Reset()

func (*UpdateSnapshotRequest) String

func (x *UpdateSnapshotRequest) String() string

type UpdateStoragePoolRequest

type UpdateStoragePoolRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// StoragePool resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The pool being updated
	StoragePool *StoragePool `protobuf:"bytes,2,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
	// contains filtered or unexported fields
}

UpdateStoragePoolRequest updates a Storage Pool.

func (*UpdateStoragePoolRequest) Descriptor deprecated

func (*UpdateStoragePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStoragePoolRequest.ProtoReflect.Descriptor instead.

func (*UpdateStoragePoolRequest) GetStoragePool

func (x *UpdateStoragePoolRequest) GetStoragePool() *StoragePool

func (*UpdateStoragePoolRequest) GetUpdateMask

func (x *UpdateStoragePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateStoragePoolRequest) ProtoMessage

func (*UpdateStoragePoolRequest) ProtoMessage()

func (*UpdateStoragePoolRequest) ProtoReflect

func (x *UpdateStoragePoolRequest) ProtoReflect() protoreflect.Message

func (*UpdateStoragePoolRequest) Reset

func (x *UpdateStoragePoolRequest) Reset()

func (*UpdateStoragePoolRequest) String

func (x *UpdateStoragePoolRequest) String() string

type UpdateVolumeRequest

type UpdateVolumeRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// Volume resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The volume being updated
	Volume *Volume `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a Volume

func (*UpdateVolumeRequest) Descriptor deprecated

func (*UpdateVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVolumeRequest.ProtoReflect.Descriptor instead.

func (*UpdateVolumeRequest) GetUpdateMask

func (x *UpdateVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateVolumeRequest) GetVolume

func (x *UpdateVolumeRequest) GetVolume() *Volume

func (*UpdateVolumeRequest) ProtoMessage

func (*UpdateVolumeRequest) ProtoMessage()

func (*UpdateVolumeRequest) ProtoReflect

func (x *UpdateVolumeRequest) ProtoReflect() protoreflect.Message

func (*UpdateVolumeRequest) Reset

func (x *UpdateVolumeRequest) Reset()

func (*UpdateVolumeRequest) String

func (x *UpdateVolumeRequest) String() string

type VerifyKmsConfigRequest

type VerifyKmsConfigRequest struct {

	// Required. Name of the KMS Config to be verified.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

VerifyKmsConfigRequest specifies the KMS config to be validated.

func (*VerifyKmsConfigRequest) Descriptor deprecated

func (*VerifyKmsConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyKmsConfigRequest.ProtoReflect.Descriptor instead.

func (*VerifyKmsConfigRequest) GetName

func (x *VerifyKmsConfigRequest) GetName() string

func (*VerifyKmsConfigRequest) ProtoMessage

func (*VerifyKmsConfigRequest) ProtoMessage()

func (*VerifyKmsConfigRequest) ProtoReflect

func (x *VerifyKmsConfigRequest) ProtoReflect() protoreflect.Message

func (*VerifyKmsConfigRequest) Reset

func (x *VerifyKmsConfigRequest) Reset()

func (*VerifyKmsConfigRequest) String

func (x *VerifyKmsConfigRequest) String() string

type VerifyKmsConfigResponse

type VerifyKmsConfigResponse struct {

	// Output only. If the customer key configured correctly to the encrypt
	// volume.
	Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
	// Output only. Error message if config is not healthy.
	HealthError string `protobuf:"bytes,2,opt,name=health_error,json=healthError,proto3" json:"health_error,omitempty"`
	// Output only. Instructions for the customers to provide the access to the
	// encryption key.
	Instructions string `protobuf:"bytes,3,opt,name=instructions,proto3" json:"instructions,omitempty"`
	// contains filtered or unexported fields
}

VerifyKmsConfigResponse contains the information if the config is correctly and error message.

func (*VerifyKmsConfigResponse) Descriptor deprecated

func (*VerifyKmsConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyKmsConfigResponse.ProtoReflect.Descriptor instead.

func (*VerifyKmsConfigResponse) GetHealthError

func (x *VerifyKmsConfigResponse) GetHealthError() string

func (*VerifyKmsConfigResponse) GetHealthy

func (x *VerifyKmsConfigResponse) GetHealthy() bool

func (*VerifyKmsConfigResponse) GetInstructions

func (x *VerifyKmsConfigResponse) GetInstructions() string

func (*VerifyKmsConfigResponse) ProtoMessage

func (*VerifyKmsConfigResponse) ProtoMessage()

func (*VerifyKmsConfigResponse) ProtoReflect

func (x *VerifyKmsConfigResponse) ProtoReflect() protoreflect.Message

func (*VerifyKmsConfigResponse) Reset

func (x *VerifyKmsConfigResponse) Reset()

func (*VerifyKmsConfigResponse) String

func (x *VerifyKmsConfigResponse) String() string

type Volume

type Volume struct {

	// Output only. Name of the volume
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. State of the volume
	State Volume_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Volume_State" json:"state,omitempty"`
	// Output only. State details of the volume
	StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
	// Output only. Create time of the volume
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Required. Share name of the volume
	ShareName string `protobuf:"bytes,5,opt,name=share_name,json=shareName,proto3" json:"share_name,omitempty"`
	// Output only. Name of the Private Service Access allocated range. This is
	// optional. If not provided, any available range will be chosen.
	PsaRange string `protobuf:"bytes,6,opt,name=psa_range,json=psaRange,proto3" json:"psa_range,omitempty"`
	// Required. StoragePool name of the volume
	StoragePool string `protobuf:"bytes,7,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
	// Output only. VPC Network name.
	// Format: projects/{project}/global/networks/{network}
	Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
	// Output only. Service level of the volume
	ServiceLevel ServiceLevel `` /* 139-byte string literal not displayed */
	// Required. Capacity in GIB of the volume
	CapacityGib int64 `protobuf:"varint,10,opt,name=capacity_gib,json=capacityGib,proto3" json:"capacity_gib,omitempty"`
	// Optional. Export policy of the volume
	ExportPolicy *ExportPolicy `protobuf:"bytes,11,opt,name=export_policy,json=exportPolicy,proto3" json:"export_policy,omitempty"`
	// Required. Protocols required for the volume
	Protocols []Protocols `protobuf:"varint,12,rep,packed,name=protocols,proto3,enum=google.cloud.netapp.v1.Protocols" json:"protocols,omitempty"`
	// Optional. SMB share settings for the volume.
	SmbSettings []SMBSettings `` /* 143-byte string literal not displayed */
	// Output only. Mount options of this volume
	MountOptions []*MountOption `protobuf:"bytes,14,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	// Optional. Default unix style permission (e.g. 777) the mount point will be
	// created with. Applicable for NFS protocol types only.
	UnixPermissions string `protobuf:"bytes,15,opt,name=unix_permissions,json=unixPermissions,proto3" json:"unix_permissions,omitempty"`
	// Optional. Labels as key value pairs
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Optional. Description of the volume
	Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. SnapshotPolicy for a volume.
	SnapshotPolicy *SnapshotPolicy `protobuf:"bytes,18,opt,name=snapshot_policy,json=snapshotPolicy,proto3" json:"snapshot_policy,omitempty"`
	// Optional. Snap_reserve specifies percentage of volume storage reserved for
	// snapshot storage. Default is 0 percent.
	SnapReserve float64 `protobuf:"fixed64,19,opt,name=snap_reserve,json=snapReserve,proto3" json:"snap_reserve,omitempty"`
	// Optional. Snapshot_directory if enabled (true) the volume will contain a
	// read-only .snapshot directory which provides access to each of the volume's
	// snapshots.
	SnapshotDirectory bool `protobuf:"varint,20,opt,name=snapshot_directory,json=snapshotDirectory,proto3" json:"snapshot_directory,omitempty"`
	// Output only. Used capacity in GIB of the volume. This is computed
	// periodically and it does not represent the realtime usage.
	UsedGib int64 `protobuf:"varint,21,opt,name=used_gib,json=usedGib,proto3" json:"used_gib,omitempty"`
	// Optional. Security Style of the Volume
	SecurityStyle SecurityStyle `` /* 144-byte string literal not displayed */
	// Optional. Flag indicating if the volume is a kerberos volume or not, export
	// policy rules control kerberos security modes (krb5, krb5i, krb5p).
	KerberosEnabled bool `protobuf:"varint,23,opt,name=kerberos_enabled,json=kerberosEnabled,proto3" json:"kerberos_enabled,omitempty"`
	// Output only. Flag indicating if the volume is NFS LDAP enabled or not.
	LdapEnabled bool `protobuf:"varint,24,opt,name=ldap_enabled,json=ldapEnabled,proto3" json:"ldap_enabled,omitempty"`
	// Output only. Specifies the ActiveDirectory name of a SMB volume.
	ActiveDirectory string `protobuf:"bytes,25,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
	// Optional. Specifies the source of the volume to be created from.
	RestoreParameters *RestoreParameters `protobuf:"bytes,26,opt,name=restore_parameters,json=restoreParameters,proto3" json:"restore_parameters,omitempty"`
	// Output only. Specifies the KMS config to be used for volume encryption.
	KmsConfig string `protobuf:"bytes,27,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
	// Output only. Specified the current volume encryption key source.
	EncryptionType EncryptionType `` /* 148-byte string literal not displayed */
	// Output only. Indicates whether the volume is part of a replication
	// relationship.
	HasReplication bool `protobuf:"varint,29,opt,name=has_replication,json=hasReplication,proto3" json:"has_replication,omitempty"`
	// Optional. List of actions that are restricted on this volume.
	RestrictedActions []RestrictedAction `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

Volume provides a filesystem that you can mount.

func (*Volume) Descriptor deprecated

func (*Volume) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetActiveDirectory

func (x *Volume) GetActiveDirectory() string

func (*Volume) GetCapacityGib

func (x *Volume) GetCapacityGib() int64

func (*Volume) GetCreateTime

func (x *Volume) GetCreateTime() *timestamppb.Timestamp

func (*Volume) GetDescription

func (x *Volume) GetDescription() string

func (*Volume) GetEncryptionType

func (x *Volume) GetEncryptionType() EncryptionType

func (*Volume) GetExportPolicy

func (x *Volume) GetExportPolicy() *ExportPolicy

func (*Volume) GetHasReplication

func (x *Volume) GetHasReplication() bool

func (*Volume) GetKerberosEnabled

func (x *Volume) GetKerberosEnabled() bool

func (*Volume) GetKmsConfig

func (x *Volume) GetKmsConfig() string

func (*Volume) GetLabels

func (x *Volume) GetLabels() map[string]string

func (*Volume) GetLdapEnabled

func (x *Volume) GetLdapEnabled() bool

func (*Volume) GetMountOptions

func (x *Volume) GetMountOptions() []*MountOption

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetNetwork

func (x *Volume) GetNetwork() string

func (*Volume) GetProtocols

func (x *Volume) GetProtocols() []Protocols

func (*Volume) GetPsaRange

func (x *Volume) GetPsaRange() string

func (*Volume) GetRestoreParameters

func (x *Volume) GetRestoreParameters() *RestoreParameters

func (*Volume) GetRestrictedActions added in v0.2.0

func (x *Volume) GetRestrictedActions() []RestrictedAction

func (*Volume) GetSecurityStyle

func (x *Volume) GetSecurityStyle() SecurityStyle

func (*Volume) GetServiceLevel

func (x *Volume) GetServiceLevel() ServiceLevel

func (*Volume) GetShareName

func (x *Volume) GetShareName() string

func (*Volume) GetSmbSettings

func (x *Volume) GetSmbSettings() []SMBSettings

func (*Volume) GetSnapReserve

func (x *Volume) GetSnapReserve() float64

func (*Volume) GetSnapshotDirectory

func (x *Volume) GetSnapshotDirectory() bool

func (*Volume) GetSnapshotPolicy

func (x *Volume) GetSnapshotPolicy() *SnapshotPolicy

func (*Volume) GetState

func (x *Volume) GetState() Volume_State

func (*Volume) GetStateDetails

func (x *Volume) GetStateDetails() string

func (*Volume) GetStoragePool

func (x *Volume) GetStoragePool() string

func (*Volume) GetUnixPermissions

func (x *Volume) GetUnixPermissions() string

func (*Volume) GetUsedGib

func (x *Volume) GetUsedGib() int64

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

func (x *Volume) ProtoReflect() protoreflect.Message

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

type Volume_State

type Volume_State int32

The volume states

const (
	// Unspecified Volume State
	Volume_STATE_UNSPECIFIED Volume_State = 0
	// Volume State is Ready
	Volume_READY Volume_State = 1
	// Volume State is Creating
	Volume_CREATING Volume_State = 2
	// Volume State is Deleting
	Volume_DELETING Volume_State = 3
	// Volume State is Updating
	Volume_UPDATING Volume_State = 4
	// Volume State is Restoring
	Volume_RESTORING Volume_State = 5
	// Volume State is Disabled
	Volume_DISABLED Volume_State = 6
	// Volume State is Error
	Volume_ERROR Volume_State = 7
)

func (Volume_State) Descriptor

func (Volume_State) Enum

func (x Volume_State) Enum() *Volume_State

func (Volume_State) EnumDescriptor deprecated

func (Volume_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Volume_State.Descriptor instead.

func (Volume_State) Number

func (Volume_State) String

func (x Volume_State) String() string

func (Volume_State) Type

type WeeklySchedule

type WeeklySchedule struct {

	// The maximum number of Snapshots to keep for the hourly schedule
	SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
	// Set the minute of the hour to start the snapshot (0-59), defaults to the
	// top of the hour (0).
	Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
	// Set the hour to start the snapshot (0-23), defaults to midnight (0).
	Hour *float64 `protobuf:"fixed64,3,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
	// Set the day or days of the week to make a snapshot. Accepts a comma
	// separated days of the week. Defaults to 'Sunday'.
	Day *string `protobuf:"bytes,4,opt,name=day,proto3,oneof" json:"day,omitempty"`
	// contains filtered or unexported fields
}

Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50

func (*WeeklySchedule) Descriptor deprecated

func (*WeeklySchedule) Descriptor() ([]byte, []int)

Deprecated: Use WeeklySchedule.ProtoReflect.Descriptor instead.

func (*WeeklySchedule) GetDay

func (x *WeeklySchedule) GetDay() string

func (*WeeklySchedule) GetHour

func (x *WeeklySchedule) GetHour() float64

func (*WeeklySchedule) GetMinute

func (x *WeeklySchedule) GetMinute() float64

func (*WeeklySchedule) GetSnapshotsToKeep

func (x *WeeklySchedule) GetSnapshotsToKeep() float64

func (*WeeklySchedule) ProtoMessage

func (*WeeklySchedule) ProtoMessage()

func (*WeeklySchedule) ProtoReflect

func (x *WeeklySchedule) ProtoReflect() protoreflect.Message

func (*WeeklySchedule) Reset

func (x *WeeklySchedule) Reset()

func (*WeeklySchedule) String

func (x *WeeklySchedule) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL