gogol-securitycenter-0.5.0: Google Cloud Security Command Center SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.SecurityCenter

Contents

Description

Cloud Security Command Center API provides access to temporal views of assets and findings within an organization.

See: Cloud Security Command Center API Reference

Synopsis

Service Configuration

securityCenterService :: ServiceConfig Source #

Default request referring to version v1 of the Cloud Security Command Center API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

API Declaration

Resources

securitycenter.organizations.assets.group

securitycenter.organizations.assets.list

securitycenter.organizations.assets.runDiscovery

securitycenter.organizations.assets.updateSecurityMarks

securitycenter.organizations.getOrganizationSettings

securitycenter.organizations.operations.cancel

securitycenter.organizations.operations.delete

securitycenter.organizations.operations.get

securitycenter.organizations.operations.list

securitycenter.organizations.sources.create

securitycenter.organizations.sources.findings.create

securitycenter.organizations.sources.findings.group

securitycenter.organizations.sources.findings.list

securitycenter.organizations.sources.findings.patch

securitycenter.organizations.sources.findings.setState

securitycenter.organizations.sources.findings.updateSecurityMarks

securitycenter.organizations.sources.get

securitycenter.organizations.sources.getIamPolicy

securitycenter.organizations.sources.list

securitycenter.organizations.sources.patch

securitycenter.organizations.sources.setIamPolicy

securitycenter.organizations.sources.testIamPermissions

securitycenter.organizations.updateOrganizationSettings

Types

ListFindingsResultStateChange

data ListFindingsResultStateChange Source #

State change of the finding between the points in time.

Constructors

Unused

UNUSED State change is unused, this is the canonical default for this enum.

Changed

CHANGED The finding has changed state in some way between the points in time and existed at both points.

Unchanged

UNCHANGED The finding has not changed state between the points in time and existed at both points.

Added

ADDED The finding was created between the points in time.

Removed

REMOVED The finding at timestamp does not match the filter specified, but it did at timestamp - compare_duration.

Instances
Enum ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Eq ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Data ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFindingsResultStateChange -> c ListFindingsResultStateChange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFindingsResultStateChange #

toConstr :: ListFindingsResultStateChange -> Constr #

dataTypeOf :: ListFindingsResultStateChange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFindingsResultStateChange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFindingsResultStateChange) #

gmapT :: (forall b. Data b => b -> b) -> ListFindingsResultStateChange -> ListFindingsResultStateChange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFindingsResultStateChange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFindingsResultStateChange -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFindingsResultStateChange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFindingsResultStateChange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFindingsResultStateChange -> m ListFindingsResultStateChange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFindingsResultStateChange -> m ListFindingsResultStateChange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFindingsResultStateChange -> m ListFindingsResultStateChange #

Ord ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Read ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Show ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Generic ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Associated Types

type Rep ListFindingsResultStateChange :: Type -> Type #

Hashable ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToJSON ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromJSON ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromHttpApiData ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToHttpApiData ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep ListFindingsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep ListFindingsResultStateChange = D1 (MetaData "ListFindingsResultStateChange" "Network.Google.SecurityCenter.Types.Sum" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) ((C1 (MetaCons "Unused" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Changed" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Unchanged" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Added" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Removed" PrefixI False) (U1 :: Type -> Type))))

Status

data Status Source #

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status #

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

Show Status Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

ListFindingsResponse

data ListFindingsResponse Source #

Response message for listing findings.

See: listFindingsResponse smart constructor.

Instances
Eq ListFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data ListFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFindingsResponse -> c ListFindingsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFindingsResponse #

toConstr :: ListFindingsResponse -> Constr #

dataTypeOf :: ListFindingsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFindingsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFindingsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListFindingsResponse -> ListFindingsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFindingsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFindingsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFindingsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFindingsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFindingsResponse -> m ListFindingsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFindingsResponse -> m ListFindingsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFindingsResponse -> m ListFindingsResponse #

Show ListFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic ListFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep ListFindingsResponse :: Type -> Type #

ToJSON ListFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON ListFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListFindingsResponse = D1 (MetaData "ListFindingsResponse" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "ListFindingsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lfrReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_lfrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lfrTotalSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_lfrListFindingsResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ListFindingsResult])))))

listFindingsResponse :: ListFindingsResponse Source #

Creates a value of ListFindingsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lfrReadTime :: Lens' ListFindingsResponse (Maybe UTCTime) Source #

Time used for executing the list request.

lfrNextPageToken :: Lens' ListFindingsResponse (Maybe Text) Source #

Token to retrieve the next page of results, or empty if there are no more results.

lfrTotalSize :: Lens' ListFindingsResponse (Maybe Int32) Source #

The total number of findings matching the query.

AuditConfig

data AuditConfig Source #

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar'gmail.com" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo'gmail.com from DATA_READ logging, and bar'gmail.com from DATA_WRITE logging.

See: auditConfig smart constructor.

Instances
Eq AuditConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data AuditConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AuditConfig -> c AuditConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AuditConfig #

toConstr :: AuditConfig -> Constr #

dataTypeOf :: AuditConfig -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AuditConfig) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuditConfig) #

gmapT :: (forall b. Data b => b -> b) -> AuditConfig -> AuditConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AuditConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AuditConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> AuditConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AuditConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AuditConfig -> m AuditConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AuditConfig -> m AuditConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AuditConfig -> m AuditConfig #

Show AuditConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic AuditConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep AuditConfig :: Type -> Type #

ToJSON AuditConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON AuditConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep AuditConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep AuditConfig = D1 (MetaData "AuditConfig" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "AuditConfig'" PrefixI True) (S1 (MetaSel (Just "_acService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_acAuditLogConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuditLogConfig]))))

auditConfig :: AuditConfig Source #

Creates a value of AuditConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acService :: Lens' AuditConfig (Maybe Text) Source #

Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.

acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig] Source #

The configuration for logging of each type of permission.

Expr

data Expr Source #

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

See: expr smart constructor.

Instances
Eq Expr Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

(==) :: Expr -> Expr -> Bool #

(/=) :: Expr -> Expr -> Bool #

Data Expr Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Expr -> c Expr #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Expr #

toConstr :: Expr -> Constr #

dataTypeOf :: Expr -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Expr) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Expr) #

gmapT :: (forall b. Data b => b -> b) -> Expr -> Expr #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r #

gmapQ :: (forall d. Data d => d -> u) -> Expr -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Expr -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Expr -> m Expr #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr #

Show Expr Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

Generic Expr Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep Expr :: Type -> Type #

Methods

from :: Expr -> Rep Expr x #

to :: Rep Expr x -> Expr #

ToJSON Expr Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON Expr Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Expr Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Expr = D1 (MetaData "Expr" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "Expr'" PrefixI True) ((S1 (MetaSel (Just "_eLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

expr :: Expr Source #

Creates a value of Expr with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eLocation :: Lens' Expr (Maybe Text) Source #

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

eExpression :: Lens' Expr (Maybe Text) Source #

Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.

eTitle :: Lens' Expr (Maybe Text) Source #

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

eDescription :: Lens' Expr (Maybe Text) Source #

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

ListOperationsResponse

data ListOperationsResponse Source #

The response message for Operations.ListOperations.

See: listOperationsResponse smart constructor.

Instances
Eq ListOperationsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data ListOperationsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListOperationsResponse -> c ListOperationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListOperationsResponse #

toConstr :: ListOperationsResponse -> Constr #

dataTypeOf :: ListOperationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListOperationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListOperationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListOperationsResponse -> ListOperationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListOperationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListOperationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

Show ListOperationsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic ListOperationsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

ToJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListOperationsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListOperationsResponse = D1 (MetaData "ListOperationsResponse" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "ListOperationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lorNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lorOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))))

listOperationsResponse :: ListOperationsResponse Source #

Creates a value of ListOperationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #

The standard List next-page token.

lorOperations :: Lens' ListOperationsResponse [Operation] Source #

A list of operations that matches the specified filter in the request.

GetIAMPolicyRequest

data GetIAMPolicyRequest Source #

Request message for `GetIamPolicy` method.

See: getIAMPolicyRequest smart constructor.

Instances
Eq GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetIAMPolicyRequest -> c GetIAMPolicyRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetIAMPolicyRequest #

toConstr :: GetIAMPolicyRequest -> Constr #

dataTypeOf :: GetIAMPolicyRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetIAMPolicyRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetIAMPolicyRequest) #

gmapT :: (forall b. Data b => b -> b) -> GetIAMPolicyRequest -> GetIAMPolicyRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetIAMPolicyRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetIAMPolicyRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetIAMPolicyRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetIAMPolicyRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetIAMPolicyRequest -> m GetIAMPolicyRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetIAMPolicyRequest -> m GetIAMPolicyRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetIAMPolicyRequest -> m GetIAMPolicyRequest #

Show GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep GetIAMPolicyRequest :: Type -> Type #

ToJSON GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GetIAMPolicyRequest = D1 (MetaData "GetIAMPolicyRequest" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "GetIAMPolicyRequest'" PrefixI False) (U1 :: Type -> Type))

getIAMPolicyRequest :: GetIAMPolicyRequest Source #

Creates a value of GetIAMPolicyRequest with the minimum fields required to make a request.

GroupFindingsResponse

data GroupFindingsResponse Source #

Response message for group by findings.

See: groupFindingsResponse smart constructor.

Instances
Eq GroupFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data GroupFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroupFindingsResponse -> c GroupFindingsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroupFindingsResponse #

toConstr :: GroupFindingsResponse -> Constr #

dataTypeOf :: GroupFindingsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GroupFindingsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroupFindingsResponse) #

gmapT :: (forall b. Data b => b -> b) -> GroupFindingsResponse -> GroupFindingsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroupFindingsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroupFindingsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GroupFindingsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GroupFindingsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroupFindingsResponse -> m GroupFindingsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupFindingsResponse -> m GroupFindingsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupFindingsResponse -> m GroupFindingsResponse #

Show GroupFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic GroupFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep GroupFindingsResponse :: Type -> Type #

ToJSON GroupFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON GroupFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupFindingsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupFindingsResponse = D1 (MetaData "GroupFindingsResponse" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "GroupFindingsResponse'" PrefixI True) ((S1 (MetaSel (Just "_gfrReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_gfrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gfrTotalSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_gfrGroupByResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GroupResult])))))

groupFindingsResponse :: GroupFindingsResponse Source #

Creates a value of GroupFindingsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gfrReadTime :: Lens' GroupFindingsResponse (Maybe UTCTime) Source #

Time used for executing the groupBy request.

gfrNextPageToken :: Lens' GroupFindingsResponse (Maybe Text) Source #

Token to retrieve the next page of results, or empty if there are no more results.

gfrTotalSize :: Lens' GroupFindingsResponse (Maybe Int32) Source #

The total number of results matching the query.

gfrGroupByResults :: Lens' GroupFindingsResponse [GroupResult] Source #

Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.

RunAssetDiscoveryRequest

data RunAssetDiscoveryRequest Source #

Request message for running asset discovery for an organization.

See: runAssetDiscoveryRequest smart constructor.

Instances
Eq RunAssetDiscoveryRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data RunAssetDiscoveryRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RunAssetDiscoveryRequest -> c RunAssetDiscoveryRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RunAssetDiscoveryRequest #

toConstr :: RunAssetDiscoveryRequest -> Constr #

dataTypeOf :: RunAssetDiscoveryRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RunAssetDiscoveryRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RunAssetDiscoveryRequest) #

gmapT :: (forall b. Data b => b -> b) -> RunAssetDiscoveryRequest -> RunAssetDiscoveryRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RunAssetDiscoveryRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RunAssetDiscoveryRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> RunAssetDiscoveryRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RunAssetDiscoveryRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RunAssetDiscoveryRequest -> m RunAssetDiscoveryRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RunAssetDiscoveryRequest -> m RunAssetDiscoveryRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RunAssetDiscoveryRequest -> m RunAssetDiscoveryRequest #

Show RunAssetDiscoveryRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic RunAssetDiscoveryRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep RunAssetDiscoveryRequest :: Type -> Type #

ToJSON RunAssetDiscoveryRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON RunAssetDiscoveryRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep RunAssetDiscoveryRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep RunAssetDiscoveryRequest = D1 (MetaData "RunAssetDiscoveryRequest" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "RunAssetDiscoveryRequest'" PrefixI False) (U1 :: Type -> Type))

runAssetDiscoveryRequest :: RunAssetDiscoveryRequest Source #

Creates a value of RunAssetDiscoveryRequest with the minimum fields required to make a request.

AssetDiscoveryConfigInclusionMode

data AssetDiscoveryConfigInclusionMode Source #

The mode to use for filtering asset discovery.

Constructors

InclusionModeUnspecified

INCLUSION_MODE_UNSPECIFIED Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.

IncludeOnly

INCLUDE_ONLY Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.

Exclude

EXCLUDE Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved.

Instances
Enum AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Eq AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Data AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssetDiscoveryConfigInclusionMode -> c AssetDiscoveryConfigInclusionMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssetDiscoveryConfigInclusionMode #

toConstr :: AssetDiscoveryConfigInclusionMode -> Constr #

dataTypeOf :: AssetDiscoveryConfigInclusionMode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AssetDiscoveryConfigInclusionMode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssetDiscoveryConfigInclusionMode) #

gmapT :: (forall b. Data b => b -> b) -> AssetDiscoveryConfigInclusionMode -> AssetDiscoveryConfigInclusionMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssetDiscoveryConfigInclusionMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssetDiscoveryConfigInclusionMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssetDiscoveryConfigInclusionMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssetDiscoveryConfigInclusionMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssetDiscoveryConfigInclusionMode -> m AssetDiscoveryConfigInclusionMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssetDiscoveryConfigInclusionMode -> m AssetDiscoveryConfigInclusionMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssetDiscoveryConfigInclusionMode -> m AssetDiscoveryConfigInclusionMode #

Ord AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Read AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Show AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Generic AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Associated Types

type Rep AssetDiscoveryConfigInclusionMode :: Type -> Type #

Hashable AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToJSON AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromJSON AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromHttpApiData AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToHttpApiData AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep AssetDiscoveryConfigInclusionMode Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep AssetDiscoveryConfigInclusionMode = D1 (MetaData "AssetDiscoveryConfigInclusionMode" "Network.Google.SecurityCenter.Types.Sum" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "InclusionModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "IncludeOnly" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Exclude" PrefixI False) (U1 :: Type -> Type)))

Operation

data Operation Source #

This resource represents a long-running operation that is the result of a network API call.

See: operation smart constructor.

Instances
Eq Operation Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data Operation Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Operation -> c Operation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Operation #

toConstr :: Operation -> Constr #

dataTypeOf :: Operation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Operation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Operation) #

