Class: Google::Apis::VmwareengineV1::ThirdPartyFileService

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_shareString

Required. Required Mount Folder name Corresponds to the JSON property fileShare

Returns:

  • (String)


3806
3807
3808
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3806

def file_share
  @file_share
end

#networkString

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

Returns:

  • (String)


3812
3813
3814
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3812

def network
  @network
end

#serversArray<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

Returns:

  • (Array<String>)


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