Package cloud.google.com/go/filestore/apiv1/filestorepb (v1.3.0)

Variables

NetworkConfig_AddressMode_name, NetworkConfig_AddressMode_value

  var 
  
 ( 
  
 NetworkConfig_AddressMode_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "ADDRESS_MODE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "MODE_IPV4" 
 , 
  
 } 
  
 NetworkConfig_AddressMode_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "ADDRESS_MODE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "MODE_IPV4" 
 : 
  
 1 
 , 
  
 } 
 ) 
 

Enum value maps for NetworkConfig_AddressMode.

NfsExportOptions_AccessMode_name, NfsExportOptions_AccessMode_value

  var 
  
 ( 
  
 NfsExportOptions_AccessMode_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "ACCESS_MODE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "READ_ONLY" 
 , 
  
 2 
 : 
  
 "READ_WRITE" 
 , 
  
 } 
  
 NfsExportOptions_AccessMode_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "ACCESS_MODE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "READ_ONLY" 
 : 
  
 1 
 , 
  
 "READ_WRITE" 
 : 
  
 2 
 , 
  
 } 
 ) 
 

Enum value maps for NfsExportOptions_AccessMode.

NfsExportOptions_SquashMode_name, NfsExportOptions_SquashMode_value

  var 
  
 ( 
  
 NfsExportOptions_SquashMode_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "SQUASH_MODE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "NO_ROOT_SQUASH" 
 , 
  
 2 
 : 
  
 "ROOT_SQUASH" 
 , 
  
 } 
  
 NfsExportOptions_SquashMode_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "SQUASH_MODE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "NO_ROOT_SQUASH" 
 : 
  
 1 
 , 
  
 "ROOT_SQUASH" 
 : 
  
 2 
 , 
  
 } 
 ) 
 

Enum value maps for NfsExportOptions_SquashMode.

Instance_State_name, Instance_State_value

  var 
  
 ( 
  
 Instance_State_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "STATE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "CREATING" 
 , 
  
 2 
 : 
  
 "READY" 
 , 
  
 3 
 : 
  
 "REPAIRING" 
 , 
  
 4 
 : 
  
 "DELETING" 
 , 
  
 6 
 : 
  
 "ERROR" 
 , 
  
 7 
 : 
  
 "RESTORING" 
 , 
  
 } 
  
 Instance_State_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "STATE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "CREATING" 
 : 
  
 1 
 , 
  
 "READY" 
 : 
  
 2 
 , 
  
 "REPAIRING" 
 : 
  
 3 
 , 
  
 "DELETING" 
 : 
  
 4 
 , 
  
 "ERROR" 
 : 
  
 6 
 , 
  
 "RESTORING" 
 : 
  
 7 
 , 
  
 } 
 ) 
 

Enum value maps for Instance_State.

Instance_Tier_name, Instance_Tier_value

  var 
  
 ( 
  
 Instance_Tier_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "TIER_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "STANDARD" 
 , 
  
 2 
 : 
  
 "PREMIUM" 
 , 
  
 3 
 : 
  
 "BASIC_HDD" 
 , 
  
 4 
 : 
  
 "BASIC_SSD" 
 , 
  
 5 
 : 
  
 "HIGH_SCALE_SSD" 
 , 
  
 } 
  
 Instance_Tier_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "TIER_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "STANDARD" 
 : 
  
 1 
 , 
  
 "PREMIUM" 
 : 
  
 2 
 , 
  
 "BASIC_HDD" 
 : 
  
 3 
 , 
  
 "BASIC_SSD" 
 : 
  
 4 
 , 
  
 "HIGH_SCALE_SSD" 
 : 
  
 5 
 , 
  
 } 
 ) 
 

Enum value maps for Instance_Tier.

Backup_State_name, Backup_State_value

  var 
  
 ( 
  
 Backup_State_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "STATE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "CREATING" 
 , 
  
 2 
 : 
  
 "FINALIZING" 
 , 
  
 3 
 : 
  
 "READY" 
 , 
  
 4 
 : 
  
 "DELETING" 
 , 
  
 } 
  
 Backup_State_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "STATE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "CREATING" 
 : 
  
 1 
 , 
  
 "FINALIZING" 
 : 
  
 2 
 , 
  
 "READY" 
 : 
  
 3 
 , 
  
 "DELETING" 
 : 
  
 4 
 , 
  
 } 
 ) 
 

Enum value maps for Backup_State.

File_google_cloud_filestore_v1_cloud_filestore_service_proto

  var 
  
 File_google_cloud_filestore_v1_cloud_filestore_service_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

Functions

func RegisterCloudFilestoreManagerServer

  func 
  
 RegisterCloudFilestoreManagerServer 
 ( 
 s 
  
 * 
  grpc 
 
 . 
  Server 
 
 , 
  
 srv 
  
  CloudFilestoreManagerServer 
 
 ) 
 

Backup

  type 
  
 Backup 
  
 struct 
  
 { 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 Description 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 
  
 State 
  
  Backup_State 
 
  
 `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.filestore.v1.Backup_State" json:"state,omitempty"` 
  
 CreateTime 
  
 * 
  timestamp 
 
 . 
  Timestamp 
 
  
 `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 
  
 Labels 
  
 map 
 [ 
  string 
 
 ] 
  string 
 
  
 "" 
  
 /* 153 byte string literal not displayed */ 
  
 CapacityGb 
  
  int64 
 
  
 `protobuf:"varint,6,opt,name=capacity_gb,json=capacityGb,proto3" json:"capacity_gb,omitempty"` 
  
 StorageBytes 
  
  int64 
 
  
 `protobuf:"varint,7,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` 
  
 SourceInstance 
  
  string 
 
  
 `protobuf:"bytes,8,opt,name=source_instance,json=sourceInstance,proto3" json:"source_instance,omitempty"` 
  
 SourceFileShare 
  
  string 
 
  
 `protobuf:"bytes,9,opt,name=source_file_share,json=sourceFileShare,proto3" json:"source_file_share,omitempty"` 
  
 SourceInstanceTier 
  
  Instance_Tier 
 
  
 "" 
  
 /* 164 byte string literal not displayed */ 
  
 DownloadBytes 
  
  int64 
 
  
 `protobuf:"varint,11,opt,name=download_bytes,json=downloadBytes,proto3" json:"download_bytes,omitempty"` 
  
 SatisfiesPzs 
  
 * 
  wrappers 
 
 . 
  BoolValue 
 
  
 `protobuf:"bytes,12,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` 
 } 
 

