UsageDataDetails

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

Bases: object

The source details of the usage data in object storage. 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. Set sourceType to objectStorageTuple and use usage_data_via_object_storage_tuple_details() when specifying the namespace, bucket name, and object name.

Methods

__init__(**kwargs) Initializes a new UsageDataDetails 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

source_type [Required] Gets the source_type of this UsageDataDetails.
__init__(**kwargs)

Initializes a new UsageDataDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 UsageDataDetails.
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.

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