public sealed class SerializedPolicy : IMessage<SerializedPolicy>, IEquatable<SerializedPolicy>, IDeepCloneable<SerializedPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Design Center v1 API class SerializedPolicy.
Serialized policy.
Implements
IMessageSerializedPolicy, IEquatableSerializedPolicy, IDeepCloneableSerializedPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.DesignCenter.V1Assembly
Google.Cloud.DesignCenter.V1.dll
Constructors
SerializedPolicy()
public SerializedPolicy()SerializedPolicy(SerializedPolicy)
public SerializedPolicy(SerializedPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
SerializedPolicy |
Properties
ApplyConditions
public RepeatedField<ApplyCondition> ApplyConditions { get; }Optional. The serialized policy apply conditions.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldApplyCondition |
|
CloudControlConfigs
public RepeatedField<CloudControlConfig> CloudControlConfigs { get; }Optional. Stored parameter values grouped by cloud control.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldCloudControlConfig |
|
Description
public string Description { get; set; }Optional. The serialized policy description. At most 2048 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisplayName
public string DisplayName { get; set; }Optional. The serialized policy display name. The number of characters should be less than 128 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasPolicyRevisionUri
public bool HasPolicyRevisionUri { get; }Gets whether the "policy_revision_uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasPolicyUri
public bool HasPolicyUri { get; }Gets whether the "policy_uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
PolicyRevisionUri
public string PolicyRevisionUri { get; set; }Optional. URI of the policy revision.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PolicyType
public SerializedPolicy.Types.PolicyType PolicyType { get; set; }Required. Policy type will be used to determine the domain of the policy.
| Property Value | |
|---|---|
| Type | Description |
SerializedPolicyTypesPolicyType |
|
PolicyUri
public string PolicyUri { get; set; }Optional. URI of the policy.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SourceUriCase
public SerializedPolicy.SourceUriOneofCase SourceUriCase { get; }| Property Value | |
|---|---|
| Type | Description |
SerializedPolicySourceUriOneofCase |
|
Uri
public string Uri { get; set; }Required. The uri of the policy in application template.
Format:
projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}
| Property Value | |
|---|---|
| Type | Description |
string |
|