~juju-qa/ubuntu/trusty/juju/juju-1.25.8

« back to all changes in this revision

Viewing changes to src/google.golang.org/api/google-api-go-generator/testdata/mapofarrayofobjects.json

  • Committer: Nicholas Skaggs
  • Date: 2016-12-02 18:01:10 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161202180110-dl1helep8qfebmhx
ImportĀ upstreamĀ 1.25.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
 "kind": "discovery#restDescription",
 
3
 "etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
 
4
 "discoveryVersion": "v1",
 
5
 "id": "additionalprops:v1",
 
6
 "name": "additionalprops",
 
7
 "version": "v1",
 
8
 "title": "Example API",
 
9
 "description": "The Example API demonstrates an associative array.",
 
10
 "ownerDomain": "google.com",
 
11
 "ownerName": "Google",
 
12
 "protocol": "rest",
 
13
 "schemas": {
 
14
  "TimeseriesDescriptor": {
 
15
   "id": "TimeseriesDescriptor",
 
16
   "type": "object",
 
17
   "description": "The descriptions of a time series.",
 
18
   "properties": {
 
19
    "labels": {
 
20
     "type": "object",
 
21
     "description": "The set of key-value pairs that describe this time series, including target-specific labels and metric-specific labels.",
 
22
     "additionalProperties": {
 
23
      "type": "string",
 
24
      "description": "The label's name."
 
25
     }
 
26
    },
 
27
    "metric": {
 
28
     "type": "string",
 
29
     "description": "The name of the metric."
 
30
    },
 
31
    "project": {
 
32
     "type": "string",
 
33
     "description": "The project ID to which this time series belongs."
 
34
    },
 
35
    "tags": {
 
36
     "type": "object",
 
37
     "description": "A map of additional information.",
 
38
     "additionalProperties": {
 
39
      "type": "array",
 
40
      "description": "A string which maps to an array of values.",
 
41
      "items": {
 
42
       "$ref": "Property"
 
43
      }
 
44
     }
 
45
    }
 
46
   }
 
47
  },
 
48
  "GetMapResponse": {
 
49
   "id": "GetMapResponse",
 
50
   "type": "object",
 
51
   "description": "Response of getting a map.",
 
52
   "additionalProperties": {
 
53
    "type": "string"
 
54
   }
 
55
  }
 
56
 },
 
57
 "resources": {
 
58
  "atlas": {
 
59
   "methods": {
 
60
    "getMap": {
 
61
     "id": "mapofstrings.getMap",
 
62
     "path": "map",
 
63
     "httpMethod": "GET",
 
64
     "description": "Get a map.",
 
65
     "response": {
 
66
      "$ref": "GetMapResponse"
 
67
     }
 
68
    }
 
69
   }
 
70
  }
 
71
 }
 
72
}