Security Command Center v2 API - Class CreateSourceRequest (1.0.0-beta01)

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

Reference documentation and code samples for the Security Command Center v2 API class CreateSourceRequest.

Request message for creating a source.

Inheritance

object > CreateSourceRequest

Namespace

Google.Cloud.SecurityCenter.V2

Assembly

Google.Cloud.SecurityCenter.V2.dll

Constructors

CreateSourceRequest()

public CreateSourceRequest()

CreateSourceRequest(CreateSourceRequest)

public CreateSourceRequest(CreateSourceRequest other)
Parameter
NameDescription
otherCreateSourceRequest

Properties

Parent

public string Parent { get; set; }

Required. Resource name of the new source's parent. Its format should be "organizations/[organization_id]".

Property Value
TypeDescription
string

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationName

Source

public Source Source { get; set; }

Required. The Source being created, only the display_name and description will be used. All other fields will be ignored.

Property Value
TypeDescription
Source