检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
获取桶存储类型响应结果 类型定义 type GetBucketStoragePolicyOutput struct 参数描述 字段名 类型 说明 StatusCode int HTTP状态码。 RequestId string OBS服务端返回的请求ID。 ResponseHeaders
获取桶ACL响应结果 类型定义 type GetBucketAclOutput struct 参数描述 字段名 类型 说明 StatusCode int HTTP状态码。 RequestId string OBS服务端返回的请求ID。 ResponseHeaders map[string
被授权用户权限信息 类型定义 type Grant struct 参数描述 字段名 类型 约束 说明 Grantee Grantee 作为请求参数时必选 被授权用户。 Permission PermissionType 作为请求参数时必选 被授予的权限。 父主题: 数据类型
被授权用户 类型定义 type Grantee struct 参数描述 字段名 类型 约束 说明 Type GranteeType 作为请求参数时必选 被授权用户的类型。 ID string 作为请求参数时,如果Type为用户类型则必选。 被授权用户的DomainId。 DisplayName
设置桶日志管理配置请求参数 类型定义 type SetBucketLoggingConfigurationInput struct 参数描述 字段名 类型 约束 说明 Bucket string 必选 桶名。 Agency string 作为请求参数时如果是设置桶日志配置则必选 委托名
获取桶日志管理配置响应结果 类型定义 type GetBucketLoggingConfigurationOutput struct 参数描述 字段名 类型 说明 StatusCode int HTTP状态码。 RequestId string OBS服务端返回的请求ID。 ResponseHeaders
获取桶策略响应结果 类型定义 type GetBucketPolicyOutput struct 参数描述 字段名 类型 说明 StatusCode int HTTP状态码。 RequestId string OBS服务端返回的请求ID。 ResponseHeaders map[string
设置桶生命周期配置请求参数 类型定义 type SetBucketLifecycleConfigurationInput struct 参数描述 字段名 类型 约束 说明 Bucket string 必选 桶名。 LifecycleRules []LifecycleRule 必选
获取桶生命周期配置响应结果 类型定义 type GetBucketLifecycleConfigurationOutput struct 参数描述 字段名 类型 说明 StatusCode int HTTP状态码。 RequestId string OBS服务端返回的请求ID。 ResponseHeaders
对象转换策略 类型定义 type Transition struct 参数描述 字段名 类型 约束 说明 StorageClass StorageClassType 作为请求参数时必选 对象转换后的存储类型。 说明: 不支持“标准存储”类型。 Date time.Time 作为请求参数时
对象过期时间配置 类型定义 type Expiration struct 参数描述 字段名 类型 约束 说明 Date time.Time 作为请求参数时,如果没有设置Days则必选 表示对象转换的日期。 Days int 作为请求参数时,如果没有设置Date则必选 表示在对象创建时间后第几天时转换
历史版本对象转换策略 类型定义 type NoncurrentVersionTransition struct 参数描述 字段名 类型 约束 说明 StorageClass StorageClassType 作为请求参数时必选 历史版本对象转换后的存储类型。 说明: 不支持“标准存储
历史版本对象过期时间配置 类型定义 type NoncurrentVersionExpiration struct 参数描述 字段名 类型 约束 说明 NoncurrentDays int 作为请求参数时必选 表示对象成为历史版本后第几天时过期,正整数。 父主题: 数据类型
获取桶Website配置响应结果 类型定义 type GetBucketWebsiteConfigurationOutput struct 参数描述 字段名 类型 说明 StatusCode int HTTP状态码。 RequestId string OBS服务端返回的请求ID。
所有请求重定向规则 类型定义 type RedirectAllRequestsTo struct 参数描述 字段名 类型 约束 说明 HostName string 作为请求参数时必选 重定向时使用的站点名。 Protocol ProtocolType 作为请求参数时可选 重定向时使用的协议
错误页面配置 类型定义 type ErrorDocument struct 参数描述 字段名 类型 约束 说明 Key string 作为请求参数时可选 指定当4XX错误出现时返回的页面。 父主题: 数据类型
默认页面配置 类型定义 type IndexDocument struct 参数描述 字段名 类型 约束 说明 Suffix string 作为请求参数时必选 该字段被追加在对文件夹的请求的末尾(例如:配置的是“index.html”,请求的是“samplebucket/images
请求重定向规则 类型定义 type RoutingRule struct 参数描述 字段名 类型 约束 说明 Condition Condition 作为请求参数时可选 重定向规则的匹配条件。 Redirect Redirect 作为请求参数时必选 重定向请求时的具体信息。 父主题
重定向规则的匹配条件 类型定义 type Condition struct 参数描述 字段名 类型 约束 说明 KeyPrefixEquals string 作为请求参数时可选 重定向规则生效需要匹配的对象名前缀。 HttpErrorCodeReturnedEquals string
重定向请求时的具体信息 类型定义 type Redirect struct 参数描述 字段名 类型 约束 说明 Protocol ProtocolType 作为请求参数时可选 重定向请求时使用的协议。 HostName string 作为请求参数时可选 重定向请求时使用的站点名。