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