...

Text file src/google.golang.org/api/google-api-go-generator/testdata/quotednum.json

Documentation: google.golang.org/api/google-api-go-generator/testdata

     1{
     2 "kind": "discovery#restDescription",
     3 "etag": "\"DGgqtFnjgu83tuwvvVNNUhOiHWk/1UCG4CqfTBrxPN0MRjUm7GaLJ7Y\"",
     4 "discoveryVersion": "v1",
     5 "id": "adexchangebuyer:v1.1",
     6 "name": "adexchangebuyer",
     7 "version": "v1.1",
     8 "title": "Ad Exchange Buyer API",
     9 "description": "Lets you manage your Ad Exchange Buyer account.",
    10 "ownerDomain": "google.com",
    11 "ownerName": "Google",
    12 "icons": {
    13  "x16": "http://www.google.com/images/icons/product/doubleclick-16.gif",
    14  "x32": "http://www.google.com/images/icons/product/doubleclick-32.gif"
    15 },
    16 "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
    17 "protocol": "rest",
    18 "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.1/",
    19 "basePath": "/adexchangebuyer/v1.1/",
    20 "rootUrl": "https://www.googleapis.com/",
    21 "mtlsRootUrl": "https://www.mtls.googleapis.com/",
    22 "servicePath": "adexchangebuyer/v1.1/",
    23 "batchPath": "batch",
    24 "parameters": {
    25  "alt": {
    26   "type": "string",
    27   "description": "Data format for the response.",
    28   "default": "json",
    29   "enum": [
    30    "json"
    31   ],
    32   "enumDescriptions": [
    33    "Responses with Content-Type of application/json"
    34   ],
    35   "location": "query"
    36  },
    37  "fields": {
    38   "type": "string",
    39   "description": "Selector specifying which fields to include in a partial response.",
    40   "location": "query"
    41  },
    42  "key": {
    43   "type": "string",
    44   "description": "API 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.",
    45   "location": "query"
    46  },
    47  "oauth_token": {
    48   "type": "string",
    49   "description": "OAuth 2.0 token for the current user.",
    50   "location": "query"
    51  },
    52  "prettyPrint": {
    53   "type": "boolean",
    54   "description": "Returns response with indentations and line breaks.",
    55   "default": "true",
    56   "location": "query"
    57  },
    58  "quotaUser": {
    59   "type": "string",
    60   "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
    61   "location": "query"
    62  },
    63  "userIp": {
    64   "type": "string",
    65   "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
    66   "location": "query"
    67  }
    68 },
    69 "auth": {
    70  "oauth2": {
    71   "scopes": {
    72    "https://www.googleapis.com/auth/adexchange.buyer": {
    73     "description": "Manage your Ad Exchange buyer account configuration"
    74    }
    75   }
    76  }
    77 },
    78 "schemas": {
    79  "Creative": {
    80   "id": "Creative",
    81   "type": "object",
    82   "description": "A creative and its classification data.",
    83   "properties": {
    84    "advertiserId": {
    85     "type": "array",
    86     "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
    87     "items": {
    88      "type": "string",
    89      "format": "int64"
    90     }
    91    }
    92   }
    93  }
    94 }
    95}

View as plain text