target.apidocs.com.google.api.services.securitycenter.v1.SecurityCommandCenter.Organizations.MuteConfigs.html Maven / Gradle / Ivy
SecurityCommandCenter.Organizations.MuteConfigs (Security Command Center API v1-rev20240926-2.0.0)
com.google.api.services.securitycenter.v1
Class SecurityCommandCenter.Organizations.MuteConfigs
- java.lang.Object
-
- com.google.api.services.securitycenter.v1.SecurityCommandCenter.Organizations.MuteConfigs
-
- Enclosing class:
- SecurityCommandCenter.Organizations
public class SecurityCommandCenter.Organizations.MuteConfigs
extends Object
The "muteConfigs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SecurityCommandCenter.Organizations.MuteConfigs.Create
class
SecurityCommandCenter.Organizations.MuteConfigs.Delete
class
SecurityCommandCenter.Organizations.MuteConfigs.Get
class
SecurityCommandCenter.Organizations.MuteConfigs.List
class
SecurityCommandCenter.Organizations.MuteConfigs.Patch
-
Constructor Summary
Constructors
Constructor and Description
MuteConfigs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SecurityCommandCenter.Organizations.MuteConfigs.Create
create(String parent,
GoogleCloudSecuritycenterV1MuteConfig content)
Creates a mute config.
SecurityCommandCenter.Organizations.MuteConfigs.Delete
delete(String name)
Deletes an existing mute config.
SecurityCommandCenter.Organizations.MuteConfigs.Get
get(String name)
Gets a mute config.
SecurityCommandCenter.Organizations.MuteConfigs.List
list(String parent)
Lists mute configs.
SecurityCommandCenter.Organizations.MuteConfigs.Patch
patch(String name,
GoogleCloudSecuritycenterV1MuteConfig content)
Updates a mute config.
-
-
Method Detail
-
create
public SecurityCommandCenter.Organizations.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.Organizations.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.Organizations.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.Organizations.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.Organizations.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