public sealed class CreateAuthorizationPolicyRequest : IMessage<CreateAuthorizationPolicyRequest>, IEquatable<CreateAuthorizationPolicyRequest>, IDeepCloneable<CreateAuthorizationPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Security v1beta1 API class CreateAuthorizationPolicyRequest.
Request used by the CreateAuthorizationPolicy method.
Required. Short name of the AuthorizationPolicy resource to be created.
This value should be 1-63 characters long, containing only
letters, numbers, hyphens, and underscores, and should not start
with a number. E.g. "authz_policy".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateAuthorizationPolicyRequest\u003c/code\u003e class is part of the Network Security v1beta1 API and is used to create an authorization policy, which is a sealed class that implements multiple interfaces for message handling and object operations.\u003c/p\u003e\n"],["\u003cp\u003eThis class has constructors for creating new instances, either blank or copied from another \u003ccode\u003eCreateAuthorizationPolicyRequest\u003c/code\u003e, with parameters for specifying the authorization policy details and other properties.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eAuthorizationPolicy\u003c/code\u003e, \u003ccode\u003eAuthorizationPolicyId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e to define the policy's resources, short name, parent resource, and a typed view of the parent location, all of which are required for policy creation.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, providing methods for message handling, object comparison, and deep cloning, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provided includes the version history, which includes versions 2.0.0-beta06, 2.0.0-beta05, and 1.0.0-beta02 for the CreateAuthorizationPolicyRequest class.\u003c/p\u003e\n"]]],[],null,[]]