Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::Instance.
A Filestore instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was created.
#custom_performance_supported
def custom_performance_supported() -> ::Boolean
- (::Boolean) — 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.
#deletion_protection_enabled
def deletion_protection_enabled() -> ::Boolean
- (::Boolean) — Optional. Indicates whether the instance is protected against deletion.
#deletion_protection_enabled=
def deletion_protection_enabled=(value) -> ::Boolean
- value (::Boolean) — Optional. Indicates whether the instance is protected against deletion.
- (::Boolean) — Optional. Indicates whether the instance is protected against deletion.
#deletion_protection_reason
def deletion_protection_reason() -> ::String
- (::String) — Optional. The reason for enabling deletion protection.
#deletion_protection_reason=
def deletion_protection_reason=(value) -> ::String
- value (::String) — Optional. The reason for enabling deletion protection.
- (::String) — Optional. The reason for enabling deletion protection.
#description
def description() -> ::String
- (::String) — The description of the instance (2048 characters or less).
#description=
def description=(value) -> ::String
- value (::String) — The description of the instance (2048 characters or less).
- (::String) — The description of the instance (2048 characters or less).
#etag
def etag() -> ::String
- (::String) — Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
#etag=
def etag=(value) -> ::String
- value (::String) — Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
- (::String) — Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
#file_shares
def file_shares() -> ::Array<::Google::Cloud::Filestore::V1::FileShareConfig>
- (::Array<::Google::Cloud::Filestore::V1::FileShareConfig>) — File system shares on the instance. For this version, only a single file share is supported.
#file_shares=
def file_shares=(value) -> ::Array<::Google::Cloud::Filestore::V1::FileShareConfig>
- value (::Array<::Google::Cloud::Filestore::V1::FileShareConfig>) — File system shares on the instance. For this version, only a single file share is supported.
- (::Array<::Google::Cloud::Filestore::V1::FileShareConfig>) — File system shares on the instance. For this version, only a single file share is supported.
#kms_key_name
def kms_key_name() -> ::String
- (::String) — KMS key name used for data encryption.
#kms_key_name=
def kms_key_name=(value) -> ::String
- value (::String) — KMS key name used for data encryption.
- (::String) — KMS key name used for data encryption.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
#name
def name() -> ::String
-
(::String) — Output only. The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance}
.
#networks
def networks() -> ::Array<::Google::Cloud::Filestore::V1::NetworkConfig>
- (::Array<::Google::Cloud::Filestore::V1::NetworkConfig>) — VPC networks to which the instance is connected. For this version, only a single network is supported.
#networks=
def networks=(value) -> ::Array<::Google::Cloud::Filestore::V1::NetworkConfig>
- value (::Array<::Google::Cloud::Filestore::V1::NetworkConfig>) — VPC networks to which the instance is connected. For this version, only a single network is supported.
- (::Array<::Google::Cloud::Filestore::V1::NetworkConfig>) — VPC networks to which the instance is connected. For this version, only a single network is supported.
#performance_config
def performance_config() -> ::Google::Cloud::Filestore::V1::Instance::PerformanceConfig
- (::Google::Cloud::Filestore::V1::Instance::PerformanceConfig) — Optional. Used to configure performance.
#performance_config=
def performance_config=(value) -> ::Google::Cloud::Filestore::V1::Instance::PerformanceConfig
- value (::Google::Cloud::Filestore::V1::Instance::PerformanceConfig) — Optional. Used to configure performance.
- (::Google::Cloud::Filestore::V1::Instance::PerformanceConfig) — Optional. Used to configure performance.
#performance_limits
def performance_limits() -> ::Google::Cloud::Filestore::V1::Instance::PerformanceLimits
- (::Google::Cloud::Filestore::V1::Instance::PerformanceLimits) — Output only. Used for getting performance limits.
#protocol
def protocol() -> ::Google::Cloud::Filestore::V1::Instance::FileProtocol
-
(::Google::Cloud::Filestore::V1::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
.
#protocol=
def protocol=(value) -> ::Google::Cloud::Filestore::V1::Instance::FileProtocol
-
value (::Google::Cloud::Filestore::V1::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
.
-
(::Google::Cloud::Filestore::V1::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
.
#replication
def replication() -> ::Google::Cloud::Filestore::V1::Replication
- (::Google::Cloud::Filestore::V1::Replication) — Optional. Replication configuration.
#replication=
def replication=(value) -> ::Google::Cloud::Filestore::V1::Replication
- value (::Google::Cloud::Filestore::V1::Replication) — Optional. Replication configuration.
- (::Google::Cloud::Filestore::V1::Replication) — Optional. Replication configuration.
#satisfies_pzi
def satisfies_pzi() -> ::Boolean
- (::Boolean) — Output only. Reserved for future use.
#satisfies_pzs
def satisfies_pzs() -> ::Google::Protobuf::BoolValue
- (::Google::Protobuf::BoolValue) — Output only. Reserved for future use.
#state
def state() -> ::Google::Cloud::Filestore::V1::Instance::State
- (::Google::Cloud::Filestore::V1::Instance::State) — Output only. The instance state.
#status_message
def status_message() -> ::String
- (::String) — Output only. Additional information about the instance state, if available.
#suspension_reasons
def suspension_reasons() -> ::Array<::Google::Cloud::Filestore::V1::Instance::SuspensionReason>
- (::Array<::Google::Cloud::Filestore::V1::Instance::SuspensionReason>) — Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
#tags
def tags() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) —
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
#tags=
def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) —
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
-
(::Google::Protobuf::Map{::String => ::String}) —
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
#tier
def tier() -> ::Google::Cloud::Filestore::V1::Instance::Tier
- (::Google::Cloud::Filestore::V1::Instance::Tier) — The service tier of the instance.
#tier=
def tier=(value) -> ::Google::Cloud::Filestore::V1::Instance::Tier
- value (::Google::Cloud::Filestore::V1::Instance::Tier) — The service tier of the instance.
- (::Google::Cloud::Filestore::V1::Instance::Tier) — The service tier of the instance.