{
  "protocol": "rest",
  "servicePath": "",
  "schemas": {
    "CustomApp": {
      "description": "This resource represents a custom app.",
      "properties": {
        "organizations": {
          "description": "Organizations to which the custom app should be made available. If the request contains any organizations, then the app will be restricted to only these organizations. To support the organization linked to the developer account, the organization ID should be provided explicitly together with other organizations. If no organizations are provided, then the app is only available to the organization linked to the developer account.",
          "type": "array",
          "items": {
            "$ref": "Organization"
          }
        },
        "title": {
          "description": "Title for the Android app.",
          "type": "string"
        },
        "packageName": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Package name of the created Android app. Only present in the API response."
        },
        "languageCode": {
          "type": "string",
          "description": "Default listing language in BCP 47 format."
        }
      },
      "type": "object",
      "id": "CustomApp"
    },
    "Organization": {
      "description": "Represents an organization that can access a custom app.",
      "properties": {
        "organizationId": {
          "description": "Required. ID of the organization.",
          "type": "string"
        },
        "organizationName": {
          "description": "Optional. A human-readable name of the organization, to help recognize the organization.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "Organization"
    }
  },
  "revision": "20261001",
  "fullyEncodeReservedExpansion": true,
  "resources": {
    "accounts": {
      "resources": {
        "customApps": {
          "methods": {
            "create": {
              "id": "playcustomapp.accounts.customApps.create",
              "parameterOrder": [
                "account"
              ],
              "path": "playcustomapp/v1/accounts/{account}/customApps",
              "flatPath": "playcustomapp/v1/accounts/{account}/customApps",
              "response": {
                "$ref": "CustomApp"
              },
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "POST",
              "parameters": {
                "account": {
                  "description": "Developer account ID.",
                  "type": "string",
                  "required": true,
                  "format": "int64",
                  "location": "path"
                }
              },
              "supportsMediaUpload": true,
              "request": {
                "$ref": "CustomApp"
              },
              "mediaUpload": {
                "accept": [
                  "*/*"
                ],
                "maxSize": "10737418240",
                "protocols": {
                  "resumable": {
                    "multipart": true,
                    "path": "/resumable/upload/playcustomapp/v1/accounts/{account}/customApps"
                  },
                  "simple": {
                    "multipart": true,
                    "path": "/upload/playcustomapp/v1/accounts/{account}/customApps"
                  }
                }
              },
              "description": "Creates a new custom app."
            }
          }
        }
      }
    }
  },
  "basePath": "",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/androidpublisher": {
          "description": "View and manage your Google Play Developer account"
        }
      }
    }
  },
  "title": "Google Play Custom App Publishing API",
  "baseUrl": "https://playcustomapp.googleapis.com/",
  "documentationLink": "https://developers.google.com/android/work/play/custom-app-api/",
  "batchPath": "batch",
  "rootUrl": "https://playcustomapp.googleapis.com/",
  "id": "playcustomapp:v1",
  "parameters": {
    "upload_protocol": {
      "location": "query",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "type": "string"
    },
    "quotaUser": {
      "type": "string",
      "location": "query",
      "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."
    },
    "fields": {
      "location": "query",
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string"
    },
    "access_token": {
      "location": "query",
      "type": "string",
      "description": "OAuth access token."
    },
    "callback": {
      "description": "JSONP",
      "location": "query",
      "type": "string"
    },
    "oauth_token": {
      "location": "query",
      "type": "string",
      "description": "OAuth 2.0 token for the current user."
    },
    "prettyPrint": {
      "location": "query",
      "default": "true",
      "description": "Returns response with indentations and line breaks.",
      "type": "boolean"
    },
    "alt": {
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "type": "string",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "default": "json",
      "location": "query",
      "description": "Data format for response."
    },
    "uploadType": {
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "location": "query",
      "type": "string"
    },
    "key": {
      "location": "query",
      "type": "string",
      "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."
    },
    "$.xgafv": {
      "enum": [
        "1",
        "2"
      ],
      "location": "query",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "type": "string",
      "description": "V1 error format."
    }
  },
  "kind": "discovery#restDescription",
  "mtlsRootUrl": "https://playcustomapp.mtls.googleapis.com/",
  "description": "API to create and publish custom Android apps",
  "name": "playcustomapp",
  "discoveryVersion": "v1",
  "version": "v1",
  "ownerName": "Google",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "ownerDomain": "google.com"
}
