ListObjects

class oci.object_storage.models.ListObjects(**kwargs)

Bases: object

To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.

Methods

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

Attributes

next_start_with Gets the next_start_with of this ListObjects.
objects [Required] Gets the objects of this ListObjects.
prefixes Gets the prefixes of this ListObjects.
__init__(**kwargs)

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

Parameters:
  • objects (list[oci.object_storage.models.ObjectSummary]) – The value to assign to the objects property of this ListObjects.
  • prefixes (list[str]) – The value to assign to the prefixes property of this ListObjects.
  • next_start_with (str) – The value to assign to the next_start_with property of this ListObjects.
next_start_with

Gets the next_start_with of this ListObjects. The name of the object to use in the start parameter to obtain the next page of a truncated ListObjects response. Avoid entering confidential information. Example: test/object1.log

Returns:The next_start_with of this ListObjects.
Return type:str
objects

[Required] Gets the objects of this ListObjects. An array of object summaries.

Returns:The objects of this ListObjects.
Return type:list[oci.object_storage.models.ObjectSummary]
prefixes

Gets the prefixes of this ListObjects. Prefixes that are common to the results returned by the request if the request specified a delimiter.

Returns:The prefixes of this ListObjects.
Return type:list[str]