Class: Google::Apis::FileV1beta1::ReleaseShareRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/file_v1beta1/classes.rb,
lib/google/apis/file_v1beta1/representations.rb,
lib/google/apis/file_v1beta1/representations.rb

Overview

Request message for ReleaseShare.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReleaseShareRequest

Returns a new instance of ReleaseShareRequest.



1934
1935
1936
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1934

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ip_addressString

Required. The IP address of the physical Filestore instance hosting the share. Corresponds to the JSON property ipAddress

Returns:

  • (String)


1927
1928
1929
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1927

def ip_address
  @ip_address
end

#share_idString

Required. The specific share ID on the instance. Corresponds to the JSON property shareId

Returns:

  • (String)


1932
1933
1934
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1932

def share_id
  @share_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1939
1940
1941
1942
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1939

def update!(**args)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @share_id = args[:share_id] if args.key?(:share_id)
end