Show / Hide Table of Contents

Class CustomersResource.ConfigurationsResource

The "configurations" collection of methods.

Inheritance
object
CustomersResource.ConfigurationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidProvisioningPartner.v1
Assembly: Google.Apis.AndroidProvisioningPartner.v1.dll
Syntax
public class CustomersResource.ConfigurationsResource

Constructors

ConfigurationsResource(IClientService)

Constructs a new resource.

Declaration
public ConfigurationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Configuration, string)

Creates a new configuration. Once created, a customer can apply the configuration to devices.

Declaration
public virtual CustomersResource.ConfigurationsResource.CreateRequest Create(Configuration body, string parent)
Parameters
Type Name Description
Configuration body

The body of the request.

string 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

Returns
Type Description
CustomersResource.ConfigurationsResource.CreateRequest

Delete(string)

Deletes an unused configuration. The API call fails if the customer has devices with the configuration applied.

Declaration
public virtual CustomersResource.ConfigurationsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string 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
Type Description
CustomersResource.ConfigurationsResource.DeleteRequest

Get(string)

Gets the details of a configuration.

Declaration
public virtual CustomersResource.ConfigurationsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The configuration to get. An API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID].

Returns
Type Description
CustomersResource.ConfigurationsResource.GetRequest

List(string)

Lists a customer's configurations.

Declaration
public virtual CustomersResource.ConfigurationsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The customer that manages the listed configurations. An API resource name in the format customers/[CUSTOMER_ID].

Returns
Type Description
CustomersResource.ConfigurationsResource.ListRequest

Patch(Configuration, string)

Updates a configuration's field values.

Declaration
public virtual CustomersResource.ConfigurationsResource.PatchRequest Patch(Configuration body, string name)
Parameters
Type Name Description
Configuration body

The body of the request.

string name

Output only. The API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]. Assigned by the server.

Returns
Type Description
CustomersResource.ConfigurationsResource.PatchRequest
In this article
Back to top Generated by DocFX