SandboxFile

class oci.generative_ai_sandbox.models.SandboxFile(**kwargs)

Bases: object

Sandbox file resource representation.

Methods

__init__(**kwargs) Initializes a new SandboxFile object with values from keyword arguments.

Attributes

content_sha256 Gets the content_sha256 of this SandboxFile.
file_path [Required] Gets the file_path of this SandboxFile.
sandbox_id Gets the sandbox_id of this SandboxFile.
__init__(**kwargs)

Initializes a new SandboxFile object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • sandbox_id (str) – The value to assign to the sandbox_id property of this SandboxFile.
  • file_path (str) – The value to assign to the file_path property of this SandboxFile.
  • content_sha256 (str) – The value to assign to the content_sha256 property of this SandboxFile.
content_sha256

Gets the content_sha256 of this SandboxFile. Base64-encoded SHA-256 checksum of the file content when available.

Returns:The content_sha256 of this SandboxFile.
Return type:str
file_path

[Required] Gets the file_path of this SandboxFile. Absolute path of the file in the sandbox, under /workspace.

Returns:The file_path of this SandboxFile.
Return type:str
sandbox_id

Gets the sandbox_id of this SandboxFile. Sandbox identifier that this file belongs to.

Returns:The sandbox_id of this SandboxFile.
Return type:str