ObjectLocation

class oci.ai_document.models.ObjectLocation(**kwargs)

Bases: object

A location in Object Storage that is uniquely identified by namespace name, bucket name and object name.

Methods:

__init__(**kwargs)

Initializes a new ObjectLocation object with values from keyword arguments.

Attributes:

bucket_name

[Required] Gets the bucket_name of this ObjectLocation.

namespace_name

[Required] Gets the namespace_name of this ObjectLocation.

object_name

[Required] Gets the object_name of this ObjectLocation.

page_range

Gets the page_range of this ObjectLocation.

__init__(**kwargs)

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

Parameters
  • namespace_name (str) – The value to assign to the namespace_name property of this ObjectLocation.

  • bucket_name (str) – The value to assign to the bucket_name property of this ObjectLocation.

  • object_name (str) – The value to assign to the object_name property of this ObjectLocation.

  • page_range (list[str]) – The value to assign to the page_range property of this ObjectLocation.

property bucket_name

[Required] Gets the bucket_name of this ObjectLocation. The Object Storage bucket name.

Returns

The bucket_name of this ObjectLocation.

Return type

str

property namespace_name

[Required] Gets the namespace_name of this ObjectLocation. The Object Storage namespace name.

Returns

The namespace_name of this ObjectLocation.

Return type

str

property object_name

[Required] Gets the object_name of this ObjectLocation. The Object Storage object name.

Returns

The object_name of this ObjectLocation.

Return type

str

property page_range

Gets the page_range of this ObjectLocation. The page ranges to be analysed.

Returns

The page_range of this ObjectLocation.

Return type

list[str]