Cloud CDN API, gRPC: RawLogsService.Get
gRPC request
rpc Get (GetRawLogsRequest) returns (GetRawLogsResponse)
GetRawLogsRequest
{
"resourceId": "string"
}
Field |
Description |
resourceId |
string Required field. ID of CDN resource to request status and settings. |
GetRawLogsResponse
{
"status": "RawLogsStatus",
"settings": {
"bucketName": "string",
"bucketRegion": "string",
"filePrefix": "string"
}
}
Field |
Description |
status |
enum RawLogsStatus Raw logs status.
|
settings |
Raw logs settings. |
RawLogsSettings
User settings for Raw logs.
Field |
Description |
bucketName |
string Required field. Destination S3 bucket name, note that the suer should be owner of the bucket. |
bucketRegion |
string Bucket region, unused for now, could be blank. |
filePrefix |
string file_prefix: prefix each log object name with specified prefix. The prefix makes it simpler for you to locate the log objects. |