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.



2353
2354
2355
# File 'lib/google/apis/classroom_v1/classes.rb', line 2353

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

Instance Attribute Details

#idString

Notebook resource id. Corresponds to the JSON property id

Returns:

  • (String)


2341
2342
2343
# File 'lib/google/apis/classroom_v1/classes.rb', line 2341

def id
  @id
end

#titleString

Title of the Notebook. Corresponds to the JSON property title

Returns:

  • (String)


2346
2347
2348
# File 'lib/google/apis/classroom_v1/classes.rb', line 2346

def title
  @title
end

#urlString

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

Returns:

  • (String)


2351
2352
2353
# File 'lib/google/apis/classroom_v1/classes.rb', line 2351

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2358
2359
2360
2361
2362
# File 'lib/google/apis/classroom_v1/classes.rb', line 2358

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