Service Client: Google::Cloud::Filestore::V1beta1::CloudFilestoreService::CloudFilestoreManagerClient

Client stub representing the remote CloudFilestoreManager gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to filestore.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Filestore::V1beta1::CloudFilestoreService - Compiled Protocol Buffers messages for google/cloud/filestore/v1beta1/cloud_filestore_service.proto

SYNOPSIS

use Google::Cloud::Filestore::V1beta1::CloudFilestoreService;

my $msg = Google::Cloud::Filestore::V1beta1::CloudFilestoreService::NetworkConfig->new({
    network => $network,
    modes => $modes,
    reserved_ip_range => $reserved_ip_range,
    ip_addresses => $ip_addresses,
});

# Read or update a field
my $val = $msg->network();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Filestore::V1beta1::CloudFilestoreService::NetworkConfig->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/filestore/v1beta1/cloud_filestore_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::NetworkConfig

Network configuration for the instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.

  • $msg->modes() / $msg->modes($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::NetworkConfig::AddressMode)

    Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

  • $msg->reserved_ip_range() / $msg->reserved_ip_range($value)

    Type: String

    Optional, reserved_ip_range can have one of the following two types of values.

    * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode.

    When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.

  • $msg->ip_addresses() / $msg->ip_addresses($value)

    Type: String

    Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.

  • $msg->connect_mode() / $msg->connect_mode($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::NetworkConfig::ConnectMode)

    The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.

Enum: NetworkConfig::AddressMode

  • ADDRESS_MODE_UNSPECIFIED => 0

  • MODE_IPV4 => 1

Enum: NetworkConfig::ConnectMode

  • CONNECT_MODE_UNSPECIFIED => 0

  • DIRECT_PEERING => 1

  • PRIVATE_SERVICE_ACCESS => 2

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::FileShareConfig

File share configuration for the instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers. Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must start with a letter. Immutable.

  • $msg->capacity_gb() / $msg->capacity_gb($value)

    Type: Int64

    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.

  • $msg->source_backup() / $msg->source_backup($value)

    Type: String

    The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that this file share has been restored from.

  • $msg->nfs_export_options() / $msg->nfs_export_options($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::NfsExportOptions)

    Nfs Export Options. There is a limit of 10 export options per file share.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::NfsExportOptions

NFS export options specifications.

Inherits from Protobuf::Message.

Accessors

  • $msg->ip_ranges() / $msg->ip_ranges($value)

    Type: String

    List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.

  • $msg->access_mode() / $msg->access_mode($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::NfsExportOptions::AccessMode)

    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.

  • $msg->squash_mode() / $msg->squash_mode($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::NfsExportOptions::SquashMode)

    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.

  • $msg->anon_uid() / $msg->anon_uid($value)

    Type: Int64

    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.

  • $msg->anon_gid() / $msg->anon_gid($value)

    Type: Int64

    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.

  • $msg->security_flavors() / $msg->security_flavors($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::NfsExportOptions::SecurityFlavor)

    The security flavors allowed for mount operations. The default is AUTH_SYS.

Enum: NfsExportOptions::AccessMode

  • ACCESS_MODE_UNSPECIFIED => 0

  • READ_ONLY => 1

  • READ_WRITE => 2

Enum: NfsExportOptions::SquashMode

  • SQUASH_MODE_UNSPECIFIED => 0

  • NO_ROOT_SQUASH => 1

  • ROOT_SQUASH => 2

Enum: NfsExportOptions::SecurityFlavor

  • SECURITY_FLAVOR_UNSPECIFIED => 0

  • AUTH_SYS => 1

  • KRB5 => 2

  • KRB5I => 3

  • KRB5P => 4

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ManagedActiveDirectoryConfig

ManagedActiveDirectoryConfig contains all the parameters for connecting to Managed Service for Microsoft Active Directory (Managed Microsoft AD).

Inherits from Protobuf::Message.

Accessors

  • $msg->domain() / $msg->domain($value)

    Type: String

    Required. The domain resource name, in the format `projects/{project_id}/locations/global/domains/{domain}`.

  • $msg->computer() / $msg->computer($value)

    Type: String

    Required. The computer name is used as a prefix in the command to mount the remote target. For example: if the computer is `my-computer`, the mount command will look like: `$mount -o vers=4.1,sec=krb5 my-computer.filestore.<domain>:<share> <mount point>`.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::DirectoryServicesConfig

Directory Services configuration for Kerberos-based authentication.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ReplicaConfig

Replica configuration for the instance.

Inherits from Protobuf::Message.

Accessors

Enum: ReplicaConfig::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 3

  • REMOVING => 4

  • FAILED => 5

