Class: Google::Apis::FileV1beta1::ReleaseShareRequest
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::ReleaseShareRequest
- 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
-
#ip_address ⇒ String
Required.
-
#share_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReleaseShareRequest
constructor
A new instance of ReleaseShareRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_address ⇒ String
Required. The IP address of the physical Filestore instance hosting the share.
Corresponds to the JSON property ipAddress
1927 1928 1929 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1927 def ip_address @ip_address end |
#share_id ⇒ String
Required. The specific share ID on the instance.
Corresponds to the JSON property shareId
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 |