Class ApnSetting
An Access Point Name (APN) configuration for a carrier data connection. The APN provides configuration to connect a cellular network device to an IP data network. A carrier uses this setting to decide which IP address to assign, any security methods to apply, and how the device might be connected to private networks.
Implements
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class ApnSetting : IDirectResponseSchema
Properties
AlwaysOnSetting
Optional. Whether User Plane resources have to be activated during every transition from CM-IDLE mode to CM-CONNECTED state for this APN. See 3GPP TS 23.501 section 5.6.13.
Declaration
[JsonProperty("alwaysOnSetting")]
public virtual string AlwaysOnSetting { get; set; }
Property Value
Type | Description |
---|---|
string |
Apn
Required. Name of the APN. Policy will be rejected if this field is empty.
Declaration
[JsonProperty("apn")]
public virtual string Apn { get; set; }
Property Value
Type | Description |
---|---|
string |
ApnTypes
Required. Usage categories for the APN. Policy will be rejected if this field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN types can be set on fully managed devices. ENTERPRISE is the only allowed APN type on work profiles. A nonComplianceDetail with MANAGEMENT_MODE is reported for any other value on work profiles. APN types that are not supported on the device or management mode will be ignored. If this results in the empty list, the APN setting will be ignored, because apnTypes is a required field. A nonComplianceDetail with INVALID_VALUE is reported if none of the APN types are supported on the device or management mode.
Declaration
[JsonProperty("apnTypes")]
public virtual IList<string> ApnTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
AuthType
Optional. Authentication type of the APN.
Declaration
[JsonProperty("authType")]
public virtual string AuthType { get; set; }
Property Value
Type | Description |
---|---|
string |
CarrierId
Optional. Carrier ID for the APN. A value of 0 (default) means not set and negative values are rejected.
Declaration
[JsonProperty("carrierId")]
public virtual int? CarrierId { get; set; }
Property Value
Type | Description |
---|---|
int? |
DisplayName
Required. Human-readable name that describes the APN. Policy will be rejected if this field is empty.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MmsProxyAddress
Optional. MMS (Multimedia Messaging Service) proxy address of the APN which can be an IP address or hostname (not a URL).
Declaration
[JsonProperty("mmsProxyAddress")]
public virtual string MmsProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
MmsProxyPort
Optional. MMS (Multimedia Messaging Service) proxy port of the APN. A value of 0 (default) means not set and negative values are rejected.
Declaration
[JsonProperty("mmsProxyPort")]
public virtual int? MmsProxyPort { get; set; }
Property Value
Type | Description |
---|---|
int? |
Mmsc
Optional. MMSC (Multimedia Messaging Service Center) URI of the APN.
Declaration
[JsonProperty("mmsc")]
public virtual string Mmsc { get; set; }
Property Value
Type | Description |
---|---|
string |
MtuV4
Optional. The default MTU (Maximum Transmission Unit) size in bytes of the IPv4 routes brought up by this APN setting. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.
Declaration
[JsonProperty("mtuV4")]
public virtual int? MtuV4 { get; set; }
Property Value
Type | Description |
---|---|
int? |
MtuV6
Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile interface to which the APN connected. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.
Declaration
[JsonProperty("mtuV6")]
public virtual int? MtuV6 { get; set; }
Property Value
Type | Description |
---|---|
int? |
MvnoType
Optional. MVNO match type for the APN.
Declaration
[JsonProperty("mvnoType")]
public virtual string MvnoType { get; set; }
Property Value
Type | Description |
---|---|
string |
NetworkTypes
Optional. Radio technologies (network types) the APN may use. Policy will be rejected if this field contains NETWORK_TYPE_UNSPECIFIED or duplicates.
Declaration
[JsonProperty("networkTypes")]
public virtual IList<string> NetworkTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
NumericOperatorId
Optional. The numeric operator ID of the APN. Numeric operator ID is defined as MCC (Mobile Country Code) + MNC (Mobile Network Code).
Declaration
[JsonProperty("numericOperatorId")]
public virtual string NumericOperatorId { get; set; }
Property Value
Type | Description |
---|---|
string |
Password
Optional. APN password of the APN.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
Protocol
Optional. The protocol to use to connect to this APN.
Declaration
[JsonProperty("protocol")]
public virtual string Protocol { get; set; }
Property Value
Type | Description |
---|---|
string |
ProxyAddress
Optional. The proxy address of the APN.
Declaration
[JsonProperty("proxyAddress")]
public virtual string ProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
ProxyPort
Optional. The proxy port of the APN. A value of 0 (default) means not set and negative values are rejected.
Declaration
[JsonProperty("proxyPort")]
public virtual int? ProxyPort { get; set; }
Property Value
Type | Description |
---|---|
int? |
RoamingProtocol
Optional. The protocol to use to connect to this APN while the device is roaming.
Declaration
[JsonProperty("roamingProtocol")]
public virtual string RoamingProtocol { get; set; }
Property Value
Type | Description |
---|---|
string |
Username
Optional. APN username of the APN.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
string |