Network Security v1beta1 API - Class CreateAuthorizationPolicyRequest (2.0.0-beta05)

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.

Inheritance

object > CreateAuthorizationPolicyRequest

Namespace

Google.Cloud.NetworkSecurity.V1Beta1

Assembly

Google.Cloud.NetworkSecurity.V1Beta1.dll

Constructors

CreateAuthorizationPolicyRequest()

public CreateAuthorizationPolicyRequest()

CreateAuthorizationPolicyRequest(CreateAuthorizationPolicyRequest)

public CreateAuthorizationPolicyRequest(CreateAuthorizationPolicyRequest other)
Parameter
Name Description
other CreateAuthorizationPolicyRequest

Properties

AuthorizationPolicy

public AuthorizationPolicy AuthorizationPolicy { get; set; }

Required. AuthorizationPolicy resource to be created.

Property Value
Type Description
AuthorizationPolicy

AuthorizationPolicyId

public string AuthorizationPolicyId { get; set; }

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".

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent resource of the AuthorizationPolicy. Must be in the format projects/{project}/locations/{location}.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName