Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::Instance.
A Cloud Filestore instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was created.
#description
def description() -> ::String
Returns
- (::String) — The description of the instance (2048 characters or less).
#description=
def description=(value) -> ::String
Parameter
- value (::String) — The description of the instance (2048 characters or less).
Returns
- (::String) — The description of the instance (2048 characters or less).
#etag
def etag() -> ::String
Returns
- (::String) — Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
Returns
- (::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>
Returns
- (::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>
Parameter
- value (::Array<::Google::Cloud::Filestore::V1::FileShareConfig>) — File system shares on the instance. For this version, only a single file share is supported.
Returns
- (::Array<::Google::Cloud::Filestore::V1::FileShareConfig>) — File system shares on the instance. For this version, only a single file share is supported.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
#name
def name() -> ::String
Returns
-
(::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>
Returns
- (::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>
Parameter
- value (::Array<::Google::Cloud::Filestore::V1::NetworkConfig>) — VPC networks to which the instance is connected. For this version, only a single network is supported.
Returns
- (::Array<::Google::Cloud::Filestore::V1::NetworkConfig>) — VPC networks to which the instance is connected. For this version, only a single network is supported.
#satisfies_pzs
def satisfies_pzs() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Output only. Reserved for future use.
#state
def state() -> ::Google::Cloud::Filestore::V1::Instance::State
Returns
- (::Google::Cloud::Filestore::V1::Instance::State) — Output only. The instance state.
#status_message
def status_message() -> ::String
Returns
- (::String) — Output only. Additional information about the instance state, if available.
#tier
def tier() -> ::Google::Cloud::Filestore::V1::Instance::Tier
Returns
- (::Google::Cloud::Filestore::V1::Instance::Tier) — The service tier of the instance.
#tier=
def tier=(value) -> ::Google::Cloud::Filestore::V1::Instance::Tier
Parameter
- value (::Google::Cloud::Filestore::V1::Instance::Tier) — The service tier of the instance.
Returns
- (::Google::Cloud::Filestore::V1::Instance::Tier) — The service tier of the instance.