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.



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

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)


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

def ip_address
  @ip_address
end

#share_idString

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

Returns:

  • (String)


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

def share_id
  @share_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1945
1946
1947
1948
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1945

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