A Cloud Filestore backup.

func (*Backup) Descriptor

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCapacityGb

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetCapacityGb 
 () 
  
  int64 
 
 

func (*Backup) GetCreateTime

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetCreateTime 
 () 
  
 * 
  timestamp 
 
 . 
  Timestamp 
 
 

func (*Backup) GetDescription

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetDescription 
 () 
  
  string 
 
 

func (*Backup) GetDownloadBytes

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetDownloadBytes 
 () 
  
  int64 
 
 

func (*Backup) GetLabels

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

func (*Backup) GetName

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*Backup) GetSatisfiesPzs

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetSatisfiesPzs 
 () 
  
 * 
  wrappers 
 
 . 
  BoolValue 
 
 

func (*Backup) GetSourceFileShare

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetSourceFileShare 
 () 
  
  string 
 
 

func (*Backup) GetSourceInstance

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetSourceInstance 
 () 
  
  string 
 
 

func (*Backup) GetSourceInstanceTier

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetSourceInstanceTier 
 () 
  
  Instance_Tier 
 
 

func (*Backup) GetState

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetState 
 () 
  
  Backup_State 
 
 

func (*Backup) GetStorageBytes

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 GetStorageBytes 
 () 
  
  int64 
 
 

func (*Backup) ProtoMessage

  func 
  
 ( 
 * 
  Backup 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Backup) ProtoReflect

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

func (*Backup) Reset

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 Reset 
 () 
 

func (*Backup) String

  func 
  
 ( 
 x 
  
 * 
  Backup 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Backup_State

  type 
  
 Backup_State 
  
  int32 
 
 

The backup state.

Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_FINALIZING, Backup_READY, Backup_DELETING

  const 
  
 ( 
  
 // State not set. 
  
 Backup_STATE_UNSPECIFIED 
  
  Backup_State 
 
  
 = 
  
 0 
  
 // Backup is being created. 
  
 Backup_CREATING 
  
  Backup_State 
 
  
 = 
  
 1 
  
 // Backup has been taken and the operation is being finalized. At this 
  
 // point, changes to the file share will not be reflected in the backup. 
  
 Backup_FINALIZING 
  
  Backup_State 
 
  
 = 
  
 2 
  
 // Backup is available for use. 
  
 Backup_READY 
  
  Backup_State 
 
  
 = 
  
 3 
  
 // Backup is being deleted. 
  
 Backup_DELETING 
  
  Backup_State 
 
  
 = 
  
 4 
 ) 
 

func (Backup_State) Descriptor

func (Backup_State) Enum

  func 
  
 ( 
 x 
  
  Backup_State 
 
 ) 
  
 Enum 
 () 
  
 * 
  Backup_State 
 
 

func (Backup_State) EnumDescriptor

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

Deprecated: Use Backup_State.Descriptor instead.

func (Backup_State) Number

func (Backup_State) String

  func 
  
 ( 
 x 
  
  Backup_State 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (Backup_State) Type

CloudFilestoreManagerClient

  type 
  
 CloudFilestoreManagerClient 
  
 interface 
  
 { 
  
 // Lists all instances in a project for either a specified location 
  
 // or for all locations. 
  
 ListInstances 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  ListInstancesRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  ListInstancesResponse 
 
 , 
  
  error 
 
 ) 
  
 // Gets the details of a specific instance. 
  
 GetInstance 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  GetInstanceRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  Instance 
 
 , 
  
  error 
 
 ) 
  
 // Creates an instance. 
  
 // When creating from a backup, the capacity of the new instance needs to be 
  
 // equal to or larger than the capacity of the backup (and also equal to or 
  
 // larger than the minimum capacity of the tier). 
  
 CreateInstance 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  CreateInstanceRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Updates the settings of a specific instance. 
  
 UpdateInstance 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  UpdateInstanceRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Restores an existing instance's file share from a backup. 
  
 // 
  
 // The capacity of the instance needs to be equal to or larger than the 
  
 // capacity of the backup (and also equal to or larger than the minimum 
  
 // capacity of the tier). 
  
 RestoreInstance 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  RestoreInstanceRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Deletes an instance. 
  
 DeleteInstance 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  DeleteInstanceRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Lists all backups in a project for either a specified location or for all 
  
 // locations. 
  
 ListBackups 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  ListBackupsRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  ListBackupsResponse 
 
 , 
  
  error 
 
 ) 
  
 // Gets the details of a specific backup. 
  
 GetBackup 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  GetBackupRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  Backup 
 
 , 
  
  error 
 
 ) 
  
 // Creates a backup. 
  
 CreateBackup 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  CreateBackupRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Deletes a backup. 
  
 DeleteBackup 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  DeleteBackupRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Updates the settings of a specific backup. 
  
 UpdateBackup 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  UpdateBackupRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
 } 
 

CloudFilestoreManagerClient is the client API for CloudFilestoreManager service.

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

func NewCloudFilestoreManagerClient

  func 
  
 NewCloudFilestoreManagerClient 
 ( 
 cc 
  
  grpc 
 
 . 
  ClientConnInterface 
 
 ) 
  
  CloudFilestoreManagerClient 
 
 

CloudFilestoreManagerServer

  type 
  
 CloudFilestoreManagerServer 
  
 interface 
  
 { 
  
 // Lists all instances in a project for either a specified location 
  
 // or for all locations. 
  
 ListInstances 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 ( 
 * 
  ListInstancesResponse 
 
 , 
  
  error 
 
 ) 
  
 // Gets the details of a specific instance. 
  
 GetInstance 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  GetInstanceRequest 
 
 ) 
  
 ( 
 * 
  Instance 
 
 , 
  
  error 
 
 ) 
  
 // Creates an instance. 
  
 // When creating from a backup, the capacity of the new instance needs to be 
  
 // equal to or larger than the capacity of the backup (and also equal to or 
  
 // larger than the minimum capacity of the tier). 
  
 CreateInstance 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  CreateInstanceRequest 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Updates the settings of a specific instance. 
  
 UpdateInstance 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  UpdateInstanceRequest 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Restores an existing instance's file share from a backup. 
  
 // 
  
 // The capacity of the instance needs to be equal to or larger than the 
  
 // capacity of the backup (and also equal to or larger than the minimum 
  
 // capacity of the tier). 
  
 RestoreInstance 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  RestoreInstanceRequest 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Deletes an instance. 
  
 DeleteInstance 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  DeleteInstanceRequest 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Lists all backups in a project for either a specified location or for all 
  
 // locations. 
  
 ListBackups 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 ( 
 * 
  ListBackupsResponse 
 
 , 
  
  error 
 
 ) 
  
 // Gets the details of a specific backup. 
  
 GetBackup 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  GetBackupRequest 
 
 ) 
  
 ( 
 * 
  Backup 
 
 , 
  
  error 
 
 ) 
  
 // Creates a backup. 
  
 CreateBackup 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  CreateBackupRequest 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Deletes a backup. 
  
 DeleteBackup 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  DeleteBackupRequest 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
  
 // Updates the settings of a specific backup. 
  
 UpdateBackup 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  UpdateBackupRequest 
 
 ) 
  
 ( 
 * 
  longrunning 
 
 . 
  Operation 
 
 , 
  
  error 
 
 ) 
 } 
 

CloudFilestoreManagerServer is the server API for CloudFilestoreManager service.

CreateBackupRequest

  type 
  
 CreateBackupRequest 
  
 struct 
  
 { 
  
 // Required. The backup's project and location, in the format 
  
 // `projects/{project_number}/locations/{location}`. In Cloud Filestore, 
  
 // backup locations map to GCP regions, for example **us-west1**. 
  
 Parent 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 
  
 // Required. A [backup resource][google.cloud.filestore.v1.Backup] 
  
 Backup 
  
 * 
  Backup 
 
  
 `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"` 
  
 // Required. The ID to use for the backup. 
  
 // The ID must be unique within the specified project and location. 
  
 // 
  
 // This value must start with a lowercase letter followed by up to 62 
  
 // lowercase letters, numbers, or hyphens, and cannot end with a hyphen. 
  
 // Values that do not match this pattern will trigger an INVALID_ARGUMENT 
  
 // error. 
  
 BackupId 
  
  string 
 
  
 `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

CreateBackupRequest creates a backup.

func (*CreateBackupRequest) Descriptor

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

Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupRequest) GetBackup

  func 
  
 ( 
 x 
  
 * 
  CreateBackupRequest 
 
 ) 
  
 GetBackup 
 () 
  
 * 
  Backup 
 
 

func (*CreateBackupRequest) GetBackupId

  func 
  
 ( 
 x 
  
 * 
  CreateBackupRequest 
 
 ) 
  
 GetBackupId 
 () 
  
  string 
 
 

func (*CreateBackupRequest) GetParent

  func 
  
 ( 
 x 
  
 * 
  CreateBackupRequest 
 
 ) 
  
 GetParent 
 () 
  
  string 
 
 

func (*CreateBackupRequest) ProtoMessage

  func 
  
 ( 
 * 
  CreateBackupRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*CreateBackupRequest) ProtoReflect

func (*CreateBackupRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  CreateBackupRequest 
 
 ) 
  
 Reset 
 () 
 

func (*CreateBackupRequest) String

  func 
  
 ( 
 x 
  
 * 
  CreateBackupRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

CreateInstanceRequest

  type 
  
 CreateInstanceRequest 
  
 struct 
  
 { 
  
 // Required. The instance's project and location, in the format 
  
 // `projects/{project_id}/locations/{location}`. In Cloud Filestore, 
  
 // locations map to GCP zones, for example **us-west1-b**. 
  
 Parent 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 
  
 // Required. The name of the instance to create. 
  
 // The name must be unique for the specified project and location. 
  
 InstanceId 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` 
  
 // Required. An [instance resource][google.cloud.filestore.v1.Instance] 
  
 Instance 
  
 * 
  Instance 
 
  
 `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

CreateInstanceRequest creates an instance.

func (*CreateInstanceRequest) Descriptor

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

Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequest) GetInstance

  func 
  
 ( 
 x 
  
 * 
  CreateInstanceRequest 
 
 ) 
  
 GetInstance 
 () 
  
 * 
  Instance 
 
 

func (*CreateInstanceRequest) GetInstanceId

  func 
  
 ( 
 x 
  
 * 
  CreateInstanceRequest 
 
 ) 
  
 GetInstanceId 
 () 
  
  string 
 
 

func (*CreateInstanceRequest) GetParent

  func 
  
 ( 
 x 
  
 * 
  CreateInstanceRequest 
 
 ) 
  
 GetParent 
 () 
  
  string 
 
 

func (*CreateInstanceRequest) ProtoMessage

  func 
  
 ( 
 * 
  CreateInstanceRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*CreateInstanceRequest) ProtoReflect

func (*CreateInstanceRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  CreateInstanceRequest 
 
 ) 
  
 Reset 
 () 
 

func (*CreateInstanceRequest) String

  func 
  
 ( 
 x 
  
 * 
  CreateInstanceRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

DeleteBackupRequest

  type 
  
 DeleteBackupRequest 
  
 struct 
  
 { 
  
 // Required. The backup resource name, in the format 
  
 // `projects/{project_number}/locations/{location}/backups/{backup_id}` 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

DeleteBackupRequest deletes a backup.

func (*DeleteBackupRequest) Descriptor

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

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetName

  func 
  
 ( 
 x 
  
 * 
  DeleteBackupRequest 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*DeleteBackupRequest) ProtoMessage

  func 
  
 ( 
 * 
  DeleteBackupRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*DeleteBackupRequest) ProtoReflect

func (*DeleteBackupRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  DeleteBackupRequest 
 
 ) 
  
 Reset 
 () 
 

func (*DeleteBackupRequest) String

  func 
  
 ( 
 x 
  
 * 
  DeleteBackupRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

DeleteInstanceRequest

  type 
  
 DeleteInstanceRequest 
  
 struct 
  
 { 
  
 // Required. The instance resource name, in the format 
  
 // `projects/{project_id}/locations/{location}/instances/{instance_id}` 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

DeleteInstanceRequest deletes an instance.

func (*DeleteInstanceRequest) Descriptor

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

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetName

  func 
  
 ( 
 x 
  
 * 
  DeleteInstanceRequest 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*DeleteInstanceRequest) ProtoMessage

  func 
  
 ( 
 * 
  DeleteInstanceRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*DeleteInstanceRequest) ProtoReflect

func (*DeleteInstanceRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  DeleteInstanceRequest 
 
 ) 
  
 Reset 
 () 
 

func (*DeleteInstanceRequest) String

  func 
  
 ( 
 x 
  
 * 
  DeleteInstanceRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

FileShareConfig

  type 
  
 FileShareConfig 
  
 struct 
  
 { 
  
 // The name of the file share (must be 16 characters or less). 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // File share capacity in gigabytes (GB). 
  
 // Cloud Filestore defines 1 GB as 1024^3 bytes. 
  
 CapacityGb 
  
  int64 
 
  
 `protobuf:"varint,2,opt,name=capacity_gb,json=capacityGb,proto3" json:"capacity_gb,omitempty"` 
  
 // The source that this file share has been restored from. Empty if the file 
  
 // share is created from scratch. 
  
 // 
  
 // Types that are assignable to Source: 
  
 // 
  
 //	*FileShareConfig_SourceBackup 
  
 Source 
  
 isFileShareConfig_Source 
  
 `protobuf_oneof:"source"` 
  
 // Nfs Export Options. 
  
 // There is a limit of 10 export options per file share. 
  
 NfsExportOptions 
  
 [] 
 * 
  NfsExportOptions 
 
  
 `protobuf:"bytes,7,rep,name=nfs_export_options,json=nfsExportOptions,proto3" json:"nfs_export_options,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

File share configuration for the instance.

func (*FileShareConfig) Descriptor

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

Deprecated: Use FileShareConfig.ProtoReflect.Descriptor instead.

func (*FileShareConfig) GetCapacityGb

  func 
  
 ( 
 x 
  
 * 
  FileShareConfig 
 
 ) 
  
 GetCapacityGb 
 () 
  
  int64 
 
 

func (*FileShareConfig) GetName

  func 
  
 ( 
 x 
  
 * 
  FileShareConfig 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*FileShareConfig) GetNfsExportOptions

  func 
  
 ( 
 x 
  
 * 
  FileShareConfig 
 
 ) 
  
 GetNfsExportOptions 
 () 
  
 [] 
 * 
  NfsExportOptions 
 
 

func (*FileShareConfig) GetSource

  func 
  
 ( 
 m 
  
 * 
  FileShareConfig 
 
 ) 
  
 GetSource 
 () 
  
 isFileShareConfig_Source 
 

func (*FileShareConfig) GetSourceBackup

  func 
  
 ( 
 x 
  
 * 
  FileShareConfig 
 
 ) 
  
 GetSourceBackup 
 () 
  
  string 
 
 

func (*FileShareConfig) ProtoMessage

  func 
  
 ( 
 * 
  FileShareConfig 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*FileShareConfig) ProtoReflect

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

func (*FileShareConfig) Reset

  func 
  
 ( 
 x 
  
 * 
  FileShareConfig 
 
 ) 
  
 Reset 
 () 
 

func (*FileShareConfig) String

  func 
  
 ( 
 x 
  
 * 
  FileShareConfig 
 
 ) 
  
 String 
 () 
  
  string 
 
 

FileShareConfig_SourceBackup

  type 
  
 FileShareConfig_SourceBackup 
  
 struct 
  
 { 
  
 // The resource name of the backup, in the format 
  
 // `projects/{project_number}/locations/{location_id}/backups/{backup_id}`, 
  
 // that this file share has been restored from. 
  
 SourceBackup 
  
  string 
 
  
 `protobuf:"bytes,8,opt,name=source_backup,json=sourceBackup,proto3,oneof"` 
 } 
 

GetBackupRequest

  type 
  
 GetBackupRequest 
  
 struct 
  
 { 
  
 // Required. The backup resource name, in the format 
  
 // `projects/{project_number}/locations/{location}/backups/{backup_id}`. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

GetBackupRequest gets the state of a backup.

func (*GetBackupRequest) Descriptor

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

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetName

  func 
  
 ( 
 x 
  
 * 
  GetBackupRequest 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*GetBackupRequest) ProtoMessage

  func 
  
 ( 
 * 
  GetBackupRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*GetBackupRequest) ProtoReflect

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

func (*GetBackupRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  GetBackupRequest 
 
 ) 
  
 Reset 
 () 
 

func (*GetBackupRequest) String

  func 
  
 ( 
 x 
  
 * 
  GetBackupRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

GetInstanceRequest

  type 
  
 GetInstanceRequest 
  
 struct 
  
 { 
  
 // Required. The instance resource name, in the format 
  
 // `projects/{project_id}/locations/{location}/instances/{instance_id}`. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

GetInstanceRequest gets the state of an instance.

func (*GetInstanceRequest) Descriptor

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName

  func 
  
 ( 
 x 
  
 * 
  GetInstanceRequest 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*GetInstanceRequest) ProtoMessage

  func 
  
 ( 
 * 
  GetInstanceRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*GetInstanceRequest) ProtoReflect

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

func (*GetInstanceRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  GetInstanceRequest 
 
 ) 
  
 Reset 
 () 
 

func (*GetInstanceRequest) String

  func 
  
 ( 
 x 
  
 * 
  GetInstanceRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Instance

  type 
  
 Instance 
  
 struct 
  
 { 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 Description 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 
  
 State 
  
  Instance_State 
 
  
 `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.filestore.v1.Instance_State" json:"state,omitempty"` 
  
 StatusMessage 
  
  string 
 
  
 `protobuf:"bytes,6,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` 
  
 CreateTime 
  
 * 
  timestamp 
 
 . 
  Timestamp 
 
  
 `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 
  
 Tier 
  
  Instance_Tier 
 
  
 `protobuf:"varint,8,opt,name=tier,proto3,enum=google.cloud.filestore.v1.Instance_Tier" json:"tier,omitempty"` 
  
 Labels 
  
 map 
 [ 
  string 
 
 ] 
  string 
 
  
 "" 
  
 /* 153 byte string literal not displayed */ 
  
 FileShares 
  
 [] 
 * 
  FileShareConfig 
 
  
 `protobuf:"bytes,10,rep,name=file_shares,json=fileShares,proto3" json:"file_shares,omitempty"` 
  
 Networks 
  
 [] 
 * 
  NetworkConfig 
 
  
 `protobuf:"bytes,11,rep,name=networks,proto3" json:"networks,omitempty"` 
  
 Etag 
  
  string 
 
  
 `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"` 
  
 SatisfiesPzs 
  
 * 
  wrappers 
 
 . 
  BoolValue 
 
  
 `protobuf:"bytes,13,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` 
 } 
 

A Cloud Filestore instance.

func (*Instance) Descriptor

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreateTime

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetCreateTime 
 () 
  
 * 
  timestamp 
 
 . 
  Timestamp 
 
 

func (*Instance) GetDescription

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetDescription 
 () 
  
  string 
 
 

func (*Instance) GetEtag

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetEtag 
 () 
  
  string 
 
 

func (*Instance) GetFileShares

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetFileShares 
 () 
  
 [] 
 * 
  FileShareConfig 
 
 

func (*Instance) GetLabels

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

func (*Instance) GetName

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*Instance) GetNetworks

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetNetworks 
 () 
  
 [] 
 * 
  NetworkConfig 
 
 

func (*Instance) GetSatisfiesPzs

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetSatisfiesPzs 
 () 
  
 * 
  wrappers 
 
 . 
  BoolValue 
 
 

func (*Instance) GetState

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetState 
 () 
  
  Instance_State 
 
 

func (*Instance) GetStatusMessage

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetStatusMessage 
 () 
  
  string 
 
 

func (*Instance) GetTier

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 GetTier 
 () 
  
  Instance_Tier 
 
 

func (*Instance) ProtoMessage

  func 
  
 ( 
 * 
  Instance 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Instance) ProtoReflect

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

func (*Instance) Reset

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 Reset 
 () 
 

func (*Instance) String

  func 
  
 ( 
 x 
  
 * 
  Instance 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Instance_State

  type 
  
 Instance_State 
  
  int32 
 
 

The instance state.

Instance_STATE_UNSPECIFIED, Instance_CREATING, Instance_READY, Instance_REPAIRING, Instance_DELETING, Instance_ERROR, Instance_RESTORING

  const 
  
 ( 
  
 // State not set. 
  
 Instance_STATE_UNSPECIFIED 
  
  Instance_State 
 
  
 = 
  
 0 
  
 // The instance is being created. 
  
 Instance_CREATING 
  
  Instance_State 
 
  
 = 
  
 1 
  
 // The instance is available for use. 
  
 Instance_READY 
  
  Instance_State 
 
  
 = 
  
 2 
  
 // Work is being done on the instance. You can get further details from the 
  
 // `statusMessage` field of the `Instance` resource. 
  
 Instance_REPAIRING 
  
  Instance_State 
 
  
 = 
  
 3 
  
 // The instance is shutting down. 
  
 Instance_DELETING 
  
  Instance_State 
 
  
 = 
  
 4 
  
 // The instance is experiencing an issue and might be unusable. You can get 
  
 // further details from the `statusMessage` field of the `Instance` 
  
 // resource. 
  
 Instance_ERROR 
  
  Instance_State 
 
  
 = 
  
 6 
  
 // The instance is restoring a backup to an existing file share and may be 
  
 // unusable during this time. 
  
 Instance_RESTORING 
  
  Instance_State 
 
  
 = 
  
 7 
 ) 
 

func (Instance_State) Descriptor

func (Instance_State) Enum

func (Instance_State) EnumDescriptor

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

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number

func (Instance_State) String

  func 
  
 ( 
 x 
  
  Instance_State 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (Instance_State) Type

Instance_Tier

  type 
  
 Instance_Tier 
  
  int32 
 
 

Available service tiers.

Instance_TIER_UNSPECIFIED, Instance_STANDARD, Instance_PREMIUM, Instance_BASIC_HDD, Instance_BASIC_SSD, Instance_HIGH_SCALE_SSD

  const 
  
 ( 
  
 // Not set. 
  
 Instance_TIER_UNSPECIFIED 
  
  Instance_Tier 
 
  
 = 
  
 0 
  
 // STANDARD tier. 
  
 Instance_STANDARD 
  
  Instance_Tier 
 
  
 = 
  
 1 
  
 // PREMIUM tier. 
  
 Instance_PREMIUM 
  
  Instance_Tier 
 
  
 = 
  
 2 
  
 // BASIC instances offer a maximum capacity of 63.9 TB. 
  
 // BASIC_HDD is an alias for STANDARD Tier, offering economical 
  
 // performance backed by HDD. 
  
 Instance_BASIC_HDD 
  
  Instance_Tier 
 
  
 = 
  
 3 
  
 // BASIC instances offer a maximum capacity of 63.9 TB. 
  
 // BASIC_SSD is an alias for PREMIUM Tier, and offers improved 
  
 // performance backed by SSD. 
  
 Instance_BASIC_SSD 
  
  Instance_Tier 
 
  
 = 
  
 4 
  
 // HIGH_SCALE instances offer expanded capacity and performance scaling 
  
 // capabilities. 
  
 Instance_HIGH_SCALE_SSD 
  
  Instance_Tier 
 
  
 = 
  
 5 
 ) 
 

func (Instance_Tier) Descriptor

func (Instance_Tier) Enum

  func 
  
 ( 
 x 
  
  Instance_Tier 
 
 ) 
  
 Enum 
 () 
  
 * 
  Instance_Tier 
 
 

func (Instance_Tier) EnumDescriptor

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

Deprecated: Use Instance_Tier.Descriptor instead.

func (Instance_Tier) Number

func (Instance_Tier) String

  func 
  
 ( 
 x 
  
  Instance_Tier 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (Instance_Tier) Type

ListBackupsRequest

  type 
  
 ListBackupsRequest 
  
 struct 
  
 { 
  
 // Required. The project and location for which to retrieve backup 
  
 // information, in the format 
  
 // `projects/{project_number}/locations/{location}`. In Cloud Filestore, 
  
 // backup locations map to GCP regions, for example **us-west1**. To retrieve 
  
 // backup information for all locations, use "-" for the 
  
 // `{location}` 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 
 } 
 

ListBackupsRequest lists backups.

func (*ListBackupsRequest) Descriptor

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

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetFilter

  func 
  
 ( 
 x 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 GetFilter 
 () 
  
  string 
 
 

func (*ListBackupsRequest) GetOrderBy

  func 
  
 ( 
 x 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 GetOrderBy 
 () 
  
  string 
 
 

func (*ListBackupsRequest) GetPageSize

  func 
  
 ( 
 x 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 GetPageSize 
 () 
  
  int32 
 
 

func (*ListBackupsRequest) GetPageToken

  func 
  
 ( 
 x 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 GetPageToken 
 () 
  
  string 
 
 

func (*ListBackupsRequest) GetParent

  func 
  
 ( 
 x 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 GetParent 
 () 
  
  string 
 
 

func (*ListBackupsRequest) ProtoMessage

  func 
  
 ( 
 * 
  ListBackupsRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*ListBackupsRequest) ProtoReflect

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

func (*ListBackupsRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 Reset 
 () 
 

func (*ListBackupsRequest) String

  func 
  
 ( 
 x 
  
 * 
  ListBackupsRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

ListBackupsResponse

  type 
  
 ListBackupsResponse 
  
 struct 
  
 { 
  
 // A list of backups in the project for the specified location. 
  
 // 
  
 // If the `{location}` value in the request is "-", the response contains a 
  
 // list of backups from all locations. If any location is unreachable, the 
  
 // response will only return backups in reachable locations and the 
  
 // "unreachable" field will be populated with a list of unreachable 
  
 // locations. 
  
 Backups 
  
 [] 
 * 
  Backup 
 
  
 `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,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 
 } 
 

ListBackupsResponse is the result of ListBackupsRequest.

func (*ListBackupsResponse) Descriptor

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

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups

  func 
  
 ( 
 x 
  
 * 
  ListBackupsResponse 
 
 ) 
  
 GetBackups 
 () 
  
 [] 
 * 
  Backup 
 
 

func (*ListBackupsResponse) GetNextPageToken

  func 
  
 ( 
 x 
  
 * 
  ListBackupsResponse 
 
 ) 
  
 GetNextPageToken 
 () 
  
  string 
 
 

func (*ListBackupsResponse) GetUnreachable

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

func (*ListBackupsResponse) ProtoMessage

  func 
  
 ( 
 * 
  ListBackupsResponse 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*ListBackupsResponse) ProtoReflect

func (*ListBackupsResponse) Reset

  func 
  
 ( 
 x 
  
 * 
  ListBackupsResponse 
 
 ) 
  
 Reset 
 () 
 

func (*ListBackupsResponse) String

  func 
  
 ( 
 x 
  
 * 
  ListBackupsResponse 
 
 ) 
  
 String 
 () 
  
  string 
 
 

ListInstancesRequest

  type 
  
 ListInstancesRequest 
  
 struct 
  
 { 
  
 // Required. The project and location for which to retrieve instance 
  
 // information, in the format `projects/{project_id}/locations/{location}`. In 
  
 // Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To 
  
 // retrieve instance information for all locations, use "-" for the 
  
 // `{location}` 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 
 } 
 

ListInstancesRequest lists instances.

func (*ListInstancesRequest) Descriptor

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

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

  func 
  
 ( 
 x 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 GetFilter 
 () 
  
  string 
 
 

func (*ListInstancesRequest) GetOrderBy

  func 
  
 ( 
 x 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 GetOrderBy 
 () 
  
  string 
 
 

func (*ListInstancesRequest) GetPageSize

  func 
  
 ( 
 x 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 GetPageSize 
 () 
  
  int32 
 
 

func (*ListInstancesRequest) GetPageToken

  func 
  
 ( 
 x 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 GetPageToken 
 () 
  
  string 
 
 

func (*ListInstancesRequest) GetParent

  func 
  
 ( 
 x 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 GetParent 
 () 
  
  string 
 
 

func (*ListInstancesRequest) ProtoMessage

  func 
  
 ( 
 * 
  ListInstancesRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*ListInstancesRequest) ProtoReflect

func (*ListInstancesRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 Reset 
 () 
 

func (*ListInstancesRequest) String

  func 
  
 ( 
 x 
  
 * 
  ListInstancesRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

ListInstancesResponse

  type 
  
 ListInstancesResponse 
  
 struct 
  
 { 
  
 // A list of instances in the project for the specified location. 
  
 // 
  
 // If the `{location}` value in the request is "-", the response contains a 
  
 // list of instances from all locations. If any location is unreachable, the 
  
 // response will only return instances in reachable locations and the 
  
 // "unreachable" field will be populated with a list of unreachable locations. 
  
 Instances 
  
 [] 
 * 
  Instance 
 
  
 `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,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 
 } 
 

ListInstancesResponse is the result of ListInstancesRequest.

func (*ListInstancesResponse) Descriptor

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

Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstancesResponse) GetInstances

  func 
  
 ( 
 x 
  
 * 
  ListInstancesResponse 
 
 ) 
  
 GetInstances 
 () 
  
 [] 
 * 
  Instance 
 
 

func (*ListInstancesResponse) GetNextPageToken

  func 
  
 ( 
 x 
  
 * 
  ListInstancesResponse 
 
 ) 
  
 GetNextPageToken 
 () 
  
  string 
 
 

func (*ListInstancesResponse) GetUnreachable

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

func (*ListInstancesResponse) ProtoMessage

  func 
  
 ( 
 * 
  ListInstancesResponse 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*ListInstancesResponse) ProtoReflect

func (*ListInstancesResponse) Reset

  func 
  
 ( 
 x 
  
 * 
  ListInstancesResponse 
 
 ) 
  
 Reset 
 () 
 

func (*ListInstancesResponse) String

  func 
  
 ( 
 x 
  
 * 
  ListInstancesResponse 
 
 ) 
  
 String 
 () 
  
  string 
 
 

NetworkConfig

  type 
  
 NetworkConfig 
  
 struct 
  
 { 
  
 Network 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` 
  
 Modes 
  
 [] 
  NetworkConfig_AddressMode 
 
  
 "" 
  
 /* 128 byte string literal not displayed */ 
  
 ReservedIpRange 
  
  string 
 
  
 `protobuf:"bytes,4,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"` 
  
 IpAddresses 
  
 [] 
  string 
 
  
 `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"` 
 } 
 

Network configuration for the instance.

func (*NetworkConfig) Descriptor

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

Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.

func (*NetworkConfig) GetIpAddresses

  func 
  
 ( 
 x 
  
 * 
  NetworkConfig 
 
 ) 
  
 GetIpAddresses 
 () 
  
 [] 
  string 
 
 

func (*NetworkConfig) GetModes

func (*NetworkConfig) GetNetwork

  func 
  
 ( 
 x 
  
 * 
  NetworkConfig 
 
 ) 
  
 GetNetwork 
 () 
  
  string 
 
 

func (*NetworkConfig) GetReservedIpRange

  func 
  
 ( 
 x 
  
 * 
  NetworkConfig 
 
 ) 
  
 GetReservedIpRange 
 () 
  
  string 
 
 

func (*NetworkConfig) ProtoMessage

  func 
  
 ( 
 * 
  NetworkConfig 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*NetworkConfig) ProtoReflect

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

func (*NetworkConfig) Reset

  func 
  
 ( 
 x 
  
 * 
  NetworkConfig 
 
 ) 
  
 Reset 
 () 
 

func (*NetworkConfig) String

  func 
  
 ( 
 x 
  
 * 
  NetworkConfig 
 
 ) 
  
 String 
 () 
  
  string 
 
 

NetworkConfig_AddressMode

  type 
  
 NetworkConfig_AddressMode 
  
  int32 
 
 

Internet protocol versions supported by Cloud Filestore.

NetworkConfig_ADDRESS_MODE_UNSPECIFIED, NetworkConfig_MODE_IPV4

  const 
  
 ( 
  
 // Internet protocol not set. 
  
 NetworkConfig_ADDRESS_MODE_UNSPECIFIED 
  
  NetworkConfig_AddressMode 
 
  
 = 
  
 0 
  
 // Use the IPv4 internet protocol. 
  
 NetworkConfig_MODE_IPV4 
  
  NetworkConfig_AddressMode 
 
  
 = 
  
 1 
 ) 
 

func (NetworkConfig_AddressMode) Descriptor

func (NetworkConfig_AddressMode) Enum

func (NetworkConfig_AddressMode) EnumDescriptor

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

Deprecated: Use NetworkConfig_AddressMode.Descriptor instead.

func (NetworkConfig_AddressMode) Number

func (NetworkConfig_AddressMode) String

func (NetworkConfig_AddressMode) Type

NfsExportOptions

  type 
  
 NfsExportOptions 
  
 struct 
  
 { 
  
 IpRanges 
  
 [] 
  string 
 
  
 `protobuf:"bytes,1,rep,name=ip_ranges,json=ipRanges,proto3" json:"ip_ranges,omitempty"` 
  
 AccessMode 
  
  NfsExportOptions_AccessMode 
 
  
 "" 
  
 /* 151 byte string literal not displayed */ 
  
 SquashMode 
  
  NfsExportOptions_SquashMode 
 
  
 "" 
  
 /* 151 byte string literal not displayed */ 
  
 AnonUid 
  
  int64 
 
  
 `protobuf:"varint,4,opt,name=anon_uid,json=anonUid,proto3" json:"anon_uid,omitempty"` 
  
 AnonGid 
  
  int64 
 
  
 `protobuf:"varint,5,opt,name=anon_gid,json=anonGid,proto3" json:"anon_gid,omitempty"` 
 } 
 

NFS export options specifications.

func (*NfsExportOptions) Descriptor

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

Deprecated: Use NfsExportOptions.ProtoReflect.Descriptor instead.

func (*NfsExportOptions) GetAccessMode

func (*NfsExportOptions) GetAnonGid

  func 
  
 ( 
 x 
  
 * 
  NfsExportOptions 
 
 ) 
  
 GetAnonGid 
 () 
  
  int64 
 
 

func (*NfsExportOptions) GetAnonUid

  func 
  
 ( 
 x 
  
 * 
  NfsExportOptions 
 
 ) 
  
 GetAnonUid 
 () 
  
  int64 
 
 

func (*NfsExportOptions) GetIpRanges

  func 
  
 ( 
 x 
  
 * 
  NfsExportOptions 
 
 ) 
  
 GetIpRanges 
 () 
  
 [] 
  string 
 
 

func (*NfsExportOptions) GetSquashMode

func (*NfsExportOptions) ProtoMessage

  func 
  
 ( 
 * 
  NfsExportOptions 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*NfsExportOptions) ProtoReflect

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

func (*NfsExportOptions) Reset

  func 
  
 ( 
 x 
  
 * 
  NfsExportOptions 
 
 ) 
  
 Reset 
 () 
 

func (*NfsExportOptions) String

  func 
  
 ( 
 x 
  
 * 
  NfsExportOptions 
 
 ) 
  
 String 
 () 
  
  string 
 
 

NfsExportOptions_AccessMode

  type 
  
 NfsExportOptions_AccessMode 
  
  int32 
 
 

The access mode.

NfsExportOptions_ACCESS_MODE_UNSPECIFIED, NfsExportOptions_READ_ONLY, NfsExportOptions_READ_WRITE

  const 
  
 ( 
  
 // AccessMode not set. 
  
 NfsExportOptions_ACCESS_MODE_UNSPECIFIED 
  
  NfsExportOptions_AccessMode 
 
  
 = 
  
 0 
  
 // The client can only read the file share. 
  
 NfsExportOptions_READ_ONLY 
  
  NfsExportOptions_AccessMode 
 
  
 = 
  
 1 
  
 // The client can read and write the file share (default). 
  
 NfsExportOptions_READ_WRITE 
  
  NfsExportOptions_AccessMode 
 
  
 = 
  
 2 
 ) 
 

func (NfsExportOptions_AccessMode) Descriptor

func (NfsExportOptions_AccessMode) Enum

func (NfsExportOptions_AccessMode) EnumDescriptor

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

Deprecated: Use NfsExportOptions_AccessMode.Descriptor instead.

func (NfsExportOptions_AccessMode) Number

func (NfsExportOptions_AccessMode) String

func (NfsExportOptions_AccessMode) Type

NfsExportOptions_SquashMode

  type 
  
 NfsExportOptions_SquashMode 
  
  int32 
 
 

The squash mode.

NfsExportOptions_SQUASH_MODE_UNSPECIFIED, NfsExportOptions_NO_ROOT_SQUASH, NfsExportOptions_ROOT_SQUASH

  const 
  
 ( 
  
 // SquashMode not set. 
  
 NfsExportOptions_SQUASH_MODE_UNSPECIFIED 
  
  NfsExportOptions_SquashMode 
 
  
 = 
  
 0 
  
 // The Root user has root access to the file share (default). 
  
 NfsExportOptions_NO_ROOT_SQUASH 
  
  NfsExportOptions_SquashMode 
 
  
 = 
  
 1 
  
 // The Root user has squashed access to the anonymous uid/gid. 
  
 NfsExportOptions_ROOT_SQUASH 
  
  NfsExportOptions_SquashMode 
 
  
 = 
  
 2 
 ) 
 

func (NfsExportOptions_SquashMode) Descriptor

func (NfsExportOptions_SquashMode) Enum

func (NfsExportOptions_SquashMode) EnumDescriptor

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

Deprecated: Use NfsExportOptions_SquashMode.Descriptor instead.

func (NfsExportOptions_SquashMode) Number

func (NfsExportOptions_SquashMode) String

func (NfsExportOptions_SquashMode) Type

RestoreInstanceRequest

  type 
  
 RestoreInstanceRequest 
  
 struct 
  
 { 
  
 // Required. The resource name of the instance, in the format 
  
 // `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // Required. Name of the file share in the Cloud Filestore instance that the 
  
 // backup is being restored to. 
  
 FileShare 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=file_share,json=fileShare,proto3" json:"file_share,omitempty"` 
  
 // Types that are assignable to Source: 
  
 // 
  
 //	*RestoreInstanceRequest_SourceBackup 
  
 Source 
  
 isRestoreInstanceRequest_Source 
  
 `protobuf_oneof:"source"` 
  
 // contains filtered or unexported fields 
 } 
 

RestoreInstanceRequest restores an existing instances's file share from a backup.

func (*RestoreInstanceRequest) Descriptor

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

Deprecated: Use RestoreInstanceRequest.ProtoReflect.Descriptor instead.

func (*RestoreInstanceRequest) GetFileShare

  func 
  
 ( 
 x 
  
 * 
  RestoreInstanceRequest 
 
 ) 
  
 GetFileShare 
 () 
  
  string 
 
 

func (*RestoreInstanceRequest) GetName

  func 
  
 ( 
 x 
  
 * 
  RestoreInstanceRequest 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*RestoreInstanceRequest) GetSource

  func 
  
 ( 
 m 
  
 * 
  RestoreInstanceRequest 
 
 ) 
  
 GetSource 
 () 
  
 isRestoreInstanceRequest_Source 
 

func (*RestoreInstanceRequest) GetSourceBackup

  func 
  
 ( 
 x 
  
 * 
  RestoreInstanceRequest 
 
 ) 
  
 GetSourceBackup 
 () 
  
  string 
 
 

func (*RestoreInstanceRequest) ProtoMessage

  func 
  
 ( 
 * 
  RestoreInstanceRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RestoreInstanceRequest) ProtoReflect

func (*RestoreInstanceRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  RestoreInstanceRequest 
 
 ) 
  
 Reset 
 () 
 

func (*RestoreInstanceRequest) String

  func 
  
 ( 
 x 
  
 * 
  RestoreInstanceRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RestoreInstanceRequest_SourceBackup

  type 
  
 RestoreInstanceRequest_SourceBackup 
  
 struct 
  
 { 
  
 // The resource name of the backup, in the format 
  
 // `projects/{project_number}/locations/{location_id}/backups/{backup_id}`. 
  
 SourceBackup 
  
  string 
 
  
 `protobuf:"bytes,3,opt,name=source_backup,json=sourceBackup,proto3,oneof"` 
 } 
 

UnimplementedCloudFilestoreManagerServer

  type 
  
 UnimplementedCloudFilestoreManagerServer 
  
 struct 
  
 { 
 } 
 

UnimplementedCloudFilestoreManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudFilestoreManagerServer) CreateBackup

func (*UnimplementedCloudFilestoreManagerServer) CreateInstance

func (*UnimplementedCloudFilestoreManagerServer) DeleteBackup

func (*UnimplementedCloudFilestoreManagerServer) DeleteInstance

func (*UnimplementedCloudFilestoreManagerServer) GetBackup

func (*UnimplementedCloudFilestoreManagerServer) GetInstance

func (*UnimplementedCloudFilestoreManagerServer) ListBackups

func (*UnimplementedCloudFilestoreManagerServer) ListInstances

func (*UnimplementedCloudFilestoreManagerServer) RestoreInstance

func (*UnimplementedCloudFilestoreManagerServer) UpdateBackup

func (*UnimplementedCloudFilestoreManagerServer) UpdateInstance

UpdateBackupRequest

  type 
  
 UpdateBackupRequest 
  
 struct 
  
 { 
  
 // Required. A [backup resource][google.cloud.filestore.v1.Backup] 
  
 Backup 
  
 * 
  Backup 
 
  
 `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"` 
  
 // Required. Mask of fields to update.  At least one path must be supplied in 
  
 // this field. 
  
 UpdateMask 
  
 * 
  field_mask 
 
 . 
  FieldMask 
 
  
 `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

UpdateBackupRequest updates description and/or labels for a backup.

func (*UpdateBackupRequest) Descriptor

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

Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.

func (*UpdateBackupRequest) GetBackup

  func 
  
 ( 
 x 
  
 * 
  UpdateBackupRequest 
 
 ) 
  
 GetBackup 
 () 
  
 * 
  Backup 
 
 

func (*UpdateBackupRequest) GetUpdateMask

  func 
  
 ( 
 x 
  
 * 
  UpdateBackupRequest 
 
 ) 
  
 GetUpdateMask 
 () 
  
 * 
  field_mask 
 
 . 
  FieldMask 
 
 

func (*UpdateBackupRequest) ProtoMessage

  func 
  
 ( 
 * 
  UpdateBackupRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*UpdateBackupRequest) ProtoReflect

func (*UpdateBackupRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  UpdateBackupRequest 
 
 ) 
  
 Reset 
 () 
 

func (*UpdateBackupRequest) String

  func 
  
 ( 
 x 
  
 * 
  UpdateBackupRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

UpdateInstanceRequest

  type 
  
 UpdateInstanceRequest 
  
 struct 
  
 { 
  
 // Mask of fields to update.  At least one path must be supplied in this 
  
 // field.  The elements of the repeated paths field may only include these 
  
 // fields: 
  
 // 
  
 // * "description" 
  
 // * "file_shares" 
  
 // * "labels" 
  
 UpdateMask 
  
 * 
  field_mask 
 
 . 
  FieldMask 
 
  
 `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 
  
 // Only fields specified in update_mask are updated. 
  
 Instance 
  
 * 
  Instance 
 
  
 `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

UpdateInstanceRequest updates the settings of an instance.

func (*UpdateInstanceRequest) Descriptor

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

Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceRequest) GetInstance

  func 
  
 ( 
 x 
  
 * 
  UpdateInstanceRequest 
 
 ) 
  
 GetInstance 
 () 
  
 * 
  Instance 
 
 

func (*UpdateInstanceRequest) GetUpdateMask

  func 
  
 ( 
 x 
  
 * 
  UpdateInstanceRequest 
 
 ) 
  
 GetUpdateMask 
 () 
  
 * 
  field_mask 
 
 . 
  FieldMask 
 
 

func (*UpdateInstanceRequest) ProtoMessage

  func 
  
 ( 
 * 
  UpdateInstanceRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*UpdateInstanceRequest) ProtoReflect

func (*UpdateInstanceRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  UpdateInstanceRequest 
 
 ) 
  
 Reset 
 () 
 

func (*UpdateInstanceRequest) String

  func 
  
 ( 
 x 
  
 * 
  UpdateInstanceRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 
Design a Mobile Site
View Site in Mobile | Classic
Share by: