{-# LANGUAGE DataKinds #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE ImportQualifiedPost #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-duplicate-exports #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- | -- Module : Gogol.SourceRepo.Internal.Sum -- Copyright : (c) 2015-2025 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Toni Cebrián -- Stability : auto-generated -- Portability : non-portable (GHC extensions) module Gogol.SourceRepo.Internal.Sum ( -- * Xgafv Xgafv ( Xgafv_1, Xgafv_2, .. ), -- * AuditLogConfig_LogType AuditLogConfig_LogType ( AuditLogConfig_LogType_LOGTYPEUNSPECIFIED, AuditLogConfig_LogType_ADMINREAD, AuditLogConfig_LogType_DATAWRITE, AuditLogConfig_LogType_DATAREAD, .. ), -- * PubsubConfig_MessageFormat PubsubConfig_MessageFormat ( PubsubConfig_MessageFormat_MESSAGEFORMATUNSPECIFIED, PubsubConfig_MessageFormat_Protobuf, PubsubConfig_MessageFormat_Json, .. ), ) where import Gogol.Prelude qualified as Core -- | V1 error format. newtype Xgafv = Xgafv {fromXgafv :: Core.Text} deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic) deriving newtype ( Core.Hashable, Core.ToHttpApiData, Core.FromHttpApiData, Core.ToJSON, Core.ToJSONKey, Core.FromJSON, Core.FromJSONKey ) -- | v1 error format pattern Xgafv_1 :: Xgafv pattern Xgafv_1 = Xgafv "1" -- | v2 error format pattern Xgafv_2 :: Xgafv pattern Xgafv_2 = Xgafv "2" {-# COMPLETE Xgafv_1, Xgafv_2, Xgafv #-} -- | The log type that this config enables. newtype AuditLogConfig_LogType = AuditLogConfig_LogType {fromAuditLogConfig_LogType :: Core.Text} deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic) deriving newtype ( Core.Hashable, Core.ToHttpApiData, Core.FromHttpApiData, Core.ToJSON, Core.ToJSONKey, Core.FromJSON, Core.FromJSONKey ) -- | Default case. Should never be this. pattern AuditLogConfig_LogType_LOGTYPEUNSPECIFIED :: AuditLogConfig_LogType pattern AuditLogConfig_LogType_LOGTYPEUNSPECIFIED = AuditLogConfig_LogType "LOG_TYPE_UNSPECIFIED" -- | Admin reads. Example: CloudIAM getIamPolicy pattern AuditLogConfig_LogType_ADMINREAD :: AuditLogConfig_LogType pattern AuditLogConfig_LogType_ADMINREAD = AuditLogConfig_LogType "ADMIN_READ" -- | Data writes. Example: CloudSQL Users create pattern AuditLogConfig_LogType_DATAWRITE :: AuditLogConfig_LogType pattern AuditLogConfig_LogType_DATAWRITE = AuditLogConfig_LogType "DATA_WRITE" -- | Data reads. Example: CloudSQL Users list pattern AuditLogConfig_LogType_DATAREAD :: AuditLogConfig_LogType pattern AuditLogConfig_LogType_DATAREAD = AuditLogConfig_LogType "DATA_READ" {-# COMPLETE AuditLogConfig_LogType_LOGTYPEUNSPECIFIED, AuditLogConfig_LogType_ADMINREAD, AuditLogConfig_LogType_DATAWRITE, AuditLogConfig_LogType_DATAREAD, AuditLogConfig_LogType #-} -- | The format of the Cloud Pub\/Sub messages. newtype PubsubConfig_MessageFormat = PubsubConfig_MessageFormat {fromPubsubConfig_MessageFormat :: Core.Text} deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic) deriving newtype ( Core.Hashable, Core.ToHttpApiData, Core.FromHttpApiData, Core.ToJSON, Core.ToJSONKey, Core.FromJSON, Core.FromJSONKey ) -- | Unspecified. pattern PubsubConfig_MessageFormat_MESSAGEFORMATUNSPECIFIED :: PubsubConfig_MessageFormat pattern PubsubConfig_MessageFormat_MESSAGEFORMATUNSPECIFIED = PubsubConfig_MessageFormat "MESSAGE_FORMAT_UNSPECIFIED" -- | The message payload is a serialized protocol buffer of SourceRepoEvent. pattern PubsubConfig_MessageFormat_Protobuf :: PubsubConfig_MessageFormat pattern PubsubConfig_MessageFormat_Protobuf = PubsubConfig_MessageFormat "PROTOBUF" -- | The message payload is a JSON string of SourceRepoEvent. pattern PubsubConfig_MessageFormat_Json :: PubsubConfig_MessageFormat pattern PubsubConfig_MessageFormat_Json = PubsubConfig_MessageFormat "JSON" {-# COMPLETE PubsubConfig_MessageFormat_MESSAGEFORMATUNSPECIFIED, PubsubConfig_MessageFormat_Protobuf, PubsubConfig_MessageFormat_Json, PubsubConfig_MessageFormat #-}