google_api_android_management v0.6.0 GoogleApi.AndroidManagement.V1.Api.Enterprises View Source
API calls for all endpoints tagged Enterprises
.
Link to this section Summary
Functions
Creates an enterprise. This is the last step in the enterprise signup flow.
Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command.
Lists devices for a given enterprise.
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
Creates an enrollment token for a given enterprise.
Lists policies for a given enterprise.
Creates a web app.
Deletes a web app.
Gets a web app.
Lists web apps for a given enterprise.
Updates a web app.
Creates a web token to access an embeddable managed Google Play web UI for a given enterprise.
Link to this section Functions
androidmanagement_enterprises_create(connection, optional_params \\ [], opts \\ []) View Source
Creates an enterprise. This is the last step in the enterprise signup flow.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :enterpriseToken (String.t): The enterprise token appended to the callback URL.
- :projectId (String.t): The ID of the Google Cloud Platform project which will own the enterprise.
- :signupUrlName (String.t): The name of the SignupUrl used to sign up for the enterprise.
- :body (Enterprise):
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.Enterprise{}} on success {:error, info} on failure
androidmanagement_enterprises_devices_issue_command(connection, name, optional_params \\ [], opts \\ []) View Source
Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- name (String.t): The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :body (Command):
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.Operation{}} on success {:error, info} on failure
androidmanagement_enterprises_devices_list(connection, parent, optional_params \\ [], opts \\ []) View Source
Lists devices for a given enterprise.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- parent (String.t): The name of the enterprise in the form enterprises/{enterpriseId}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :pageSize (integer()): The requested page size. The actual page size may be fixed to a min or max value.
- :pageToken (String.t): A token identifying a page of results returned by the server.
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.ListDevicesResponse{}} on success {:error, info} on failure
androidmanagement_enterprises_devices_operations_cancel(connection, name, optional_params \\ [], opts \\ []) View Source
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- name (String.t): The name of the operation resource to be cancelled.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.Empty{}} on success {:error, info} on failure
androidmanagement_enterprises_enrollment_tokens_create(connection, parent, optional_params \\ [], opts \\ []) View Source
Creates an enrollment token for a given enterprise.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- parent (String.t): The name of the enterprise in the form enterprises/{enterpriseId}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :body (EnrollmentToken):
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.EnrollmentToken{}} on success {:error, info} on failure
androidmanagement_enterprises_policies_list(connection, parent, optional_params \\ [], opts \\ []) View Source
Lists policies for a given enterprise.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- parent (String.t): The name of the enterprise in the form enterprises/{enterpriseId}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :pageSize (integer()): The requested page size. The actual page size may be fixed to a min or max value.
- :pageToken (String.t): A token identifying a page of results returned by the server.
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.ListPoliciesResponse{}} on success {:error, info} on failure
androidmanagement_enterprises_web_apps_create(connection, parent, optional_params \\ [], opts \\ []) View Source
Creates a web app.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- parent (String.t): The name of the enterprise in the form enterprises/{enterpriseId}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :body (WebApp):
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.WebApp{}} on success {:error, info} on failure
androidmanagement_enterprises_web_apps_delete(connection, name, optional_params \\ [], opts \\ []) View Source
Deletes a web app.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- name (String.t): The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :wipeDataFlags ([String.t]): Optional flags that control the device wiping behavior.
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.Empty{}} on success {:error, info} on failure
androidmanagement_enterprises_web_apps_get(connection, name, optional_params \\ [], opts \\ []) View Source
Gets a web app.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- name (String.t): The name of the web app in the form enterprises/{enterpriseId}/webApp/{packageName}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :filter (String.t): The standard list filter.
- :pageSize (integer()): The standard list page size.
- :pageToken (String.t): The standard list page token.
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.WebApp{}} on success {:error, info} on failure
androidmanagement_enterprises_web_apps_list(connection, parent, optional_params \\ [], opts \\ []) View Source
Lists web apps for a given enterprise.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- parent (String.t): The name of the enterprise in the form enterprises/{enterpriseId}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :pageSize (integer()): The requested page size. The actual page size may be fixed to a min or max value.
- :pageToken (String.t): A token identifying a page of results returned by the server.
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.ListWebAppsResponse{}} on success {:error, info} on failure
androidmanagement_enterprises_web_apps_patch(connection, name, optional_params \\ [], opts \\ []) View Source
Updates a web app.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- name (String.t): The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :updateMask (String.t): The field mask indicating the fields to update. If not set, all modifiable fields will be modified.
- :body (WebApp):
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.WebApp{}} on success {:error, info} on failure
androidmanagement_enterprises_web_tokens_create(connection, parent, optional_params \\ [], opts \\ []) View Source
Creates a web token to access an embeddable managed Google Play web UI for a given enterprise.
Parameters
- connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
- parent (String.t): The name of the enterprise in the form enterprises/{enterpriseId}.
optional_params (KeywordList): [optional] Optional parameters
- :$.xgafv (String.t): V1 error format.
- :access_token (String.t): OAuth access token.
- :alt (String.t): Data format for response.
- :callback (String.t): JSONP
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): 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.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): 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.
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :body (WebToken):
Returns
{:ok, %GoogleApi.AndroidManagement.V1.Model.WebToken{}} on success {:error, info} on failure