Google Play Custom App Publishing API . accounts . customApps

Instance Methods

close()

Close httplib2 connections.

create(account, body=None, media_body=None, media_mime_type=None, x__xgafv=None)

Creates a new custom app.

Method Details

close()
Close httplib2 connections.
create(account, body=None, media_body=None, media_mime_type=None, x__xgafv=None)
Creates a new custom app.

Args:
  account: string, Developer account ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # This resource represents a custom app.
  "languageCode": "A String", # Default listing language in BCP 47 format.
  "organizations": [ # 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.
    { # Represents an organization that can access a custom app.
      "organizationId": "A String", # Required. ID of the organization.
      "organizationName": "A String", # Optional. A human-readable name of the organization, to help recognize the organization.
    },
  ],
  "packageName": "A String", # Output only. Package name of the created Android app. Only present in the API response.
  "title": "A String", # Title for the Android app.
}

  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # This resource represents a custom app.
  "languageCode": "A String", # Default listing language in BCP 47 format.
  "organizations": [ # 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.
    { # Represents an organization that can access a custom app.
      "organizationId": "A String", # Required. ID of the organization.
      "organizationName": "A String", # Optional. A human-readable name of the organization, to help recognize the organization.
    },
  ],
  "packageName": "A String", # Output only. Package name of the created Android app. Only present in the API response.
  "title": "A String", # Title for the Android app.
}