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 the latest version being 2.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, providing it with base functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, a default one and one that takes another \u003ccode\u003eCreateAuthorizationPolicyRequest\u003c/code\u003e instance for copying, both allowing the creation of an authorization policy request.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eAuthorizationPolicy\u003c/code\u003e, \u003ccode\u003eAuthorizationPolicyId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e, which are crucial for defining and locating the authorization policy to be created, each with their own set type and description.\u003c/p\u003e\n"],["\u003cp\u003eThis resource is accessible under the namespace \u003ccode\u003eGoogle.Cloud.NetworkSecurity.V1Beta1\u003c/code\u003e and is part of the assembly \u003ccode\u003eGoogle.Cloud.NetworkSecurity.V1Beta1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]