target.apidocs.com.google.api.services.securitycenter.v1.SecurityCommandCenter.Projects.NotificationConfigs.html Maven / Gradle / Ivy
SecurityCommandCenter.Projects.NotificationConfigs (Security Command Center API v1-rev20240926-2.0.0)
com.google.api.services.securitycenter.v1
Class SecurityCommandCenter.Projects.NotificationConfigs
- java.lang.Object
-
- com.google.api.services.securitycenter.v1.SecurityCommandCenter.Projects.NotificationConfigs
-
- Enclosing class:
- SecurityCommandCenter.Projects
public class SecurityCommandCenter.Projects.NotificationConfigs
extends Object
The "notificationConfigs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SecurityCommandCenter.Projects.NotificationConfigs.Create
class
SecurityCommandCenter.Projects.NotificationConfigs.Delete
class
SecurityCommandCenter.Projects.NotificationConfigs.Get
class
SecurityCommandCenter.Projects.NotificationConfigs.List
class
SecurityCommandCenter.Projects.NotificationConfigs.Patch
-
Constructor Summary
Constructors
Constructor and Description
NotificationConfigs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SecurityCommandCenter.Projects.NotificationConfigs.Create
create(String parent,
NotificationConfig content)
Creates a notification config.
SecurityCommandCenter.Projects.NotificationConfigs.Delete
delete(String name)
Deletes a notification config.
SecurityCommandCenter.Projects.NotificationConfigs.Get
get(String name)
Gets a notification config.
SecurityCommandCenter.Projects.NotificationConfigs.List
list(String parent)
Lists notification configs.
SecurityCommandCenter.Projects.NotificationConfigs.Patch
patch(String name,
NotificationConfig content)
Updates a notification config.
-
-
Method Detail
-
create
public SecurityCommandCenter.Projects.NotificationConfigs.Create create(String parent,
NotificationConfig content)
throws IOException
Creates a notification config.
Create a request for the method "notificationConfigs.create".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Resource name of the new notification config's parent. Its format is
`organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
content
- the NotificationConfig
- Returns:
- the request
- Throws:
IOException
-
delete
public SecurityCommandCenter.Projects.NotificationConfigs.Delete delete(String name)
throws IOException
Deletes a notification config.
Create a request for the method "notificationConfigs.delete".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Name of the notification config to delete. Its format is
`organizations/[organization_id]/notificationConfigs/[config_id]`,
`folders/[folder_id]/notificationConfigs/[config_id]`, or
`projects/[project_id]/notificationConfigs/[config_id]`.
- Returns:
- the request
- Throws:
IOException
-
get
public SecurityCommandCenter.Projects.NotificationConfigs.Get get(String name)
throws IOException
Gets a notification config.
Create a request for the method "notificationConfigs.get".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Name of the notification config to get. Its format is
`organizations/[organization_id]/notificationConfigs/[config_id]`,
`folders/[folder_id]/notificationConfigs/[config_id]`, or
`projects/[project_id]/notificationConfigs/[config_id]`.
- Returns:
- the request
- Throws:
IOException
-
list
public SecurityCommandCenter.Projects.NotificationConfigs.List list(String parent)
throws IOException
Lists notification configs.
Create a request for the method "notificationConfigs.list".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The name of the parent in which to list the notification configurations. Its format is
"organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".
- Returns:
- the request
- Throws:
IOException
-
patch
public SecurityCommandCenter.Projects.NotificationConfigs.Patch patch(String name,
NotificationConfig content)
throws IOException
Updates a notification config. The following update fields are allowed: description,
pubsub_topic, streaming_config.filter
Create a request for the method "notificationConfigs.patch".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The relative resource name of this notification config. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name Example:
"organizations/{organization_id}/notificationConfigs/notify_public_bucket",
"folders/{folder_id}/notificationConfigs/notify_public_bucket", or
"projects/{project_id}/notificationConfigs/notify_public_bucket".
content
- the NotificationConfig
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy