Class: Google::Apis::SecuritycenterV1::Notebook
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Notebook
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#last_author ⇒ String
Corresponds to the JSON property
lastAuthor. -
#name ⇒ String
Corresponds to the JSON property
name. -
#notebook_update_time ⇒ String
Corresponds to the JSON property
notebookUpdateTime. -
#service ⇒ String
Corresponds to the JSON property
service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Notebook
constructor
A new instance of Notebook.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Notebook
Returns a new instance of Notebook.
11542 11543 11544 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_author ⇒ String
Corresponds to the JSON property lastAuthor
11525 11526 11527 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11525 def @last_author end |
#name ⇒ String
Corresponds to the JSON property name
11530 11531 11532 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11530 def name @name end |
#notebook_update_time ⇒ String
Corresponds to the JSON property notebookUpdateTime
11535 11536 11537 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11535 def notebook_update_time @notebook_update_time end |
#service ⇒ String
Corresponds to the JSON property service
11540 11541 11542 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11540 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11547 11548 11549 11550 11551 11552 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11547 def update!(**args) @last_author = args[:last_author] if args.key?(:last_author) @name = args[:name] if args.key?(:name) @notebook_update_time = args[:notebook_update_time] if args.key?(:notebook_update_time) @service = args[:service] if args.key?(:service) end |