Help Center> OBS GO SDK> API Reference> Data Types> Request Parameter of SET Bucket logging
Updated on 2022-02-10 GMT+08:00

Request Parameter of SET Bucket logging

Type Definition

type SetBucketLoggingConfigurationInput struct

Parameter Description

Field

Type

Optional or Mandatory

Description

Bucket

string

Mandatory

Bucket name

Agency

string

Mandatory when the parameter is in a request to configure the bucket logging

Agency name

TargetBucket

string

Optional

Target bucket for which logs are generated

TargetPrefix

string

Optional

Name prefix of a to-be-logged object in the target bucket

TargetGrants

[]Grant

Optional

List of grantees' permission information