Design Center v1 API - Class CreatePolicyRequest (1.0.0-beta01)

public sealed class CreatePolicyRequest : IMessage<CreatePolicyRequest>, IEquatable<CreatePolicyRequest>, IDeepCloneable<CreatePolicyRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Design Center v1 API class CreatePolicyRequest.

Message for creating a policy.

Inheritance

object > CreatePolicyRequest

Namespace

Google.Cloud.DesignCenter.V1

Assembly

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