gmapT :: (forall b. Data b => b -> b) -> Operation -> Operation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Operation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Operation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

Show Operation Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic Operation Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep Operation :: Type -> Type #

ToJSON Operation Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON Operation Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Operation Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

operation :: Operation Source #

Creates a value of Operation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oDone :: Lens' Operation (Maybe Bool) Source #

If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.

oError :: Lens' Operation (Maybe Status) Source #

The error result of the operation in case of failure or cancellation.

oResponse :: Lens' Operation (Maybe OperationResponse) Source #

The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

oName :: Lens' Operation (Maybe Text) Source #

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.

oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

Finding

data Finding Source #

Cloud Security Command Center (Cloud SCC) finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Cloud SCC for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.

See: finding smart constructor.

Instances
Eq Finding Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

(==) :: Finding -> Finding -> Bool #

(/=) :: Finding -> Finding -> Bool #

Data Finding Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Finding -> c Finding #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Finding #

toConstr :: Finding -> Constr #

dataTypeOf :: Finding -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Finding) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Finding) #

gmapT :: (forall b. Data b => b -> b) -> Finding -> Finding #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Finding -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Finding -> r #

gmapQ :: (forall d. Data d => d -> u) -> Finding -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Finding -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Finding -> m Finding #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Finding -> m Finding #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Finding -> m Finding #

Show Finding Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic Finding Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep Finding :: Type -> Type #

Methods

from :: Finding -> Rep Finding x #

to :: Rep Finding x -> Finding #

ToJSON Finding Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON Finding Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Finding Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

finding :: Finding Source #

Creates a value of Finding with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fParent :: Lens' Finding (Maybe Text) Source #

The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/123/sources/456"

fSourceProperties :: Lens' Finding (Maybe FindingSourceProperties) Source #

Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.

fState :: Lens' Finding (Maybe FindingState) Source #

The state of the finding.

fResourceName :: Lens' Finding (Maybe Text) Source #

The full resource name of the Google Cloud Platform (GCP) resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name This field is immutable after creation time.

fSecurityMarks :: Lens' Finding (Maybe SecurityMarks) Source #

Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.

fCategory :: Lens' Finding (Maybe Text) Source #

The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"

fExternalURI :: Lens' Finding (Maybe Text) Source #

The URI that, if available, points to a web page outside of Cloud SCC where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.

fEventTime :: Lens' Finding (Maybe UTCTime) Source #

The time at which the event took place. For example, if the finding represents an open firewall it would capture the time the open firewall was detected.

fName :: Lens' Finding (Maybe Text) Source #

The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/sources/456/findings/789"

fCreateTime :: Lens' Finding (Maybe UTCTime) Source #

The time at which the finding was created in Cloud SCC.

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty #

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) #

gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

Show Empty Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

ListFindingsResult

data ListFindingsResult Source #

Result containing the Finding and its StateChange.

See: listFindingsResult smart constructor.

Instances
Eq ListFindingsResult Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data ListFindingsResult Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFindingsResult -> c ListFindingsResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFindingsResult #

toConstr :: ListFindingsResult -> Constr #

dataTypeOf :: ListFindingsResult -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFindingsResult) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFindingsResult) #

gmapT :: (forall b. Data b => b -> b) -> ListFindingsResult -> ListFindingsResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFindingsResult -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFindingsResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFindingsResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFindingsResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFindingsResult -> m ListFindingsResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFindingsResult -> m ListFindingsResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFindingsResult -> m ListFindingsResult #

Show ListFindingsResult Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic ListFindingsResult Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep ListFindingsResult :: Type -> Type #

ToJSON ListFindingsResult Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON ListFindingsResult Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListFindingsResult Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListFindingsResult = D1 (MetaData "ListFindingsResult" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "ListFindingsResult'" PrefixI True) (S1 (MetaSel (Just "_lfrFinding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Finding)) :*: S1 (MetaSel (Just "_lfrStateChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ListFindingsResultStateChange))))

listFindingsResult :: ListFindingsResult Source #

Creates a value of ListFindingsResult with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lfrFinding :: Lens' ListFindingsResult (Maybe Finding) Source #

Finding matching the search request.

lfrStateChange :: Lens' ListFindingsResult (Maybe ListFindingsResultStateChange) Source #

State change of the finding between the points in time.

GroupAssetsRequest

data GroupAssetsRequest Source #

Request message for grouping by assets.

See: groupAssetsRequest smart constructor.

Instances
Eq GroupAssetsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data GroupAssetsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroupAssetsRequest -> c GroupAssetsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroupAssetsRequest #

toConstr :: GroupAssetsRequest -> Constr #

dataTypeOf :: GroupAssetsRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GroupAssetsRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroupAssetsRequest) #

gmapT :: (forall b. Data b => b -> b) -> GroupAssetsRequest -> GroupAssetsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroupAssetsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroupAssetsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GroupAssetsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GroupAssetsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroupAssetsRequest -> m GroupAssetsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupAssetsRequest -> m GroupAssetsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupAssetsRequest -> m GroupAssetsRequest #

Show GroupAssetsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic GroupAssetsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep GroupAssetsRequest :: Type -> Type #

ToJSON GroupAssetsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON GroupAssetsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupAssetsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupAssetsRequest = D1 (MetaData "GroupAssetsRequest" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "GroupAssetsRequest'" PrefixI True) ((S1 (MetaSel (Just "_garGroupBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_garReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_garFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_garPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_garPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_garCompareDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration))))))

groupAssetsRequest :: GroupAssetsRequest Source #

Creates a value of GroupAssetsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

garGroupBy :: Lens' GroupAssetsRequest (Maybe Text) Source #

Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: "security_center_properties.resource_project,security_center_properties.project". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type

garReadTime :: Lens' GroupAssetsRequest (Maybe UTCTime) Source #

Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.

garFilter :: Lens' GroupAssetsRequest (Maybe Text) Source #

Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | '=' update_time | '>', '<', '>=', '<=', '=' create_time | '>', '<', '>=', '<=', '=' iam_policy.policy_blob | '=', ':' resource_properties | '=', ':', '>', '<', '>=', '<=' security_marks | '=', ':' security_center_properties.resource_name | '=', ':' security_center_properties.resource_type | '=', ':' security_center_properties.resource_parent | '=', ':' security_center_properties.resource_project | '=', ':' security_center_properties.resource_owners | '=', ':' For example, `resource_properties.size = 100` is a valid filter string.

garPageToken :: Lens' GroupAssetsRequest (Maybe Text) Source #

The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.

garPageSize :: Lens' GroupAssetsRequest (Maybe Int32) Source #

The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

garCompareDuration :: Lens' GroupAssetsRequest (Maybe Scientific) Source #

When compare_duration is set, the GroupResult's "state_change" property is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible "state_change" values when compare_duration is specified: * "ADDED": indicates that the asset was not present at the start of compare_duration, but present at reference_time. * "REMOVED": indicates that the asset was present at the start of compare_duration, but not present at reference_time. * "ACTIVE": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and reference_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all assets present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.

GroupFindingsRequest

data GroupFindingsRequest Source #

Request message for grouping by findings.

See: groupFindingsRequest smart constructor.

Instances
Eq GroupFindingsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data GroupFindingsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroupFindingsRequest -> c GroupFindingsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroupFindingsRequest #

toConstr :: GroupFindingsRequest -> Constr #

dataTypeOf :: GroupFindingsRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GroupFindingsRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroupFindingsRequest) #

gmapT :: (forall b. Data b => b -> b) -> GroupFindingsRequest -> GroupFindingsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroupFindingsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroupFindingsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GroupFindingsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GroupFindingsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroupFindingsRequest -> m GroupFindingsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupFindingsRequest -> m GroupFindingsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupFindingsRequest -> m GroupFindingsRequest #

Show GroupFindingsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic GroupFindingsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep GroupFindingsRequest :: Type -> Type #

ToJSON GroupFindingsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON GroupFindingsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupFindingsRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupFindingsRequest = D1 (MetaData "GroupFindingsRequest" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "GroupFindingsRequest'" PrefixI True) ((S1 (MetaSel (Just "_gGroupBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_gFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_gCompareDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration))))))

groupFindingsRequest :: GroupFindingsRequest Source #

Creates a value of GroupFindingsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gGroupBy :: Lens' GroupFindingsRequest (Maybe Text) Source #

Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change

gReadTime :: Lens' GroupFindingsRequest (Maybe UTCTime) Source #

Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.

gFilter :: Lens' GroupFindingsRequest (Maybe Text) Source #

Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | `=` parent | '=', ':' resource_name | '=', ':' state | '=', ':' category | '=', ':' external_uri | '=', ':' event_time | `>`, `<`, `>=`, `<=` security_marks | '=', ':' source_properties | '=', ':', `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string.

gPageToken :: Lens' GroupFindingsRequest (Maybe Text) Source #

The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.

gPageSize :: Lens' GroupFindingsRequest (Maybe Int32) Source #

The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

gCompareDuration :: Lens' GroupFindingsRequest (Maybe Scientific) Source #

When compare_duration is set, the GroupResult's "state_change" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible "state_change" values when compare_duration is specified: * "CHANGED": indicates that the finding was present at the start of compare_duration, but changed its state at read_time. * "UNCHANGED": indicates that the finding was present at the start of compare_duration and did not change state at read_time. * "ADDED": indicates that the finding was not present at the start of compare_duration, but was present at read_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all findings present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.

AssetDiscoveryConfig

data AssetDiscoveryConfig Source #

The configuration used for Asset Discovery runs.

See: assetDiscoveryConfig smart constructor.

Instances
Eq AssetDiscoveryConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data AssetDiscoveryConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssetDiscoveryConfig -> c AssetDiscoveryConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssetDiscoveryConfig #

toConstr :: AssetDiscoveryConfig -> Constr #

dataTypeOf :: AssetDiscoveryConfig -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AssetDiscoveryConfig) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssetDiscoveryConfig) #

gmapT :: (forall b. Data b => b -> b) -> AssetDiscoveryConfig -> AssetDiscoveryConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssetDiscoveryConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssetDiscoveryConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssetDiscoveryConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssetDiscoveryConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssetDiscoveryConfig -> m AssetDiscoveryConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssetDiscoveryConfig -> m AssetDiscoveryConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssetDiscoveryConfig -> m AssetDiscoveryConfig #

Show AssetDiscoveryConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic AssetDiscoveryConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep AssetDiscoveryConfig :: Type -> Type #

ToJSON AssetDiscoveryConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON AssetDiscoveryConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep AssetDiscoveryConfig Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep AssetDiscoveryConfig = D1 (MetaData "AssetDiscoveryConfig" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "AssetDiscoveryConfig'" PrefixI True) (S1 (MetaSel (Just "_adcInclusionMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssetDiscoveryConfigInclusionMode)) :*: S1 (MetaSel (Just "_adcProjectIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

assetDiscoveryConfig :: AssetDiscoveryConfig Source #

Creates a value of AssetDiscoveryConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

adcProjectIds :: Lens' AssetDiscoveryConfig [Text] Source #

The project ids to use for filtering asset discovery.

Asset

data Asset Source #

Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud Platform (GCP) resource. The Asset is a Cloud SCC resource that captures information about a single GCP resource. All modifications to an Asset are only within the context of Cloud SCC and don't affect the referenced GCP resource.

See: asset smart constructor.

Instances
Eq Asset Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

(==) :: Asset -> Asset -> Bool #

(/=) :: Asset -> Asset -> Bool #

Data Asset Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Asset -> c Asset #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Asset #

toConstr :: Asset -> Constr #

dataTypeOf :: Asset -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Asset) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Asset) #

gmapT :: (forall b. Data b => b -> b) -> Asset -> Asset #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Asset -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Asset -> r #

gmapQ :: (forall d. Data d => d -> u) -> Asset -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Asset -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Asset -> m Asset #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Asset -> m Asset #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Asset -> m Asset #

Show Asset Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

showsPrec :: Int -> Asset -> ShowS #

show :: Asset -> String #

showList :: [Asset] -> ShowS #

Generic Asset Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep Asset :: Type -> Type #

Methods

from :: Asset -> Rep Asset x #

to :: Rep Asset x -> Asset #

ToJSON Asset Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON Asset Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep Asset Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

asset :: Asset Source #

Creates a value of Asset with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aSecurityMarks :: Lens' Asset (Maybe SecurityMarks) Source #

User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

aResourceProperties :: Lens' Asset (Maybe AssetResourceProperties) Source #

Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.

aUpdateTime :: Lens' Asset (Maybe UTCTime) Source #

The time at which the asset was last updated, added, or deleted in Cloud SCC.

aSecurityCenterProperties :: Lens' Asset (Maybe SecurityCenterProperties) Source #

Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.

aName :: Lens' Asset (Maybe Text) Source #

The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/assets/456".

aIAMPolicy :: Lens' Asset (Maybe IAMPolicy) Source #

IAM Policy information associated with the GCP resource described by the Cloud SCC asset. This information is managed and defined by the GCP resource and cannot be modified by the user.

aCreateTime :: Lens' Asset (Maybe UTCTime) Source #

The time at which the asset was created in Cloud SCC.

SecurityMarks

data SecurityMarks Source #

User specified security marks that are attached to the parent Cloud Security Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud SCC organization -- they can be modified and viewed by all users who have proper permissions on the organization.

See: securityMarks smart constructor.

Instances
Eq SecurityMarks Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data SecurityMarks Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SecurityMarks -> c SecurityMarks #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SecurityMarks #

toConstr :: SecurityMarks -> Constr #

dataTypeOf :: SecurityMarks -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SecurityMarks) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SecurityMarks) #

gmapT :: (forall b. Data b => b -> b) -> SecurityMarks -> SecurityMarks #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SecurityMarks -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SecurityMarks -> r #

gmapQ :: (forall d. Data d => d -> u) -> SecurityMarks -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SecurityMarks -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SecurityMarks -> m SecurityMarks #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityMarks -> m SecurityMarks #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityMarks -> m SecurityMarks #

Show SecurityMarks Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic SecurityMarks Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep SecurityMarks :: Type -> Type #

ToJSON SecurityMarks Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON SecurityMarks Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SecurityMarks Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SecurityMarks = D1 (MetaData "SecurityMarks" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "SecurityMarks'" PrefixI True) (S1 (MetaSel (Just "_smName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_smMarks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SecurityMarksMarks))))

securityMarks :: SecurityMarks Source #

Creates a value of SecurityMarks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

smName :: Lens' SecurityMarks (Maybe Text) Source #

The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/123/assets/456/securityMarks" "organizations/123/sources/456/findings/789/securityMarks".

smMarks :: Lens' SecurityMarks (Maybe SecurityMarksMarks) Source #

Mutable user specified security marks belonging to the parent resource. Constraints are as follows: - Keys and values are treated as case insensitive - Keys must be between 1 - 256 characters (inclusive) - Keys must be letters, numbers, underscores, or dashes - Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)

AssetResourceProperties

data AssetResourceProperties Source #

Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.

See: assetResourceProperties smart constructor.

Instances
Eq AssetResourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data AssetResourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssetResourceProperties -> c AssetResourceProperties #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssetResourceProperties #

toConstr :: AssetResourceProperties -> Constr #

dataTypeOf :: AssetResourceProperties -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AssetResourceProperties) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssetResourceProperties) #

gmapT :: (forall b. Data b => b -> b) -> AssetResourceProperties -> AssetResourceProperties #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssetResourceProperties -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssetResourceProperties -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssetResourceProperties -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssetResourceProperties -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssetResourceProperties -> m AssetResourceProperties #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssetResourceProperties -> m AssetResourceProperties #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssetResourceProperties -> m AssetResourceProperties #

Show AssetResourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic AssetResourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep AssetResourceProperties :: Type -> Type #

ToJSON AssetResourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON AssetResourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep AssetResourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep AssetResourceProperties = D1 (MetaData "AssetResourceProperties" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" True) (C1 (MetaCons "AssetResourceProperties'" PrefixI True) (S1 (MetaSel (Just "_arpAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

assetResourceProperties Source #

Creates a value of AssetResourceProperties with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusDetailsItem -> c StatusDetailsItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusDetailsItem #

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusDetailsItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusDetailsItem) #

gmapT :: (forall b. Data b => b -> b) -> StatusDetailsItem -> StatusDetailsItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusDetailsItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusDetailsItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

Creates a value of StatusDetailsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

OrganizationSettings

data OrganizationSettings Source #

User specified settings that are attached to the Cloud Security Command Center (Cloud SCC) organization.

See: organizationSettings smart constructor.

Instances
Eq OrganizationSettings Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data OrganizationSettings Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrganizationSettings -> c OrganizationSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrganizationSettings #

toConstr :: OrganizationSettings -> Constr #

dataTypeOf :: OrganizationSettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrganizationSettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrganizationSettings) #

gmapT :: (forall b. Data b => b -> b) -> OrganizationSettings -> OrganizationSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrganizationSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrganizationSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrganizationSettings -> m OrganizationSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationSettings -> m OrganizationSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationSettings -> m OrganizationSettings #

Show OrganizationSettings Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic OrganizationSettings Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep OrganizationSettings :: Type -> Type #

ToJSON OrganizationSettings Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON OrganizationSettings Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep OrganizationSettings Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep OrganizationSettings = D1 (MetaData "OrganizationSettings" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "OrganizationSettings'" PrefixI True) (S1 (MetaSel (Just "_osAssetDiscoveryConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssetDiscoveryConfig)) :*: (S1 (MetaSel (Just "_osEnableAssetDiscovery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_osName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

organizationSettings :: OrganizationSettings Source #

Creates a value of OrganizationSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

osAssetDiscoveryConfig :: Lens' OrganizationSettings (Maybe AssetDiscoveryConfig) Source #

The configuration used for Asset Discovery runs.

osEnableAssetDiscovery :: Lens' OrganizationSettings (Maybe Bool) Source #

A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur.

osName :: Lens' OrganizationSettings (Maybe Text) Source #

The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/organizationSettings".

SetFindingStateRequestState

data SetFindingStateRequestState Source #

The desired State of the finding.

Constructors

StateUnspecified

STATE_UNSPECIFIED Unspecified state.

Active

ACTIVE The finding requires attention and has not been addressed yet.

Inactive

INACTIVE The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.

Instances
Enum SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Eq SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Data SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetFindingStateRequestState -> c SetFindingStateRequestState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetFindingStateRequestState #

toConstr :: SetFindingStateRequestState -> Constr #

dataTypeOf :: SetFindingStateRequestState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SetFindingStateRequestState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetFindingStateRequestState) #

gmapT :: (forall b. Data b => b -> b) -> SetFindingStateRequestState -> SetFindingStateRequestState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetFindingStateRequestState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetFindingStateRequestState -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetFindingStateRequestState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetFindingStateRequestState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetFindingStateRequestState -> m SetFindingStateRequestState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetFindingStateRequestState -> m SetFindingStateRequestState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetFindingStateRequestState -> m SetFindingStateRequestState #

Ord SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Read SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Show SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Generic SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Associated Types

type Rep SetFindingStateRequestState :: Type -> Type #

Hashable SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToJSON SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromJSON SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromHttpApiData SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToHttpApiData SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep SetFindingStateRequestState Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep SetFindingStateRequestState = D1 (MetaData "SetFindingStateRequestState" "Network.Google.SecurityCenter.Types.Sum" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Inactive" PrefixI False) (U1 :: Type -> Type)))

SetIAMPolicyRequest

data SetIAMPolicyRequest Source #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances
Eq SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetIAMPolicyRequest -> c SetIAMPolicyRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetIAMPolicyRequest #

toConstr :: SetIAMPolicyRequest -> Constr #

dataTypeOf :: SetIAMPolicyRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SetIAMPolicyRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetIAMPolicyRequest) #

gmapT :: (forall b. Data b => b -> b) -> SetIAMPolicyRequest -> SetIAMPolicyRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetIAMPolicyRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetIAMPolicyRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetIAMPolicyRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetIAMPolicyRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetIAMPolicyRequest -> m SetIAMPolicyRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetIAMPolicyRequest -> m SetIAMPolicyRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetIAMPolicyRequest -> m SetIAMPolicyRequest #

Show SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep SetIAMPolicyRequest :: Type -> Type #

ToJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "SetIAMPolicyRequest'" PrefixI True) (S1 (MetaSel (Just "_siprUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_siprPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Policy))))

setIAMPolicyRequest :: SetIAMPolicyRequest Source #

Creates a value of SetIAMPolicyRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask) Source #

OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag" This field is only used by Cloud IAM.

siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #

REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.

FindingSourceProperties

data FindingSourceProperties Source #

Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.

See: findingSourceProperties smart constructor.

Instances
Eq FindingSourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data FindingSourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FindingSourceProperties -> c FindingSourceProperties #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FindingSourceProperties #

toConstr :: FindingSourceProperties -> Constr #

dataTypeOf :: FindingSourceProperties -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FindingSourceProperties) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FindingSourceProperties) #

gmapT :: (forall b. Data b => b -> b) -> FindingSourceProperties -> FindingSourceProperties #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FindingSourceProperties -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FindingSourceProperties -> r #

gmapQ :: (forall d. Data d => d -> u) -> FindingSourceProperties -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FindingSourceProperties -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FindingSourceProperties -> m FindingSourceProperties #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FindingSourceProperties -> m FindingSourceProperties #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FindingSourceProperties -> m FindingSourceProperties #

Show FindingSourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic FindingSourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep FindingSourceProperties :: Type -> Type #

ToJSON FindingSourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON FindingSourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep FindingSourceProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep FindingSourceProperties = D1 (MetaData "FindingSourceProperties" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" True) (C1 (MetaCons "FindingSourceProperties'" PrefixI True) (S1 (MetaSel (Just "_fspAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

findingSourceProperties Source #

Creates a value of FindingSourceProperties with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ListAssetsResultStateChange

data ListAssetsResultStateChange Source #

State change of the asset between the points in time.

Constructors

LARSCUnused

UNUSED State change is unused, this is the canonical default for this enum.

LARSCAdded

ADDED Asset was added between the points in time.

LARSCRemoved

REMOVED Asset was removed between the points in time.

LARSCActive

ACTIVE Asset was present at both point(s) in time.

Instances
Enum ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Eq ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Data ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListAssetsResultStateChange -> c ListAssetsResultStateChange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListAssetsResultStateChange #

toConstr :: ListAssetsResultStateChange -> Constr #

dataTypeOf :: ListAssetsResultStateChange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListAssetsResultStateChange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListAssetsResultStateChange) #

gmapT :: (forall b. Data b => b -> b) -> ListAssetsResultStateChange -> ListAssetsResultStateChange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListAssetsResultStateChange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListAssetsResultStateChange -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListAssetsResultStateChange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListAssetsResultStateChange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListAssetsResultStateChange -> m ListAssetsResultStateChange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListAssetsResultStateChange -> m ListAssetsResultStateChange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListAssetsResultStateChange -> m ListAssetsResultStateChange #

Ord ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Read ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Show ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Generic ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

Associated Types

type Rep ListAssetsResultStateChange :: Type -> Type #

Hashable ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToJSON ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromJSON ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

FromHttpApiData ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

ToHttpApiData ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep ListAssetsResultStateChange Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Sum

type Rep ListAssetsResultStateChange = D1 (MetaData "ListAssetsResultStateChange" "Network.Google.SecurityCenter.Types.Sum" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) ((C1 (MetaCons "LARSCUnused" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LARSCAdded" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LARSCRemoved" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LARSCActive" PrefixI False) (U1 :: Type -> Type)))

SetFindingStateRequest

data SetFindingStateRequest Source #

Request message for updating a finding's state.

See: setFindingStateRequest smart constructor.

Instances
Eq SetFindingStateRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data SetFindingStateRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetFindingStateRequest -> c SetFindingStateRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetFindingStateRequest #

toConstr :: SetFindingStateRequest -> Constr #

dataTypeOf :: SetFindingStateRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SetFindingStateRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetFindingStateRequest) #

gmapT :: (forall b. Data b => b -> b) -> SetFindingStateRequest -> SetFindingStateRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetFindingStateRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetFindingStateRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetFindingStateRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetFindingStateRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetFindingStateRequest -> m SetFindingStateRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetFindingStateRequest -> m SetFindingStateRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetFindingStateRequest -> m SetFindingStateRequest #

Show SetFindingStateRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic SetFindingStateRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep SetFindingStateRequest :: Type -> Type #

ToJSON SetFindingStateRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON SetFindingStateRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SetFindingStateRequest Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SetFindingStateRequest = D1 (MetaData "SetFindingStateRequest" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "SetFindingStateRequest'" PrefixI True) (S1 (MetaSel (Just "_sfsrState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SetFindingStateRequestState)) :*: S1 (MetaSel (Just "_sfsrStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))

setFindingStateRequest :: SetFindingStateRequest Source #

Creates a value of SetFindingStateRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sfsrStartTime :: Lens' SetFindingStateRequest (Maybe UTCTime) Source #

The time at which the updated state takes effect.

SecurityCenterProperties

data SecurityCenterProperties Source #

Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.

See: securityCenterProperties smart constructor.

Instances
Eq SecurityCenterProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data SecurityCenterProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SecurityCenterProperties -> c SecurityCenterProperties #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SecurityCenterProperties #

toConstr :: SecurityCenterProperties -> Constr #

dataTypeOf :: SecurityCenterProperties -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SecurityCenterProperties) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SecurityCenterProperties) #

gmapT :: (forall b. Data b => b -> b) -> SecurityCenterProperties -> SecurityCenterProperties #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SecurityCenterProperties -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SecurityCenterProperties -> r #

gmapQ :: (forall d. Data d => d -> u) -> SecurityCenterProperties -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SecurityCenterProperties -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SecurityCenterProperties -> m SecurityCenterProperties #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityCenterProperties -> m SecurityCenterProperties #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityCenterProperties -> m SecurityCenterProperties #

Show SecurityCenterProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic SecurityCenterProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep SecurityCenterProperties :: Type -> Type #

ToJSON SecurityCenterProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON SecurityCenterProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SecurityCenterProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep SecurityCenterProperties = D1 (MetaData "SecurityCenterProperties" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "SecurityCenterProperties'" PrefixI True) ((S1 (MetaSel (Just "_scpResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scpResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_scpResourceParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_scpResourceProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scpResourceOwners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

securityCenterProperties :: SecurityCenterProperties Source #

Creates a value of SecurityCenterProperties with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

scpResourceType :: Lens' SecurityCenterProperties (Maybe Text) Source #

The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Cloud SCC and/or the producer of the resource and is immutable after create time.

scpResourceName :: Lens' SecurityCenterProperties (Maybe Text) Source #

The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

scpResourceParent :: Lens' SecurityCenterProperties (Maybe Text) Source #

The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

scpResourceProject :: Lens' SecurityCenterProperties (Maybe Text) Source #

The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

scpResourceOwners :: Lens' SecurityCenterProperties [Text] Source #

Owners of the Google Cloud resource.

GroupAssetsResponse

data GroupAssetsResponse Source #

Response message for grouping by assets.

See: groupAssetsResponse smart constructor.

Instances
Eq GroupAssetsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data GroupAssetsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroupAssetsResponse -> c GroupAssetsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroupAssetsResponse #

toConstr :: GroupAssetsResponse -> Constr #

dataTypeOf :: GroupAssetsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GroupAssetsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroupAssetsResponse) #

gmapT :: (forall b. Data b => b -> b) -> GroupAssetsResponse -> GroupAssetsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroupAssetsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroupAssetsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GroupAssetsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GroupAssetsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroupAssetsResponse -> m GroupAssetsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupAssetsResponse -> m GroupAssetsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupAssetsResponse -> m GroupAssetsResponse #

Show GroupAssetsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic GroupAssetsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep GroupAssetsResponse :: Type -> Type #

ToJSON GroupAssetsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON GroupAssetsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupAssetsResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep GroupAssetsResponse = D1 (MetaData "GroupAssetsResponse" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "GroupAssetsResponse'" PrefixI True) ((S1 (MetaSel (Just "_groReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_groNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_groTotalSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_groGroupByResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GroupResult])))))

groupAssetsResponse :: GroupAssetsResponse Source #

Creates a value of GroupAssetsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

groReadTime :: Lens' GroupAssetsResponse (Maybe UTCTime) Source #

Time used for executing the groupBy request.

groNextPageToken :: Lens' GroupAssetsResponse (Maybe Text) Source #

Token to retrieve the next page of results, or empty if there are no more results.

groTotalSize :: Lens' GroupAssetsResponse (Maybe Int32) Source #

The total number of results matching the query.

groGroupByResults :: Lens' GroupAssetsResponse [GroupResult] Source #

Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.

ListSourcesResponse

data ListSourcesResponse Source #

Response message for listing sources.

See: listSourcesResponse smart constructor.

Instances
Eq ListSourcesResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data ListSourcesResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListSourcesResponse -> c ListSourcesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListSourcesResponse #

toConstr :: ListSourcesResponse -> Constr #

dataTypeOf :: ListSourcesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListSourcesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListSourcesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListSourcesResponse -> ListSourcesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListSourcesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListSourcesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListSourcesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListSourcesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListSourcesResponse -> m ListSourcesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSourcesResponse -> m ListSourcesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSourcesResponse -> m ListSourcesResponse #

Show ListSourcesResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic ListSourcesResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep ListSourcesResponse :: Type -> Type #

ToJSON ListSourcesResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

FromJSON ListSourcesResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListSourcesResponse Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

type Rep ListSourcesResponse = D1 (MetaData "ListSourcesResponse" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "ListSourcesResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Source]))))

listSourcesResponse :: ListSourcesResponse Source #

Creates a value of ListSourcesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsrNextPageToken :: Lens' ListSourcesResponse (Maybe Text) Source #

Token to retrieve the next page of results, or empty if there are no more results.

lsrSources :: Lens' ListSourcesResponse [Source] Source #

Sources belonging to the requested parent.

GroupResultProperties

data GroupResultProperties Source #

Properties matching the groupBy fields in the request.

See: groupResultProperties smart constructor.

Instances
Eq GroupResultProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Data GroupResultProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroupResultProperties -> c GroupResultProperties #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroupResultProperties #

toConstr :: GroupResultProperties -> Constr #

dataTypeOf :: GroupResultProperties -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GroupResultProperties) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroupResultProperties) #

gmapT :: (forall b. Data b => b -> b) -> GroupResultProperties -> GroupResultProperties #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroupResultProperties -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroupResultProperties -> r #

gmapQ :: (forall d. Data d => d -> u) -> GroupResultProperties -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GroupResultProperties -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroupResultProperties -> m GroupResultProperties #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupResultProperties -> m GroupResultProperties #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupResultProperties -> m GroupResultProperties #

Show GroupResultProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Generic GroupResultProperties Source # 
Instance details

Defined in Network.Google.SecurityCenter.Types.Product

Associated Types

type Rep GroupResultProperties :: Type -> Type #