Class SettingsDeliveryRequest
SettingsDeliveryRequest
Inherited Members
Namespace: Unity.Services.Apis.RemoteConfig
Assembly: solution.dll
Syntax
[Preserve]
public class SettingsDeliveryRequest
Constructors
SettingsDeliveryRequest(string, string, string, string, string, List<string>, List<TypeEnum>, bool, string, string, RequestAttributes)
Initializes a new instance of the SettingsDeliveryRequest class.
Declaration
[Preserve]
public SettingsDeliveryRequest(string projectId = "", string userId = "", string customUserId = null, string environmentId = null, string configType = "settings", List<string> key = null, List<SettingsDeliveryRequest.TypeEnum> type = null, bool isDebugBuild = false, string packageVersion = "2.0.0", string attributionMetadata = "", RequestAttributes attributes = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | projectId | The projectId for the requesting Unity project. (required) (default to ""). |
| string | userId | The userID for the user requesting settings. (required) (default to ""). |
| string | customUserId | An optional custom userID.. |
| string | environmentId | An optional environmentID to choose a non-default environment.. |
| string | configType | An optional configType. Defaults to 'settings' (default to "settings"). |
| List<string> | key | An optional array of filters for including settings with keys containing any of the specified values. |
| List<SettingsDeliveryRequest.TypeEnum> | type | An optional array of filters for including settings with specific types. |
| bool | isDebugBuild | Should be set to 'true' when the request is coming from a debug build. (default to false). |
| string | packageVersion | Used to specify what Remote Config package version sent the request. (default to "2.0.0"). |
| string | attributionMetadata | Used to specify the origin of the request for attribution. (default to ""). |
| RequestAttributes | attributes | attributes. |
Properties
Attributes
Gets or Sets Attributes
Declaration
[Preserve]
public RequestAttributes Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| RequestAttributes |
AttributionMetadata
Used to specify the origin of the request for attribution.
Declaration
[Preserve]
public string AttributionMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Used to specify the origin of the request for attribution. |
ConfigType
An optional configType. Defaults to 'settings'
Declaration
[Preserve]
public string ConfigType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | An optional configType. Defaults to 'settings' |
CustomUserId
An optional custom userID.
Declaration
[Preserve]
public string CustomUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | An optional custom userID. |
EnvironmentId
An optional environmentID to choose a non-default environment.
Declaration
[Preserve]
public string EnvironmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | An optional environmentID to choose a non-default environment. |
IsDebugBuild
Should be set to 'true' when the request is coming from a debug build.
Declaration
[Preserve]
public bool IsDebugBuild { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Should be set to 'true' when the request is coming from a debug build. |
Key
An optional array of filters for including settings with keys containing any of the specified values
Declaration
[Preserve]
public List<string> Key { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | An optional array of filters for including settings with keys containing any of the specified values |
PackageVersion
Used to specify what Remote Config package version sent the request.
Declaration
[Preserve]
public string PackageVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Used to specify what Remote Config package version sent the request. |
ProjectId
The projectId for the requesting Unity project.
Declaration
[Preserve]
public string ProjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The projectId for the requesting Unity project. |
Type
An optional array of filters for including settings with specific types
Declaration
[Preserve]
public List<SettingsDeliveryRequest.TypeEnum> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SettingsDeliveryRequest.TypeEnum> | An optional array of filters for including settings with specific types |
UserId
The userID for the user requesting settings.
Declaration
[Preserve]
public string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The userID for the user requesting settings. |