Click or drag to resize

ObsClientSetBucketPolicy Method

Set a bucket policy. If the bucket already has a policy, the policy will be overwritten by the one specified in this request.

Namespace:  OBS
Assembly:  esdk_obs_.net (in esdk_obs_.net.dll) Version: 3.19.7.1 (3.19.7.1)
Syntax
C#
public SetBucketPolicyResponse SetBucketPolicy(
	SetBucketPolicyRequest request
)

Parameters

request
Type: OBS.ModelSetBucketPolicyRequest
Parameters in a request for setting bucket policies

Return Value

Type: SetBucketPolicyResponse
Response to a request for setting bucket policies
See Also