Class: Google::Apis::StoragebatchoperationsV1::SetObjectAcls
- Inherits:
-
Object
- Object
- Google::Apis::StoragebatchoperationsV1::SetObjectAcls
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storagebatchoperations_v1/classes.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb
Overview
Describes options for setting object ACLs.
Instance Attribute Summary collapse
-
#access_controls_updates ⇒ Google::Apis::StoragebatchoperationsV1::AccessControlsUpdates
Represents updates to existing access-control entries on an object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetObjectAcls
constructor
A new instance of SetObjectAcls.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetObjectAcls
Returns a new instance of SetObjectAcls.
1354 1355 1356 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 1354 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_controls_updates ⇒ Google::Apis::StoragebatchoperationsV1::AccessControlsUpdates
Represents updates to existing access-control entries on an object.
Corresponds to the JSON property accessControlsUpdates
1352 1353 1354 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 1352 def access_controls_updates @access_controls_updates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1359 1360 1361 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 1359 def update!(**args) @access_controls_updates = args[:access_controls_updates] if args.key?(:access_controls_updates) end |