logging.projects.metrics.list

GET {{baseUrl}}/v2/:parent/metrics?pageSize=<integer>&pageToken=<string>&$.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>

Lists logs-based metrics.

Request Params

KeyDatatypeRequiredDescription
pageSizestringOptional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
pageTokenstringOptional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
$.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;metrics&quot;:[{&quot;bucketOptions&quot;:{&quot;explicitBuckets&quot;:{&quot;bounds&quot;:[-45361627.74251169,18501682.135260597]},&quot;exponentialBuckets&quot;:{&quot;growthFactor&quot;:88748539.92520842,&quot;numFiniteBuckets&quot;:17350716,&quot;scale&quot;:-31472388.57133785},&quot;linearBuckets&quot;:{&quot;numFiniteBuckets&quot;:-36519269,&quot;offset&quot;:-65920842.01523623,&quot;width&quot;:76593220.84960002}},&quot;createTime&quot;:&quot;aliqua&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;filter&quot;:&quot;\u003cstring\u003e&quot;,&quot;labelExtractors&quot;:&quot;\u003cobject\u003e&quot;,&quot;metricDescriptor&quot;:{&quot;description&quot;:&quot;consequat tempor Duis&quot;,&quot;displayName&quot;:&quot;commodo est &quot;,&quot;labels&quot;:[{&quot;description&quot;:&quot;reprehenderit sunt&quot;,&quot;key&quot;:&quot;sit &quot;,&quot;valueType&quot;:&quot;STRING&quot;},{&quot;description&quot;:&quot;in aute deserunt in &quot;,&quot;key&quot;:&quot;qui ipsum&quot;,&quot;valueType&quot;:&quot;INT64&quot;}],&quot;launchStage&quot;:&quot;LAUNCH_STAGE_UNSPECIFIED&quot;,&quot;metadata&quot;:{&quot;ingestDelay&quot;:&quot;est voluptate dolore&quot;,&quot;launchStage&quot;:&quot;UNIMPLEMENTED&quot;,&quot;samplePeriod&quot;:&quot;adipisicing&quot;},&quot;metricKind&quot;:&quot;GAUGE&quot;,&quot;monitoredResourceTypes&quot;:[&quot;aliquip&quot;,&quot;nisi au&quot;],&quot;name&quot;:&quot;laborum eiusmod nostrud Duis ut&quot;,&quot;type&quot;:&quot;in&quot;,&quot;unit&quot;:&quot;labore&quot;,&quot;valueType&quot;:&quot;VALUE_TYPE_UNSPECIFIED&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;updateTime&quot;:&quot;dolor eu exercitation ipsum&quot;,&quot;valueExtractor&quot;:&quot;\u003cstring\u003e&quot;,&quot;version&quot;:&quot;\u003cstring\u003e&quot;},{&quot;bucketOptions&quot;:{&quot;explicitBuckets&quot;:{&quot;bounds&quot;:[45066047.989907354,83166076.2378009]},&quot;exponentialBuckets&quot;:{&quot;growthFactor&quot;:-83250919.03733632,&quot;numFiniteBuckets&quot;:-48274536,&quot;scale&quot;:60915292.93510935},&quot;linearBuckets&quot;:{&quot;numFiniteBuckets&quot;:90131395,&quot;offset&quot;:87195402.29864967,&quot;width&quot;:65735801.32677862}},&quot;createTime&quot;:&quot;consequat et in nulla proident&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;filter&quot;:&quot;\u003cstring\u003e&quot;,&quot;labelExtractors&quot;:&quot;\u003cobject\u003e&quot;,&quot;metricDescriptor&quot;:{&quot;description&quot;:&quot;voluptate dolore ut&quot;,&quot;displayName&quot;:&quot;quis mollit&quot;,&quot;labels&quot;:[{&quot;description&quot;:&quot;nostrud&quot;,&quot;key&quot;:&quot;id Excepteur cillum consequat&quot;,&quot;valueType&quot;:&quot;STRING&quot;},{&quot;description&quot;:&quot;consequat ea&quot;,&quot;key&quot;:&quot;dolore officia Ut laborum ullamco&quot;,&quot;valueType&quot;:&quot;STRING&quot;}],&quot;launchStage&quot;:&quot;BETA&quot;,&quot;metadata&quot;:{&quot;ingestDelay&quot;:&quot;dolor exer&quot;,&quot;launchStage&quot;:&quot;DEPRECATED&quot;,&quot;samplePeriod&quot;:&quot;cupida&quot;},&quot;metricKind&quot;:&quot;DELTA&quot;,&quot;monitoredResourceTypes&quot;:[&quot;in irure laboris nostr&quot;,&quot;deserunt proident adipisicing dolore anim&quot;],&quot;name&quot;:&quot;occaecat ad aute esse&quot;,&quot;type&quot;:&quot;incididunt dolor ullamco id irure&quot;,&quot;unit&quot;:&quot;ipsum culpa nostrud&quot;,&quot;valueType&quot;:&quot;BOOL&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;updateTime&quot;:&quot;labore Lorem cupidatat&quot;,&quot;valueExtractor&quot;:&quot;\u003cstring\u003e&quot;,&quot;version&quot;:&quot;\u003cstring\u003e&quot;}],&quot;nextPageToken&quot;:&quot;nostrud sed aliquip&quot;}