target.apidocs.com.google.api.services.androiddeviceprovisioning.v1.AndroidProvisioningPartner.Customers.Configurations.html Maven / Gradle / Ivy
AndroidProvisioningPartner.Customers.Configurations (Android Device Provisioning Partner API v1-rev20241202-2.0.0)
com.google.api.services.androiddeviceprovisioning.v1
Class AndroidProvisioningPartner.Customers.Configurations
- java.lang.Object
-
- com.google.api.services.androiddeviceprovisioning.v1.AndroidProvisioningPartner.Customers.Configurations
-
- Enclosing class:
- AndroidProvisioningPartner.Customers
public class AndroidProvisioningPartner.Customers.Configurations
extends Object
The "configurations" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AndroidProvisioningPartner.Customers.Configurations.Create
class
AndroidProvisioningPartner.Customers.Configurations.Delete
class
AndroidProvisioningPartner.Customers.Configurations.Get
class
AndroidProvisioningPartner.Customers.Configurations.List
class
AndroidProvisioningPartner.Customers.Configurations.Patch
-
Constructor Summary
Constructors
Constructor and Description
Configurations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AndroidProvisioningPartner.Customers.Configurations.Create
create(String parent,
Configuration content)
Creates a new configuration.
AndroidProvisioningPartner.Customers.Configurations.Delete
delete(String name)
Deletes an unused configuration.
AndroidProvisioningPartner.Customers.Configurations.Get
get(String name)
Gets the details of a configuration.
AndroidProvisioningPartner.Customers.Configurations.List
list(String parent)
Lists a customer's configurations.
AndroidProvisioningPartner.Customers.Configurations.Patch
patch(String name,
Configuration content)
Updates a configuration's field values.
-
-
Method Detail
-
create
public AndroidProvisioningPartner.Customers.Configurations.Create create(String parent,
Configuration content)
throws IOException
Creates a new configuration. Once created, a customer can apply the configuration to devices.
Create a request for the method "configurations.create".
This request holds the parameters needed by the androiddeviceprovisioning server. After setting
any optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The customer that manages the configuration. An API resource name in the format
`customers/[CUSTOMER_ID]`. This field has custom validation in
CreateConfigurationRequestValidator
content
- the Configuration
- Returns:
- the request
- Throws:
IOException
-
delete
public AndroidProvisioningPartner.Customers.Configurations.Delete delete(String name)
throws IOException
Deletes an unused configuration. The API call fails if the customer has devices with the
configuration applied.
Create a request for the method "configurations.delete".
This request holds the parameters needed by the androiddeviceprovisioning server. After setting
any optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The configuration to delete. An API resource name in the format
`customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. If the configuration is
applied to any devices, the API call fails.
- Returns:
- the request
- Throws:
IOException
-
get
public AndroidProvisioningPartner.Customers.Configurations.Get get(String name)
throws IOException
Gets the details of a configuration.
Create a request for the method "configurations.get".
This request holds the parameters needed by the androiddeviceprovisioning server. After setting
any optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The configuration to get. An API resource name in the format
`customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`.
- Returns:
- the request
- Throws:
IOException
-
list
public AndroidProvisioningPartner.Customers.Configurations.List list(String parent)
throws IOException
Lists a customer's configurations.
Create a request for the method "configurations.list".
This request holds the parameters needed by the androiddeviceprovisioning server. After setting
any optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The customer that manages the listed configurations. An API resource name in the format
`customers/[CUSTOMER_ID]`.
- Returns:
- the request
- Throws:
IOException
-
patch
public AndroidProvisioningPartner.Customers.Configurations.Patch patch(String name,
Configuration content)
throws IOException
Updates a configuration's field values.
Create a request for the method "configurations.patch".
This request holds the parameters needed by the androiddeviceprovisioning server. After setting
any optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. The API resource name in the format
`customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
content
- the Configuration
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy