public class Logging.Projects.Exclusions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Logging.Projects.Exclusions.Create |
class |
Logging.Projects.Exclusions.Delete |
class |
Logging.Projects.Exclusions.Get |
class |
Logging.Projects.Exclusions.List |
class |
Logging.Projects.Exclusions.Patch |
Constructor and Description |
---|
Exclusions() |
Modifier and Type | Method and Description |
---|---|
Logging.Projects.Exclusions.Create |
create(java.lang.String parent,
LogExclusion content)
Creates a new exclusion in a specified parent resource.
|
Logging.Projects.Exclusions.Delete |
delete(java.lang.String name)
Deletes an exclusion.
|
Logging.Projects.Exclusions.Get |
get(java.lang.String name)
Gets the description of an exclusion.
|
Logging.Projects.Exclusions.List |
list(java.lang.String parent)
Lists all the exclusions in a parent resource.
|
Logging.Projects.Exclusions.Patch |
patch(java.lang.String name,
LogExclusion content)
Changes one or more properties of an existing exclusion.
|
public Logging.Projects.Exclusions.Create create(java.lang.String parent, LogExclusion content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The parent resource in which to create the exclusion:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
Examples: "projects/my-logging-project", "organizations/123456789".content
- the LogExclusion
java.io.IOException
public Logging.Projects.Exclusions.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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]"
Example: "projects/my-project-
id/exclusions/my-exclusion-id".java.io.IOException
public Logging.Projects.Exclusions.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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]"
Example: "projects/my-project-
id/exclusions/my-exclusion-id".java.io.IOException
public Logging.Projects.Exclusions.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The parent resource whose exclusions are to be listed.
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"java.io.IOException
public Logging.Projects.Exclusions.Patch patch(java.lang.String name, LogExclusion content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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]"
Example: "projects/my-project-
id/exclusions/my-exclusion-id".content
- the LogExclusion
java.io.IOException