UsageDataViaObjectStorageTupleDetails

class oci.adm.models.UsageDataViaObjectStorageTupleDetails(**kwargs)

Bases: UsageDataDetails

Reference to an object in object storage as a tuple. The usage data file uploaded to object storage must be a gzip archive of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build.

Methods:

__init__(**kwargs)

Initializes a new UsageDataViaObjectStorageTupleDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes:

bucket_name

[Required] Gets the bucket_name of this UsageDataViaObjectStorageTupleDetails.

namespace_name

[Required] Gets the namespace_name of this UsageDataViaObjectStorageTupleDetails.

object_name

[Required] Gets the object_name of this UsageDataViaObjectStorageTupleDetails.

source_type

[Required] Gets the source_type of this UsageDataDetails.

__init__(**kwargs)

Initializes a new UsageDataViaObjectStorageTupleDetails object with values from keyword arguments. The default value of the source_type attribute of this class is objectStorageTuple and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • source_type (str) – The value to assign to the source_type property of this UsageDataViaObjectStorageTupleDetails.

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

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

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

property bucket_name

[Required] Gets the bucket_name of this UsageDataViaObjectStorageTupleDetails. The Object Storage bucket to read the usage data from.

Returns

The bucket_name of this UsageDataViaObjectStorageTupleDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property namespace_name

[Required] Gets the namespace_name of this UsageDataViaObjectStorageTupleDetails. The Object Storage namespace to read the usage data from.

Returns

The namespace_name of this UsageDataViaObjectStorageTupleDetails.

Return type

str

property object_name

[Required] Gets the object_name of this UsageDataViaObjectStorageTupleDetails. The Object Storage object name to read the usage data from.

Returns

The object_name of this UsageDataViaObjectStorageTupleDetails.

Return type

str

property source_type

[Required] Gets the source_type of this UsageDataDetails. The destination type. Use objectStorageTuple when specifying the namespace, bucket name, and object name.

Returns

The source_type of this UsageDataDetails.

Return type

str