logging.projects.metrics.get

GET {{baseUrl}}/v2/:metricName?$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

Gets a logs-based metric.

Request Params

KeyDatatypeRequiredDescription
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
upload_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;bucketOptions&quot;:{&quot;explicitBuckets&quot;:{&quot;bounds&quot;:[-23067509.569831118,4431786.344497904]},&quot;exponentialBuckets&quot;:{&quot;growthFactor&quot;:-26276121.862426743,&quot;numFiniteBuckets&quot;:-28782156,&quot;scale&quot;:5765998.054975212},&quot;linearBuckets&quot;:{&quot;numFiniteBuckets&quot;:54665347,&quot;offset&quot;:12809215.107739374,&quot;width&quot;:-44868818.96627803}},&quot;createTime&quot;:&quot;proident ex exercitation tempor aute&quot;,&quot;description&quot;:&quot;Excepteur in non&quot;,&quot;filter&quot;:&quot;ad velit do adipisicing&quot;,&quot;labelExtractors&quot;:{},&quot;metricDescriptor&quot;:{&quot;description&quot;:&quot;laboris pariatur aliqua eiusmod&quot;,&quot;displayName&quot;:&quot;consequat quis&quot;,&quot;labels&quot;:[{&quot;description&quot;:&quot;laboris minim adipisicing sunt&quot;,&quot;key&quot;:&quot;dolor&quot;,&quot;valueType&quot;:&quot;BOOL&quot;},{&quot;description&quot;:&quot;&quot;,&quot;key&quot;:&quot;proident Ut anim nostrud reprehenderit&quot;,&quot;valueType&quot;:&quot;INT64&quot;}],&quot;launchStage&quot;:&quot;DEPRECATED&quot;,&quot;metadata&quot;:{&quot;ingestDelay&quot;:&quot;ad voluptate Ut sed et&quot;,&quot;launchStage&quot;:&quot;LAUNCH_STAGE_UNSPECIFIED&quot;,&quot;samplePeriod&quot;:&quot;sed sunt incididunt consectetur&quot;},&quot;metricKind&quot;:&quot;DELTA&quot;,&quot;monitoredResourceTypes&quot;:[&quot;enim&quot;,&quot;Ut labore sed sint&quot;],&quot;name&quot;:&quot;nulla&quot;,&quot;type&quot;:&quot;dolor aute sint incididunt est&quot;,&quot;unit&quot;:&quot;ullamco dolor magna sint&quot;,&quot;valueType&quot;:&quot;DOUBLE&quot;},&quot;name&quot;:&quot;culpa&quot;,&quot;updateTime&quot;:&quot;Ut sint reprehenderit&quot;,&quot;valueExtractor&quot;:&quot;nulla sed nostrud&quot;,&quot;version&quot;:&quot;V1&quot;}