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
Name Description
other CreateExclusionRequest

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
Type Description
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
Type Description
string

ParentAsBillingAccountName

public BillingAccountName ParentAsBillingAccountName { get; set; }

BillingAccountName-typed view over the Parent resource name property.

Property Value
Type Description
BillingAccountName

ParentAsFolderName

public FolderName ParentAsFolderName { get; set; }

FolderName-typed view over the Parent resource name property.

Property Value
Type Description
FolderName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
Type Description
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName