Filestore V1 API - Class Google::Cloud::Filestore::V1::Instance (v0.4.1)

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
Returns

#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

#file_shares=

def file_shares=(value) -> ::Array<::Google::Cloud::Filestore::V1::FileShareConfig>
Parameter
Returns

#kms_key_name

def kms_key_name() -> ::String
Returns
  • (::String) — KMS key name used for data encryption.

#kms_key_name=

def kms_key_name=(value) -> ::String
Parameter
  • value (::String) — KMS key name used for data encryption.
Returns
  • (::String) — KMS key name used for data encryption.

#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

#networks=

def networks=(value) -> ::Array<::Google::Cloud::Filestore::V1::NetworkConfig>
Parameter
Returns

#satisfies_pzs

def satisfies_pzs() -> ::Google::Protobuf::BoolValue
Returns

#state

def state() -> ::Google::Cloud::Filestore::V1::Instance::State
Returns

#status_message

def status_message() -> ::String
Returns
  • (::String) — Output only. Additional information about the instance state, if available.

#suspension_reasons

def suspension_reasons() -> ::Array<::Google::Cloud::Filestore::V1::Instance::SuspensionReason>
Returns

#tier

def tier() -> ::Google::Cloud::Filestore::V1::Instance::Tier
Returns

#tier=

def tier=(value) -> ::Google::Cloud::Filestore::V1::Instance::Tier
Parameter
Returns