Class OrganizationsResource.ExclusionsResource
The "exclusions" collection of methods.
Inherited Members
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class OrganizationsResource.ExclusionsResource
Constructors
ExclusionsResource(IClientService)
Constructs a new resource.
Declaration
public ExclusionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(LogExclusion, string)
Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.
Declaration
public virtual OrganizationsResource.ExclusionsResource.CreateRequest Create(LogExclusion body, string parent)
Parameters
Type | Name | Description |
---|---|---|
LogExclusion | body | The body of the request. |
string | parent | 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" |
Returns
Type | Description |
---|---|
OrganizationsResource.ExclusionsResource.CreateRequest |
Delete(string)
Deletes an exclusion in the _Default sink.
Declaration
public virtual OrganizationsResource.ExclusionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion" |
Returns
Type | Description |
---|---|
OrganizationsResource.ExclusionsResource.DeleteRequest |
Get(string)
Gets the description of an exclusion in the _Default sink.
Declaration
public virtual OrganizationsResource.ExclusionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion" |
Returns
Type | Description |
---|---|
OrganizationsResource.ExclusionsResource.GetRequest |
List(string)
Lists all the exclusions on the _Default sink in a parent resource.
Declaration
public virtual OrganizationsResource.ExclusionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" |
Returns
Type | Description |
---|---|
OrganizationsResource.ExclusionsResource.ListRequest |
Patch(LogExclusion, string)
Changes one or more properties of an existing exclusion in the _Default sink.
Declaration
public virtual OrganizationsResource.ExclusionsResource.PatchRequest Patch(LogExclusion body, string name)
Parameters
Type | Name | Description |
---|---|---|
LogExclusion | body | The body of the request. |
string | name | Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion" |
Returns
Type | Description |
---|---|
OrganizationsResource.ExclusionsResource.PatchRequest |