Show / Hide Table of Contents

Class ProjectsResource.MuteConfigsResource

The "muteConfigs" collection of methods.

Inheritance
object
ProjectsResource.MuteConfigsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class ProjectsResource.MuteConfigsResource

Constructors

MuteConfigsResource(IClientService)

Constructs a new resource.

Declaration
public MuteConfigsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GoogleCloudSecuritycenterV1MuteConfig, string)

Creates a mute config.

Declaration
public virtual ProjectsResource.MuteConfigsResource.CreateRequest Create(GoogleCloudSecuritycenterV1MuteConfig body, string parent)
Parameters
Type Name Description
GoogleCloudSecuritycenterV1MuteConfig body

The body of the request.

string parent

Required. Resource name of the new mute configs's parent. Its format is organizations/[organization_id], folders/[folder_id], or projects/[project_id].

Returns
Type Description
ProjectsResource.MuteConfigsResource.CreateRequest

Delete(string)

Deletes an existing mute config.

Declaration
public virtual ProjectsResource.MuteConfigsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string 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
Type Description
ProjectsResource.MuteConfigsResource.DeleteRequest

Get(string)

Gets a mute config.

Declaration
public virtual ProjectsResource.MuteConfigsResource.GetRequest Get(string name)
Parameters
Type Name Description
string 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
Type Description
ProjectsResource.MuteConfigsResource.GetRequest

List(string)

Lists mute configs.

Declaration
public virtual ProjectsResource.MuteConfigsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns the collection of mute configs. Its format is organizations/[organization_id], folders/[folder_id], projects/[project_id].

Returns
Type Description
ProjectsResource.MuteConfigsResource.ListRequest

Patch(GoogleCloudSecuritycenterV1MuteConfig, string)

Updates a mute config.

Declaration
public virtual ProjectsResource.MuteConfigsResource.PatchRequest Patch(GoogleCloudSecuritycenterV1MuteConfig body, string name)
Parameters
Type Name Description
GoogleCloudSecuritycenterV1MuteConfig body

The body of the request.

string 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}

Returns
Type Description
ProjectsResource.MuteConfigsResource.PatchRequest
In this article
Back to top Generated by DocFX