Class: Google::Apis::SecuritycenterV1beta1::Notebook

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Notebook

Returns a new instance of Notebook.



10835
10836
10837
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10835

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#last_authorString

Corresponds to the JSON property lastAuthor

Returns:

  • (String)


10818
10819
10820
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10818

def last_author
  @last_author
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10823
10824
10825
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10823

def name
  @name
end

#notebook_update_timeString

Corresponds to the JSON property notebookUpdateTime

Returns:

  • (String)


10828
10829
10830
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10828

def notebook_update_time
  @notebook_update_time
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


10833
10834
10835
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10833

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10840
10841
10842
10843
10844
10845
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10840

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