Google Cloud Logging v2 API - Class CreateExclusionRequest (4.3.0)

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

Reference documentation and code samples for the Google Cloud Logging v2 API class CreateExclusionRequest.

The parameters to CreateExclusion.

Inheritance

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

For examples:

"projects/my-logging-project" "organizations/123456789"

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