Method: deployments.configs.get
Stay organized with collections
Save and categorize content based on your preferences.
Gets a config
view. Returns NOT_FOUND
if the matching path does not exist.
HTTP request
GET https://androidovertheair.googleapis.com/v1/{name=deployments/*/configs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Relative resource name. For example: "deployments/deployment_x/configs/config_a"
|
Query parameters
Parameters |
view |
enum (View )
Optional. Specify whether basic or detailed information of the config should be returned.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Config
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/android_partner_over_the_air
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eRetrieves a detailed or basic view of a specified Android Over-the-Air (OTA) deployment configuration.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request with the configuration's resource name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an optional query parameter, \u003ccode\u003eview\u003c/code\u003e, to control the level of detail returned.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/android_partner_over_the_air\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eReturns a \u003ccode\u003eNOT_FOUND\u003c/code\u003e error if the specified configuration does not exist.\u003c/p\u003e\n"]]],["This document details retrieving a specific configuration (`Config`) via an HTTP GET request. The request URL follows gRPC Transcoding syntax, with the `name` path parameter defining the target resource (e.g., \"deployments/deployment_x/configs/config_a\"). An optional `view` query parameter dictates the level of detail in the returned `Config`. The request body must be empty. A successful request returns a `Config` instance; otherwise, it returns `NOT_FOUND`. Authorization requires the `android_partner_over_the_air` OAuth scope.\n"],null,["# Method: deployments.configs.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets a [config](/android/over-the-air/reference/rest/v1/deployments.configs#Config) view. Returns `NOT_FOUND` if the matching path does not exist.\n\n### HTTP request\n\n`GET https://androidovertheair.googleapis.com/v1/{name=deployments/*/configs/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------|\n| `name` | `string` Relative resource name. For example: \"deployments/deployment_x/configs/config_a\" |\n\n### Query parameters\n\n| Parameters ||\n|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `view` | `enum (`[View](/android/over-the-air/reference/rest/v1/View)`)` Optional. Specify whether basic or detailed information of the config should be returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Config](/android/over-the-air/reference/rest/v1/deployments.configs#Config).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/android_partner_over_the_air`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]