Class CreateExclusionRequest (3.4.0)

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

The parameters to CreateExclusion.

Inheritance

System.Object > CreateExclusionRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

CreateExclusionRequest()

public CreateExclusionRequest()

CreateExclusionRequest(CreateExclusionRequest)

public CreateExclusionRequest(CreateExclusionRequest other)
Parameter
NameDescription
otherCreateExclusionRequest

Properties

Exclusion

public LogExclusion Exclusion { get; set; }

Required. The new exclusion, whose name parameter is an exclusion name that is not already used in the parent resource.

Property Value
TypeDescription
LogExclusion

Parent

public string Parent { get; set; }

Required. The parent resource in which to create the exclusion:

"projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"

Examples: &quot;projects/my-logging-project&quot;, &quot;organizations/123456789&quot;.

Property Value
TypeDescription
String

ParentAsBillingAccountName

public BillingAccountName ParentAsBillingAccountName { get; set; }

BillingAccountName-typed view over the Parent resource name property.

Property Value
TypeDescription
BillingAccountName

ParentAsFolderName

public FolderName ParentAsFolderName { get; set; }

FolderName-typed view over the Parent resource name property.

Property Value
TypeDescription
FolderName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName