Class: Google::Apis::VmwareengineV1::ThirdPartyFileService
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::ThirdPartyFileService
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmwareengine_v1/classes.rb,
lib/google/apis/vmwareengine_v1/representations.rb,
lib/google/apis/vmwareengine_v1/representations.rb
Overview
Third party file service configuration
Instance Attribute Summary collapse
-
#file_share ⇒ String
Required.
-
#network ⇒ String
Required.
-
#servers ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ThirdPartyFileService
constructor
A new instance of ThirdPartyFileService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ThirdPartyFileService
Returns a new instance of ThirdPartyFileService.
3821 3822 3823 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3821 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_share ⇒ String
Required. Required Mount Folder name
Corresponds to the JSON property fileShare
3806 3807 3808 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3806 def file_share @file_share end |
#network ⇒ String
Required. Required to identify vpc peering used for NFS access network name of
NFS's vpc e.g. projects/project-id/global/networks/my-network_id
Corresponds to the JSON property network
3812 3813 3814 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3812 def network @network end |
#servers ⇒ Array<String>
Required. Server IP addresses of the NFS file service. NFS v3, provide a
single IP address or DNS name. Multiple servers can be supported in future
when NFS 4.1 protocol support is enabled.
Corresponds to the JSON property servers
3819 3820 3821 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3819 def servers @servers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3826 3827 3828 3829 3830 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3826 def update!(**args) @file_share = args[:file_share] if args.key?(:file_share) @network = args[:network] if args.key?(:network) @servers = args[:servers] if args.key?(:servers) end |