Class ProjectsResource.LocationsResource.NotebooksResource.SourcesResource
The "sources" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.NotebooksResource.SourcesResource
Constructors
SourcesResource(IClientService)
Constructs a new resource.
Declaration
public SourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
UploadFile(GoogleCloudNotebooklmV1alphaUploadSourceFileRequest, string, string)
Uploads a file for Notebook LM to use. Creates a Source.
Declaration
public virtual ProjectsResource.LocationsResource.NotebooksResource.SourcesResource.UploadFileRequest UploadFile(GoogleCloudNotebooklmV1alphaUploadSourceFileRequest body, string parent, string sourceId)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudNotebooklmV1alphaUploadSourceFileRequest | body | The body of the request. |
string | parent | Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} |
string | sourceId | The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NotebooksResource.SourcesResource.UploadFileRequest |