Class: Google::Apis::AlertcenterV1beta1::DriveFileWarning
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::DriveFileWarning
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/alertcenter_v1beta1/classes.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb
Overview
Alerts for suspicious Drive files or activities.
Instance Attribute Summary collapse
-
#files ⇒ Array<Google::Apis::AlertcenterV1beta1::DriveFile>
List of files in the alert.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DriveFileWarning
constructor
A new instance of DriveFileWarning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DriveFileWarning
Returns a new instance of DriveFileWarning.
839 840 841 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#files ⇒ Array<Google::Apis::AlertcenterV1beta1::DriveFile>
List of files in the alert.
Corresponds to the JSON property files
837 838 839 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 837 def files @files end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
844 845 846 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 844 def update!(**args) @files = args[:files] if args.key?(:files) end |