Class: Google::Apis::ClassroomV1::NotebookLmNotebook

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

Overview

NotebookLM Notebook link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NotebookLmNotebook

Returns a new instance of NotebookLmNotebook.



2413
2414
2415
# File 'lib/google/apis/classroom_v1/classes.rb', line 2413

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

Instance Attribute Details

#idString

Notebook resource id. Corresponds to the JSON property id

Returns:

  • (String)


2401
2402
2403
# File 'lib/google/apis/classroom_v1/classes.rb', line 2401

def id
  @id
end

#titleString

Title of the Notebook. Corresponds to the JSON property title

Returns:

  • (String)


2406
2407
2408
# File 'lib/google/apis/classroom_v1/classes.rb', line 2406

def title
  @title
end

#urlString

URL that can be used to access the Notebook. Corresponds to the JSON property url

Returns:

  • (String)


2411
2412
2413
# File 'lib/google/apis/classroom_v1/classes.rb', line 2411

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2418
2419
2420
2421
2422
# File 'lib/google/apis/classroom_v1/classes.rb', line 2418

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @title = args[:title] if args.key?(:title)
  @url = args[:url] if args.key?(:url)
end