Class CreateOSPolicyAssignmentRequest (1.8.0)

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

A request message to create an OS policy assignment

Inheritance

Object > CreateOSPolicyAssignmentRequest

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

CreateOSPolicyAssignmentRequest()

public CreateOSPolicyAssignmentRequest()

CreateOSPolicyAssignmentRequest(CreateOSPolicyAssignmentRequest)

public CreateOSPolicyAssignmentRequest(CreateOSPolicyAssignmentRequest other)
Parameter
NameDescription
otherCreateOSPolicyAssignmentRequest

Properties

OsPolicyAssignment

public OSPolicyAssignment OsPolicyAssignment { get; set; }

Required. The OS policy assignment to be created.

Property Value
TypeDescription
OSPolicyAssignment

OsPolicyAssignmentId

public string OsPolicyAssignmentId { get; set; }

Required. The logical name of the OS policy assignment in the project with the following restrictions:

  • Must contain only lowercase letters, numbers, and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the project.
Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The parent resource name in the form: projects/{project}/locations/{location}

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName