PatchFileObjectStorageBucketContentDetails

class oci.fleet_apps_management.models.PatchFileObjectStorageBucketContentDetails(**kwargs)

Bases: PatchFileContentDetails

Details about Object Storage Bucket source. Restricted to the region this is called.

Attributes:

SOURCE_TYPE_OBJECT_STORAGE_BUCKET

A constant which can be used with the source_type property of a PatchFileContentDetails.

bucket_name

[Required] Gets the bucket_name of this PatchFileObjectStorageBucketContentDetails.

checksum

[Required] Gets the checksum of this PatchFileObjectStorageBucketContentDetails.

namespace_name

[Required] Gets the namespace_name of this PatchFileObjectStorageBucketContentDetails.

object_name

[Required] Gets the object_name of this PatchFileObjectStorageBucketContentDetails.

source_type

[Required] Gets the source_type of this PatchFileContentDetails.

Methods:

__init__(**kwargs)

Initializes a new PatchFileObjectStorageBucketContentDetails 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.

SOURCE_TYPE_OBJECT_STORAGE_BUCKET = 'OBJECT_STORAGE_BUCKET'

A constant which can be used with the source_type property of a PatchFileContentDetails. This constant has a value of “OBJECT_STORAGE_BUCKET”

__init__(**kwargs)

Initializes a new PatchFileObjectStorageBucketContentDetails object with values from keyword arguments. The default value of the source_type attribute of this class is OBJECT_STORAGE_BUCKET 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 PatchFileObjectStorageBucketContentDetails. Allowed values for this property are: “OBJECT_STORAGE_BUCKET”

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

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

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

  • checksum (str) – The value to assign to the checksum property of this PatchFileObjectStorageBucketContentDetails.

property bucket_name

[Required] Gets the bucket_name of this PatchFileObjectStorageBucketContentDetails. Bucket Name.

Returns

The bucket_name of this PatchFileObjectStorageBucketContentDetails.

Return type

str

property checksum

[Required] Gets the checksum of this PatchFileObjectStorageBucketContentDetails. md5 checksum of the artifact.

Returns

The checksum of this PatchFileObjectStorageBucketContentDetails.

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 PatchFileObjectStorageBucketContentDetails. Namespace.

Returns

The namespace_name of this PatchFileObjectStorageBucketContentDetails.

Return type

str

property object_name

[Required] Gets the object_name of this PatchFileObjectStorageBucketContentDetails. Object Name.

Returns

The object_name of this PatchFileObjectStorageBucketContentDetails.

Return type

str

property source_type

[Required] Gets the source_type of this PatchFileContentDetails. Content Source type details.

Allowed values for this property are: “OBJECT_STORAGE_BUCKET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The source_type of this PatchFileContentDetails.

Return type

str