非抽样报告可以存储在Google云端存储或Google云端硬盘中,我想将Google云端存储指定为默认存储而非Google云端硬盘。
我该怎么做,他们在Developer Docs提供的示例中没有给出选项
reports = analytics.management().unsampledReports().insert(
accountId='123456',
webPropertyId='UA-123456-1',
profileId='7654321',
body={
'title': 'A test Report',
'start-date': '2013-01-01',
'end-date': '2013-01-31',
'metrics': 'ga:pageviews,ga:bounces',
'dimensions': 'ga:browser',
'filters': 'ga:bounces>=100',
'segment': 'gaid::-1'
}
)。执行()
成功后,资源的格式为
{
"id": string,
"kind": "analytics#unsampledReport",
"selfLink": string,
"title": string,
"accountId": string,
"webPropertyId": string,
"profileId": string,
"start-date": string,
"end-date": string,
"metrics": string,
"dimensions": string,
"filters": string,
"segment": string,
"status": string,
"downloadType": string,
"driveDownloadDetails": {
"documentId": string
},
"cloudStorageDownloadDetails": {
"bucketId": string,
"objectId": string
},
"created": datetime,
"updated": datetime
}