class Google::Apis::FileV1beta1::Instance
A Cloud Filestore instance.
Attributes
Output only. The time when the instance was created. Corresponds to the JSON property `createTime` @return [String]
The description of the instance (2048 characters or less). Corresponds to the JSON property `description` @return [String]
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other. Corresponds to the JSON property `etag` @return [String]
KMS key name used for data encryption. Corresponds to the JSON property `kmsKeyName` @return [String]
Resource labels to represent user provided metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Output only. The resource name of the instance, in the format `projects/` project_id`/locations/`location_id`/instances/`instance_id“. Corresponds to the JSON property `name` @return [String]
VPC networks to which the instance is connected. For this version, only a single network is supported. Corresponds to the JSON property `networks` @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
Output only. Reserved for future use. Corresponds to the JSON property `satisfiesPzs` @return [Boolean]
Output only. Reserved for future use. Corresponds to the JSON property `satisfiesPzs` @return [Boolean]
Output only. The instance state. Corresponds to the JSON property `state` @return [String]
Output only. Additional information about the instance state, if available. Corresponds to the JSON property `statusMessage` @return [String]
Output only. field indicates all the reasons the instance is in “SUSPENDED” state. Corresponds to the JSON property `suspensionReasons` @return [Array<String>]
The service tier of the instance. Corresponds to the JSON property `tier` @return [String]
Public Class Methods
# File lib/google/apis/file_v1beta1/classes.rb, line 757 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/file_v1beta1/classes.rb, line 762 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @file_shares = args[:file_shares] if args.key?(:file_shares) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @networks = args[:networks] if args.key?(:networks) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @state = args[:state] if args.key?(:state) @status_message = args[:status_message] if args.key?(:status_message) @suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons) @tier = args[:tier] if args.key?(:tier) end