CosServiceApi class
Constructors
CosServiceApi.new ({BinaryMessenger ? binaryMessenger })
Constructor for CosServiceApi . The binaryMessenger
named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
cancelAll (String arg_serviceKey )
→ Future <void >
deleteBucket (String arg_serviceKey , String arg_bucket , String ? arg_region )
→ Future <void >
deleteObject (String arg_serviceKey , String arg_bucket , String ? arg_region , String arg_cosPath , String ? arg_versionId )
→ Future <void >
doesBucketExist (String arg_serviceKey , String arg_bucket )
→ Future <bool >
doesObjectExist (String arg_serviceKey , String arg_bucket , String arg_cosPath )
→ Future <bool >
getBucket (String arg_serviceKey , String arg_bucket , String ? arg_region , String ? arg_prefix , String ? arg_delimiter , String ? arg_encodingType , String ? arg_marker , int ? arg_maxKeys )
→ Future <BucketContents >
getBucketAccelerate (String arg_serviceKey , String arg_bucket , String ? arg_region )
→ Future <bool >
getBucketLocation (String arg_serviceKey , String arg_bucket , String ? arg_region )
→ Future <String >
getBucketVersioning (String arg_serviceKey , String arg_bucket , String ? arg_region )
→ Future <bool >
getObjectUrl (String arg_bucket , String arg_region , String arg_cosPath , String arg_serviceKey )
→ Future <String >
getPresignedUrl (String arg_serviceKey , String arg_bucket , String arg_cosPath , int ? arg_signValidTime , bool ? arg_signHost , Map <String ? , String ? > ? arg_parameters , String ? arg_region )
→ Future <String >
getService (String arg_serviceKey )
→ Future <ListAllMyBuckets >
headBucket (String arg_serviceKey , String arg_bucket , String ? arg_region )
→ Future <Map <String ? , String ? > >
headObject (String arg_serviceKey , String arg_bucket , String ? arg_region , String arg_cosPath , String ? arg_versionId )
→ Future <Map <String ? , String ? > >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preBuildConnection (String arg_bucket , String arg_serviceKey )
→ Future <void >
putBucket (String arg_serviceKey , String arg_bucket , String ? arg_region , bool ? arg_enableMAZ , String ? arg_cosacl , String ? arg_readAccount , String ? arg_writeAccount , String ? arg_readWriteAccount )
→ Future <void >
putBucketAccelerate (String arg_serviceKey , String arg_bucket , String ? arg_region , bool arg_enable )
→ Future <void >
putBucketVersioning (String arg_serviceKey , String arg_bucket , String ? arg_region , bool arg_enable )
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited
tencentcloud_cos_sdk_plugin 1.2.2