Enum: ReplicaConfig::StateReason

  • STATE_REASON_UNSPECIFIED => 0

  • PEER_INSTANCE_UNREACHABLE => 1

  • REMOVE_FAILED => 2

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Replication

Replication specifications.

Inherits from Protobuf::Message.

Accessors

Enum: Replication::Role

  • ROLE_UNSPECIFIED => 0

  • ACTIVE => 1

  • STANDBY => 2

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance

A Filestore instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.

  • $msg->description() / $msg->description($value)

    Type: String

    The description of the instance (2048 characters or less).

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Instance::State)

    Output only. The instance state.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Additional information about the instance state, if available.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the instance was created.

  • $msg->tier() / $msg->tier($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Instance::Tier)

    The service tier of the instance.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance::LabelsEntry)

    Resource labels to represent user provided metadata.

  • $msg->file_shares() / $msg->file_shares($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::FileShareConfig)

    File system shares on the instance. For this version, only a single file share is supported.

  • $msg->networks() / $msg->networks($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::NetworkConfig)

    VPC networks to which the instance is connected. For this version, only a single network is supported.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Output only. Reserved for future use.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->kms_key_name() / $msg->kms_key_name($value)

    Type: String

    KMS key name used for data encryption.

  • $msg->suspension_reasons() / $msg->suspension_reasons($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Instance::SuspensionReason)

    Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.

  • $msg->max_capacity_gb() / $msg->max_capacity_gb($value)

    Type: Int64

    Output only. The max capacity of the instance.

  • $msg->capacity_step_size_gb() / $msg->capacity_step_size_gb($value)

    Type: Int64

    Output only. The increase/decrease capacity step size.

  • $msg->max_share_count() / $msg->max_share_count($value)

    Type: Int64

    The max number of shares allowed.

  • $msg->capacity_gb() / $msg->capacity_gb($value)

    Type: Int64

    The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This capacity can be increased up to `max_capacity_gb` GB in multipliers of `capacity_step_size_gb` GB.

  • $msg->multi_share_enabled() / $msg->multi_share_enabled($value)

    Type: Bool

    Indicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all. File-shares are added, updated and removed through the separate file-share APIs.

  • $msg->protocol() / $msg->protocol($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Instance::FileProtocol)

    Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`.

  • $msg->directory_services() / $msg->directory_services($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::DirectoryServicesConfig)

    Optional. Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".

  • $msg->replication() / $msg->replication($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Replication)

    Optional. Replication configuration.

  • $msg->tags() / $msg->tags($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance::TagsEntry)

    Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value

  • $msg->custom_performance_supported() / $msg->custom_performance_supported($value)

    Type: Bool

    Output only. Indicates whether this instance supports configuring its performance. If true, the user can configure the instance's performance by using the 'performance_config' field.

  • $msg->performance_config() / $msg->performance_config($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance::PerformanceConfig)

    Optional. Used to configure performance.

  • $msg->performance_limits() / $msg->performance_limits($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance::PerformanceLimits)

    Output only. Used for getting performance limits.

  • $msg->deletion_protection_enabled() / $msg->deletion_protection_enabled($value)

    Type: Bool

    Optional. Indicates whether the instance is protected against deletion.

  • $msg->deletion_protection_reason() / $msg->deletion_protection_reason($value)

    Type: String

    Optional. The reason for enabling deletion protection.

Enum: Instance::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • REPAIRING => 3

  • DELETING => 4

  • ERROR => 6

  • RESTORING => 7

  • SUSPENDED => 8

  • REVERTING => 9

  • SUSPENDING => 10

  • RESUMING => 11

  • PROMOTING => 13

Enum: Instance::Tier

  • TIER_UNSPECIFIED => 0

  • STANDARD => 1

  • PREMIUM => 2

  • BASIC_HDD => 3

  • BASIC_SSD => 4

  • HIGH_SCALE_SSD => 6

  • ENTERPRISE => 7

  • ZONAL => 8

  • REGIONAL => 9

Enum: Instance::SuspensionReason

  • SUSPENSION_REASON_UNSPECIFIED => 0

  • KMS_KEY_ISSUE => 1

Enum: Instance::FileProtocol

  • FILE_PROTOCOL_UNSPECIFIED => 0

  • NFS_V3 => 1

  • NFS_V4_1 => 2

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::CreateInstanceRequest

CreateInstanceRequest creates an instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to Google Cloud zones, for example us-west1-b.

  • $msg->instance_id() / $msg->instance_id($value)

    Type: String

    Required. The ID of the instance to create. 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.

  • $msg->instance() / $msg->instance($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance)

    Required. An [instance resource][google.cloud.filestore.v1beta1.Instance]

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::GetInstanceRequest

GetInstanceRequest gets the state of an instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The instance resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::UpdateInstanceRequest

UpdateInstanceRequest updates the settings of an instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. 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" * "directory_services" * "file_shares" * "labels" * "performance_config" * "deletion_protection_enabled" * "deletion_protection_reason"

  • $msg->instance() / $msg->instance($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance)

    Required. Only fields specified in update_mask are updated.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::RestoreInstanceRequest

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

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.

  • $msg->file_share() / $msg->file_share($value)

    Type: String

    Required. Name of the file share in the Filestore instance that the backup is being restored to.

  • $msg->source_snapshot() / $msg->source_snapshot($value)

    Type: String

    The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`.

  • $msg->source_backup() / $msg->source_backup($value)

    Type: String

    The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::RevertInstanceRequest

RevertInstanceRequest reverts the given instance's file share to the specified snapshot.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.

  • $msg->target_snapshot_id() / $msg->target_snapshot_id($value)

    Type: String

    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}/instances/{instance_id}/snapshots/{snapshot_id}`

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::DeleteInstanceRequest

DeleteInstanceRequest deletes an instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The instance resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`

  • $msg->force() / $msg->force($value)

    Type: Bool

    If set to true, any snapshots of the instance will also be deleted. (Otherwise, the request will only work if the instance has no snapshots.)

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListInstancesRequest

ListInstancesRequest lists instances.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    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 Google Cloud zones, for example us-west1-b. To retrieve instance information for all locations, use "-" for the `{location}` value.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value to use if there are additional results to retrieve for this list request.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort results. Supported values are "name", "name desc" or "" (unsorted).

  • $msg->filter() / $msg->filter($value)

    Type: String

    List filter.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListInstancesResponse

ListInstancesResponse is the result of ListInstancesRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->instances() / $msg->instances($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Instance)

    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.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::PromoteReplicaRequest

PromoteReplicaRequest promotes a Filestore standby instance (replica).

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.

  • $msg->peer_instance() / $msg->peer_instance($value)

    Type: String

    Optional. The resource name of the peer instance to promote, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is required if the operation is called on an active instance.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Snapshot

A Filestore snapshot.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.

  • $msg->description() / $msg->description($value)

    Type: String

    A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Snapshot::State)

    Output only. The snapshot state.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the snapshot was created.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Snapshot::LabelsEntry)

    Resource labels to represent user provided metadata.

  • $msg->filesystem_used_bytes() / $msg->filesystem_used_bytes($value)

    Type: Int64

    Output only. The amount of bytes needed to allocate a full copy of the snapshot content

  • $msg->tags() / $msg->tags($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Snapshot::TagsEntry)

    Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value

Enum: Snapshot::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 3

  • DELETING => 4

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::CreateSnapshotRequest

CreateSnapshotRequest creates a snapshot.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The Filestore Instance to create the snapshots of, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`

  • $msg->snapshot_id() / $msg->snapshot_id($value)

    Type: String

    Required. The ID to use for the snapshot. The ID must be unique within the specified instance.

    This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

  • $msg->snapshot() / $msg->snapshot($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Snapshot)

    Required. A snapshot resource

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::GetSnapshotRequest

GetSnapshotRequest gets the state of a snapshot.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The snapshot resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}`

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::DeleteSnapshotRequest

DeleteSnapshotRequest deletes a snapshot.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The snapshot resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}`

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::UpdateSnapshotRequest

UpdateSnapshotRequest updates description and/or labels for a snapshot.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListSnapshotsRequest

ListSnapshotsRequest lists snapshots.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The instance for which to retrieve snapshot information, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value to use if there are additional results to retrieve for this list request.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort results. Supported values are "name", "name desc" or "" (unsorted).

  • $msg->filter() / $msg->filter($value)

    Type: String

    List filter.

  • $msg->return_partial_success() / $msg->return_partial_success($value)

    Type: Bool

    Optional. If true, allow partial responses for multi-regional Aggregated List requests.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListSnapshotsResponse

ListSnapshotsResponse is the result of ListSnapshotsRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->snapshots() / $msg->snapshots($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Snapshot)

    A list of snapshots in the project for the specified instance.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Backup

A Filestore backup.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.

  • $msg->description() / $msg->description($value)

    Type: String

    A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Backup::State)

    Output only. The backup state.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the backup was created.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Backup::LabelsEntry)

    Resource labels to represent user provided metadata.

  • $msg->capacity_gb() / $msg->capacity_gb($value)

    Type: Int64

    Output only. Capacity of the source file share when the backup was created.

  • $msg->storage_bytes() / $msg->storage_bytes($value)

    Type: Int64

    Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.

  • $msg->source_instance() / $msg->source_instance($value)

    Type: String

    The resource name of the source Filestore instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`, used to create this backup.

  • $msg->source_file_share() / $msg->source_file_share($value)

    Type: String

    Name of the file share in the source Filestore instance that the backup is created from.

  • $msg->source_instance_tier() / $msg->source_instance_tier($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Instance::Tier)

    Output only. The service tier of the source Filestore instance that this backup is created from.

  • $msg->download_bytes() / $msg->download_bytes($value)

    Type: Int64

    Output only. Amount of bytes that will be downloaded if the backup is restored

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Output only. Reserved for future use.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->kms_key_name() / $msg->kms_key_name($value)

    Type: String

    Immutable. KMS key name used for data encryption.

  • $msg->tags() / $msg->tags($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Backup::TagsEntry)

    Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value

  • $msg->file_system_protocol() / $msg->file_system_protocol($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Instance::FileProtocol)

    Output only. The file system protocol of the source Filestore instance that this backup is created from.

Enum: Backup::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • FINALIZING => 2

  • READY => 3

  • DELETING => 4

  • INVALID => 5

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::CreateBackupRequest

CreateBackupRequest creates a backup.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->backup() / $msg->backup($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Backup)

    Required. A [backup resource][google.cloud.filestore.v1beta1.Backup]

  • $msg->backup_id() / $msg->backup_id($value)

    Type: String

    Required. The ID to use for the backup. The ID must be unique within the specified project and location.

    This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::DeleteBackupRequest

DeleteBackupRequest deletes a backup.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backups/{backup_id}`

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::UpdateBackupRequest

UpdateBackupRequest updates description and/or labels for a backup.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::GetBackupRequest

GetBackupRequest gets the state of a backup.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backups/{backup_id}`.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListBackupsRequest

ListBackupsRequest lists backups.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example us-west1. To retrieve backup information for all locations, use "-" for the `{location}` value.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value to use if there are additional results to retrieve for this list request.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort results. Supported values are "name", "name desc" or "" (unsorted).

  • $msg->filter() / $msg->filter($value)

    Type: String

    List filter.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListBackupsResponse

ListBackupsResponse is the result of ListBackupsRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->backups() / $msg->backups($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Backup)

    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.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Share

A Filestore share.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The resource name of the share, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}`.

  • $msg->mount_name() / $msg->mount_name($value)

    Type: String

    The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.

  • $msg->description() / $msg->description($value)

    Type: String

    A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.

  • $msg->capacity_gb() / $msg->capacity_gb($value)

    Type: Int64

    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.

  • $msg->nfs_export_options() / $msg->nfs_export_options($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::NfsExportOptions)

    Nfs Export Options. There is a limit of 10 export options per file share.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Filestore::V1beta1::Share::State)

    Output only. The share state.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the share was created.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Share::LabelsEntry)

    Resource labels to represent user provided metadata.

  • $msg->backup() / $msg->backup($value)

    Type: String

    Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.

Enum: Share::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 3

  • DELETING => 4

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::CreateShareRequest

CreateShareRequest creates a share.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The Filestore Instance to create the share for, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`

  • $msg->share_id() / $msg->share_id($value)

    Type: String

    Required. The ID to use for the share. The ID must be unique within the specified instance.

    This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

  • $msg->share() / $msg->share($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Share)

    Required. A share resource

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::GetShareRequest

GetShareRequest gets the state of a share.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The share resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}/shares/{share_id}`

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::DeleteShareRequest

DeleteShareRequest deletes a share.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The share resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}/share/{share_id}`

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListSharesRequest

ListSharesRequest lists shares.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The instance for which to retrieve share information, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value to use if there are additional results to retrieve for this list request.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort results. Supported values are "name", "name desc" or "" (unsorted).

  • $msg->filter() / $msg->filter($value)

    Type: String

    List filter.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::ListSharesResponse

ListSharesResponse is the result of ListSharesRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->shares() / $msg->shares($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Share)

    A list of shares in the project for the specified instance.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Filestore::V1beta1::CloudFilestoreService::UpdateShareRequest

UpdateShareRequest updates the settings of a share.

Inherits from Protobuf::Message.

Accessors

  • $msg->share() / $msg->share($value)

    Type: Message (Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Share)

    Required. A share resource. Only fields specified in update_mask are updated.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. 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" * "capacity_gb" * "labels" * "nfs_export_options"

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Filestore::V1beta1::CloudFilestoreService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.