public sealed class CreatePolicyRequest : IMessage<CreatePolicyRequest>, IEquatable<CreatePolicyRequest>, IDeepCloneable<CreatePolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Design Center v1 API class CreatePolicyRequest.
Message for creating a policy.
Implements
IMessageCreatePolicyRequest, IEquatableCreatePolicyRequest, IDeepCloneableCreatePolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.DesignCenter.V1Assembly
Google.Cloud.DesignCenter.V1.dll
Constructors
CreatePolicyRequest()
public CreatePolicyRequest()CreatePolicyRequest(CreatePolicyRequest)
public CreatePolicyRequest(CreatePolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreatePolicyRequest |
Properties
Parent
public string Parent { get; set; }Required. The parent resource in which to create the policy in the
following format:
projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsApplicationTemplateName
public ApplicationTemplateName ParentAsApplicationTemplateName { get; set; }ApplicationTemplateName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
ApplicationTemplateName |
|
Policy
public Policy Policy { get; set; }Required. The policy to create.
| Property Value | |
|---|---|
| Type | Description |
Policy |
|
PolicyId
public string PolicyId { get; set; }Required. The ID of the policy to create.
| Property Value | |
|---|---|
| Type | Description |
string |
|