1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="androidmanagement_v1.html">Android Management API</a> . <a href="androidmanagement_v1.enterprises.html">enterprises</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="androidmanagement_v1.enterprises.applications.html">applications()</a></code> 79</p> 80<p class="firstline">Returns the applications Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="androidmanagement_v1.enterprises.devices.html">devices()</a></code> 84</p> 85<p class="firstline">Returns the devices Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="androidmanagement_v1.enterprises.enrollmentTokens.html">enrollmentTokens()</a></code> 89</p> 90<p class="firstline">Returns the enrollmentTokens Resource.</p> 91 92<p class="toc_element"> 93 <code><a href="androidmanagement_v1.enterprises.policies.html">policies()</a></code> 94</p> 95<p class="firstline">Returns the policies Resource.</p> 96 97<p class="toc_element"> 98 <code><a href="androidmanagement_v1.enterprises.webApps.html">webApps()</a></code> 99</p> 100<p class="firstline">Returns the webApps Resource.</p> 101 102<p class="toc_element"> 103 <code><a href="androidmanagement_v1.enterprises.webTokens.html">webTokens()</a></code> 104</p> 105<p class="firstline">Returns the webTokens Resource.</p> 106 107<p class="toc_element"> 108 <code><a href="#close">close()</a></code></p> 109<p class="firstline">Close httplib2 connections.</p> 110<p class="toc_element"> 111 <code><a href="#create">create(agreementAccepted=None, body=None, enterpriseToken=None, projectId=None, signupUrlName=None, x__xgafv=None)</a></code></p> 112<p class="firstline">Creates an enterprise. This is the last step in the enterprise signup flow.</p> 113<p class="toc_element"> 114 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 115<p class="firstline">Deletes an enterprise. Only available for EMM-managed enterprises.</p> 116<p class="toc_element"> 117 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 118<p class="firstline">Gets an enterprise.</p> 119<p class="toc_element"> 120 <code><a href="#list">list(pageSize=None, pageToken=None, projectId=None, view=None, x__xgafv=None)</a></code></p> 121<p class="firstline">Lists EMM-managed enterprises. Only BASIC fields are returned.</p> 122<p class="toc_element"> 123 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 124<p class="firstline">Retrieves the next page of results.</p> 125<p class="toc_element"> 126 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 127<p class="firstline">Updates an enterprise.</p> 128<h3>Method Details</h3> 129<div class="method"> 130 <code class="details" id="close">close()</code> 131 <pre>Close httplib2 connections.</pre> 132</div> 133 134<div class="method"> 135 <code class="details" id="create">create(agreementAccepted=None, body=None, enterpriseToken=None, projectId=None, signupUrlName=None, x__xgafv=None)</code> 136 <pre>Creates an enterprise. This is the last step in the enterprise signup flow. 137 138Args: 139 body: object, The request body. 140 The object takes the form of: 141 142{ # The configuration applied to an enterprise. 143 "appAutoApprovalEnabled": True or False, # Deprecated and unused. 144 "contactInfo": { # Contact details for managed Google Play enterprises. # The enterprise contact info of an EMM-managed enterprise. 145 "contactEmail": "A String", # Email address for a point of contact, which will be used to send important announcements related to managed Google Play. 146 "dataProtectionOfficerEmail": "A String", # The email of the data protection officer. The email is validated but not verified. 147 "dataProtectionOfficerName": "A String", # The name of the data protection officer. 148 "dataProtectionOfficerPhone": "A String", # The phone number of the data protection officer The phone number is validated but not verified. 149 "euRepresentativeEmail": "A String", # The email of the EU representative. The email is validated but not verified. 150 "euRepresentativeName": "A String", # The name of the EU representative. 151 "euRepresentativePhone": "A String", # The phone number of the EU representative. The phone number is validated but not verified. 152 }, 153 "enabledNotificationTypes": [ # The types of Google Pub/Sub notifications enabled for the enterprise. 154 "A String", 155 ], 156 "enterpriseDisplayName": "A String", # The name of the enterprise displayed to users. 157 "logo": { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng. 158 "sha256Hash": "A String", # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data. 159 "url": "A String", # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL. 160 }, 161 "name": "A String", # The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}. 162 "primaryColor": 42, # A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. 163 "pubsubTopic": "A String", # The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled. 164 "signinDetails": [ # Sign-in details of the enterprise. 165 { # A resource containing sign in details for an enterprise. 166 "allowPersonalUsage": "A String", # Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. 167 "qrCode": "A String", # A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server. 168 "signinEnrollmentToken": "A String", # An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. 169 "signinUrl": "A String", # Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login. 170 }, 171 ], 172 "termsAndConditions": [ # Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list. 173 { # A terms and conditions page to be accepted during provisioning. 174 "content": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml. 175 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 176 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 177 "a_key": "A String", 178 }, 179 }, 180 "header": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A short header which appears above the HTML content. 181 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 182 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 183 "a_key": "A String", 184 }, 185 }, 186 }, 187 ], 188} 189 190 agreementAccepted: boolean, Whether the enterprise admin has seen and agreed to the managed Google Play Agreement (https://www.android.com/enterprise/terms/). Always set this to true when creating an EMM-managed enterprise. Do not create the enterprise until the admin has viewed and accepted the agreement. 191 enterpriseToken: string, The enterprise token appended to the callback URL. Only set this when creating a customer-managed enterprise. 192 projectId: string, The ID of the Google Cloud Platform project which will own the enterprise. 193 signupUrlName: string, The name of the SignupUrl used to sign up for the enterprise. Only set this when creating a customer-managed enterprise. 194 x__xgafv: string, V1 error format. 195 Allowed values 196 1 - v1 error format 197 2 - v2 error format 198 199Returns: 200 An object of the form: 201 202 { # The configuration applied to an enterprise. 203 "appAutoApprovalEnabled": True or False, # Deprecated and unused. 204 "contactInfo": { # Contact details for managed Google Play enterprises. # The enterprise contact info of an EMM-managed enterprise. 205 "contactEmail": "A String", # Email address for a point of contact, which will be used to send important announcements related to managed Google Play. 206 "dataProtectionOfficerEmail": "A String", # The email of the data protection officer. The email is validated but not verified. 207 "dataProtectionOfficerName": "A String", # The name of the data protection officer. 208 "dataProtectionOfficerPhone": "A String", # The phone number of the data protection officer The phone number is validated but not verified. 209 "euRepresentativeEmail": "A String", # The email of the EU representative. The email is validated but not verified. 210 "euRepresentativeName": "A String", # The name of the EU representative. 211 "euRepresentativePhone": "A String", # The phone number of the EU representative. The phone number is validated but not verified. 212 }, 213 "enabledNotificationTypes": [ # The types of Google Pub/Sub notifications enabled for the enterprise. 214 "A String", 215 ], 216 "enterpriseDisplayName": "A String", # The name of the enterprise displayed to users. 217 "logo": { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng. 218 "sha256Hash": "A String", # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data. 219 "url": "A String", # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL. 220 }, 221 "name": "A String", # The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}. 222 "primaryColor": 42, # A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. 223 "pubsubTopic": "A String", # The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled. 224 "signinDetails": [ # Sign-in details of the enterprise. 225 { # A resource containing sign in details for an enterprise. 226 "allowPersonalUsage": "A String", # Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. 227 "qrCode": "A String", # A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server. 228 "signinEnrollmentToken": "A String", # An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. 229 "signinUrl": "A String", # Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login. 230 }, 231 ], 232 "termsAndConditions": [ # Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list. 233 { # A terms and conditions page to be accepted during provisioning. 234 "content": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml. 235 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 236 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 237 "a_key": "A String", 238 }, 239 }, 240 "header": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A short header which appears above the HTML content. 241 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 242 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 243 "a_key": "A String", 244 }, 245 }, 246 }, 247 ], 248}</pre> 249</div> 250 251<div class="method"> 252 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 253 <pre>Deletes an enterprise. Only available for EMM-managed enterprises. 254 255Args: 256 name: string, The name of the enterprise in the form enterprises/{enterpriseId}. (required) 257 x__xgafv: string, V1 error format. 258 Allowed values 259 1 - v1 error format 260 2 - v2 error format 261 262Returns: 263 An object of the form: 264 265 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}. 266}</pre> 267</div> 268 269<div class="method"> 270 <code class="details" id="get">get(name, x__xgafv=None)</code> 271 <pre>Gets an enterprise. 272 273Args: 274 name: string, The name of the enterprise in the form enterprises/{enterpriseId}. (required) 275 x__xgafv: string, V1 error format. 276 Allowed values 277 1 - v1 error format 278 2 - v2 error format 279 280Returns: 281 An object of the form: 282 283 { # The configuration applied to an enterprise. 284 "appAutoApprovalEnabled": True or False, # Deprecated and unused. 285 "contactInfo": { # Contact details for managed Google Play enterprises. # The enterprise contact info of an EMM-managed enterprise. 286 "contactEmail": "A String", # Email address for a point of contact, which will be used to send important announcements related to managed Google Play. 287 "dataProtectionOfficerEmail": "A String", # The email of the data protection officer. The email is validated but not verified. 288 "dataProtectionOfficerName": "A String", # The name of the data protection officer. 289 "dataProtectionOfficerPhone": "A String", # The phone number of the data protection officer The phone number is validated but not verified. 290 "euRepresentativeEmail": "A String", # The email of the EU representative. The email is validated but not verified. 291 "euRepresentativeName": "A String", # The name of the EU representative. 292 "euRepresentativePhone": "A String", # The phone number of the EU representative. The phone number is validated but not verified. 293 }, 294 "enabledNotificationTypes": [ # The types of Google Pub/Sub notifications enabled for the enterprise. 295 "A String", 296 ], 297 "enterpriseDisplayName": "A String", # The name of the enterprise displayed to users. 298 "logo": { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng. 299 "sha256Hash": "A String", # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data. 300 "url": "A String", # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL. 301 }, 302 "name": "A String", # The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}. 303 "primaryColor": 42, # A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. 304 "pubsubTopic": "A String", # The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled. 305 "signinDetails": [ # Sign-in details of the enterprise. 306 { # A resource containing sign in details for an enterprise. 307 "allowPersonalUsage": "A String", # Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. 308 "qrCode": "A String", # A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server. 309 "signinEnrollmentToken": "A String", # An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. 310 "signinUrl": "A String", # Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login. 311 }, 312 ], 313 "termsAndConditions": [ # Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list. 314 { # A terms and conditions page to be accepted during provisioning. 315 "content": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml. 316 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 317 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 318 "a_key": "A String", 319 }, 320 }, 321 "header": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A short header which appears above the HTML content. 322 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 323 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 324 "a_key": "A String", 325 }, 326 }, 327 }, 328 ], 329}</pre> 330</div> 331 332<div class="method"> 333 <code class="details" id="list">list(pageSize=None, pageToken=None, projectId=None, view=None, x__xgafv=None)</code> 334 <pre>Lists EMM-managed enterprises. Only BASIC fields are returned. 335 336Args: 337 pageSize: integer, The requested page size. The actual page size may be fixed to a min or max value. 338 pageToken: string, A token identifying a page of results returned by the server. 339 projectId: string, Required. The Cloud project ID of the EMM managing the enterprises. 340 view: string, Specifies which Enterprise fields to return. This method only supports BASIC. 341 Allowed values 342 ENTERPRISE_VIEW_UNSPECIFIED - The API will default to the BASIC view for the List method. 343 BASIC - Includes name and enterprise_display_name fields. 344 x__xgafv: string, V1 error format. 345 Allowed values 346 1 - v1 error format 347 2 - v2 error format 348 349Returns: 350 An object of the form: 351 352 { # Response to a request to list enterprises. 353 "enterprises": [ # The list of enterprises. 354 { # The configuration applied to an enterprise. 355 "appAutoApprovalEnabled": True or False, # Deprecated and unused. 356 "contactInfo": { # Contact details for managed Google Play enterprises. # The enterprise contact info of an EMM-managed enterprise. 357 "contactEmail": "A String", # Email address for a point of contact, which will be used to send important announcements related to managed Google Play. 358 "dataProtectionOfficerEmail": "A String", # The email of the data protection officer. The email is validated but not verified. 359 "dataProtectionOfficerName": "A String", # The name of the data protection officer. 360 "dataProtectionOfficerPhone": "A String", # The phone number of the data protection officer The phone number is validated but not verified. 361 "euRepresentativeEmail": "A String", # The email of the EU representative. The email is validated but not verified. 362 "euRepresentativeName": "A String", # The name of the EU representative. 363 "euRepresentativePhone": "A String", # The phone number of the EU representative. The phone number is validated but not verified. 364 }, 365 "enabledNotificationTypes": [ # The types of Google Pub/Sub notifications enabled for the enterprise. 366 "A String", 367 ], 368 "enterpriseDisplayName": "A String", # The name of the enterprise displayed to users. 369 "logo": { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng. 370 "sha256Hash": "A String", # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data. 371 "url": "A String", # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL. 372 }, 373 "name": "A String", # The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}. 374 "primaryColor": 42, # A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. 375 "pubsubTopic": "A String", # The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled. 376 "signinDetails": [ # Sign-in details of the enterprise. 377 { # A resource containing sign in details for an enterprise. 378 "allowPersonalUsage": "A String", # Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. 379 "qrCode": "A String", # A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server. 380 "signinEnrollmentToken": "A String", # An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. 381 "signinUrl": "A String", # Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login. 382 }, 383 ], 384 "termsAndConditions": [ # Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list. 385 { # A terms and conditions page to be accepted during provisioning. 386 "content": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml. 387 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 388 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 389 "a_key": "A String", 390 }, 391 }, 392 "header": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A short header which appears above the HTML content. 393 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 394 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 395 "a_key": "A String", 396 }, 397 }, 398 }, 399 ], 400 }, 401 ], 402 "nextPageToken": "A String", # If there are more results, a token to retrieve next page of results. 403}</pre> 404</div> 405 406<div class="method"> 407 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 408 <pre>Retrieves the next page of results. 409 410Args: 411 previous_request: The request for the previous page. (required) 412 previous_response: The response from the request for the previous page. (required) 413 414Returns: 415 A request object that you can call 'execute()' on to request the next 416 page. Returns None if there are no more items in the collection. 417 </pre> 418</div> 419 420<div class="method"> 421 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code> 422 <pre>Updates an enterprise. 423 424Args: 425 name: string, The name of the enterprise in the form enterprises/{enterpriseId}. (required) 426 body: object, The request body. 427 The object takes the form of: 428 429{ # The configuration applied to an enterprise. 430 "appAutoApprovalEnabled": True or False, # Deprecated and unused. 431 "contactInfo": { # Contact details for managed Google Play enterprises. # The enterprise contact info of an EMM-managed enterprise. 432 "contactEmail": "A String", # Email address for a point of contact, which will be used to send important announcements related to managed Google Play. 433 "dataProtectionOfficerEmail": "A String", # The email of the data protection officer. The email is validated but not verified. 434 "dataProtectionOfficerName": "A String", # The name of the data protection officer. 435 "dataProtectionOfficerPhone": "A String", # The phone number of the data protection officer The phone number is validated but not verified. 436 "euRepresentativeEmail": "A String", # The email of the EU representative. The email is validated but not verified. 437 "euRepresentativeName": "A String", # The name of the EU representative. 438 "euRepresentativePhone": "A String", # The phone number of the EU representative. The phone number is validated but not verified. 439 }, 440 "enabledNotificationTypes": [ # The types of Google Pub/Sub notifications enabled for the enterprise. 441 "A String", 442 ], 443 "enterpriseDisplayName": "A String", # The name of the enterprise displayed to users. 444 "logo": { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng. 445 "sha256Hash": "A String", # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data. 446 "url": "A String", # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL. 447 }, 448 "name": "A String", # The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}. 449 "primaryColor": 42, # A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. 450 "pubsubTopic": "A String", # The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled. 451 "signinDetails": [ # Sign-in details of the enterprise. 452 { # A resource containing sign in details for an enterprise. 453 "allowPersonalUsage": "A String", # Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. 454 "qrCode": "A String", # A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server. 455 "signinEnrollmentToken": "A String", # An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. 456 "signinUrl": "A String", # Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login. 457 }, 458 ], 459 "termsAndConditions": [ # Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list. 460 { # A terms and conditions page to be accepted during provisioning. 461 "content": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml. 462 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 463 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 464 "a_key": "A String", 465 }, 466 }, 467 "header": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A short header which appears above the HTML content. 468 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 469 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 470 "a_key": "A String", 471 }, 472 }, 473 }, 474 ], 475} 476 477 updateMask: string, The field mask indicating the fields to update. If not set, all modifiable fields will be modified. 478 x__xgafv: string, V1 error format. 479 Allowed values 480 1 - v1 error format 481 2 - v2 error format 482 483Returns: 484 An object of the form: 485 486 { # The configuration applied to an enterprise. 487 "appAutoApprovalEnabled": True or False, # Deprecated and unused. 488 "contactInfo": { # Contact details for managed Google Play enterprises. # The enterprise contact info of an EMM-managed enterprise. 489 "contactEmail": "A String", # Email address for a point of contact, which will be used to send important announcements related to managed Google Play. 490 "dataProtectionOfficerEmail": "A String", # The email of the data protection officer. The email is validated but not verified. 491 "dataProtectionOfficerName": "A String", # The name of the data protection officer. 492 "dataProtectionOfficerPhone": "A String", # The phone number of the data protection officer The phone number is validated but not verified. 493 "euRepresentativeEmail": "A String", # The email of the EU representative. The email is validated but not verified. 494 "euRepresentativeName": "A String", # The name of the EU representative. 495 "euRepresentativePhone": "A String", # The phone number of the EU representative. The phone number is validated but not verified. 496 }, 497 "enabledNotificationTypes": [ # The types of Google Pub/Sub notifications enabled for the enterprise. 498 "A String", 499 ], 500 "enterpriseDisplayName": "A String", # The name of the enterprise displayed to users. 501 "logo": { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng. 502 "sha256Hash": "A String", # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data. 503 "url": "A String", # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL. 504 }, 505 "name": "A String", # The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}. 506 "primaryColor": 42, # A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. 507 "pubsubTopic": "A String", # The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled. 508 "signinDetails": [ # Sign-in details of the enterprise. 509 { # A resource containing sign in details for an enterprise. 510 "allowPersonalUsage": "A String", # Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. 511 "qrCode": "A String", # A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server. 512 "signinEnrollmentToken": "A String", # An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. 513 "signinUrl": "A String", # Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login. 514 }, 515 ], 516 "termsAndConditions": [ # Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list. 517 { # A terms and conditions page to be accepted during provisioning. 518 "content": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml. 519 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 520 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 521 "a_key": "A String", 522 }, 523 }, 524 "header": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # A short header which appears above the HTML content. 525 "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. 526 "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. 527 "a_key": "A String", 528 }, 529 }, 530 }, 531 ], 532}</pre> 533</div> 534 535</body></html>