target.apidocs.com.google.api.services.securitycenter.v1.SecurityCommandCenter.Projects.MuteConfigs.html Maven / Gradle / Ivy
SecurityCommandCenter.Projects.MuteConfigs (Security Command Center API v1-rev20240926-2.0.0)
com.google.api.services.securitycenter.v1
Class SecurityCommandCenter.Projects.MuteConfigs
- java.lang.Object
-
- com.google.api.services.securitycenter.v1.SecurityCommandCenter.Projects.MuteConfigs
-
- Enclosing class:
- SecurityCommandCenter.Projects
public class SecurityCommandCenter.Projects.MuteConfigs
extends Object
The "muteConfigs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SecurityCommandCenter.Projects.MuteConfigs.Create
class
SecurityCommandCenter.Projects.MuteConfigs.Delete
class
SecurityCommandCenter.Projects.MuteConfigs.Get
class
SecurityCommandCenter.Projects.MuteConfigs.List
class
SecurityCommandCenter.Projects.MuteConfigs.Patch
-
Constructor Summary
Constructors
Constructor and Description
MuteConfigs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SecurityCommandCenter.Projects.MuteConfigs.Create
create(String parent,
GoogleCloudSecuritycenterV1MuteConfig content)
Creates a mute config.
SecurityCommandCenter.Projects.MuteConfigs.Delete
delete(String name)
Deletes an existing mute config.
SecurityCommandCenter.Projects.MuteConfigs.Get
get(String name)
Gets a mute config.
SecurityCommandCenter.Projects.MuteConfigs.List
list(String parent)
Lists mute configs.
SecurityCommandCenter.Projects.MuteConfigs.Patch
patch(String name,
GoogleCloudSecuritycenterV1MuteConfig content)
Updates a mute config.
-
-
Method Detail
-
create
public SecurityCommandCenter.Projects.MuteConfigs.Create create(String parent,
GoogleCloudSecuritycenterV1MuteConfig content)
throws IOException
Creates a mute config.
Create a request for the method "muteConfigs.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 mute configs's parent. Its format is
`organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
content
- the GoogleCloudSecuritycenterV1MuteConfig
- Returns:
- the request
- Throws:
IOException
-
delete
public SecurityCommandCenter.Projects.MuteConfigs.Delete delete(String name)
throws IOException
Deletes an existing mute config.
Create a request for the method "muteConfigs.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 mute config to delete. Its format is
`organizations/{organization}/muteConfigs/{config_id}`,
`folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`,
`organizations/{organization}/locations/global/muteConfigs/{config_id}`,
`folders/{folder}/locations/global/muteConfigs/{config_id}`, or
`projects/{project}/locations/global/muteConfigs/{config_id}`.
- Returns:
- the request
- Throws:
IOException
-
get
public SecurityCommandCenter.Projects.MuteConfigs.Get get(String name)
throws IOException
Gets a mute config.
Create a request for the method "muteConfigs.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 mute config to retrieve. Its format is
`organizations/{organization}/muteConfigs/{config_id}`,
`folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`,
`organizations/{organization}/locations/global/muteConfigs/{config_id}`,
`folders/{folder}/locations/global/muteConfigs/{config_id}`, or
`projects/{project}/locations/global/muteConfigs/{config_id}`.
- Returns:
- the request
- Throws:
IOException
-
list
public SecurityCommandCenter.Projects.MuteConfigs.List list(String parent)
throws IOException
Lists mute configs.
Create a request for the method "muteConfigs.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 parent, which owns the collection of mute configs. Its format is
`organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
- Returns:
- the request
- Throws:
IOException
-
patch
public SecurityCommandCenter.Projects.MuteConfigs.Patch patch(String name,
GoogleCloudSecuritycenterV1MuteConfig content)
throws IOException
Updates a mute config.
Create a request for the method "muteConfigs.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
- This field will be ignored if provided on config creation. Format
`organizations/{organization}/muteConfigs/{mute_config}`
`folders/{folder}/muteConfigs/{mute_config}`
`projects/{project}/muteConfigs/{mute_config}`
`organizations/{organization}/locations/global/muteConfigs/{mute_config}`
`folders/{folder}/locations/global/muteConfigs/{mute_config}`
`projects/{project}/locations/global/muteConfigs/{mute_config}`
content
- the GoogleCloudSecuritycenterV1MuteConfig
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy