gogol-sourcerepo-0.4.0: Google Cloud Source Repositories 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.SourceRepo.Types

Contents

Description

 
Synopsis

Service Configuration

sourceRepoService :: ServiceConfig Source #

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

OAuth Scopes

sourceReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/source.read_only"] Source #

View the contents of your source code repositories

sourceFullControlScope :: Proxy '["https://www.googleapis.com/auth/source.full_control"] Source #

Manage your source code repositories

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

View and manage your data across Google Cloud Platform services

sourceReadWriteScope :: Proxy '["https://www.googleapis.com/auth/source.read_write"] Source #

Manage the contents of your source code repositories

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.SourceRepo.Types.Product

Data AuditConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.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.SourceRepo.Types.Product

Generic AuditConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep AuditConfig :: Type -> Type #

ToJSON AuditConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON AuditConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep AuditConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep AuditConfig = D1 (MetaData "AuditConfig" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" 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.

ProjectConfig

data ProjectConfig Source #

Cloud Source Repositories configuration of a project.

See: projectConfig smart constructor.

Instances
Eq ProjectConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data ProjectConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: ProjectConfig -> Constr #

dataTypeOf :: ProjectConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic ProjectConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep ProjectConfig :: Type -> Type #

ToJSON ProjectConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON ProjectConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep ProjectConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep ProjectConfig = D1 (MetaData "ProjectConfig" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "ProjectConfig'" PrefixI True) (S1 (MetaSel (Just "_pcPubsubConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectConfigPubsubConfigs)) :*: (S1 (MetaSel (Just "_pcEnablePrivateKeyCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

projectConfig :: ProjectConfig Source #

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

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

pcPubsubConfigs :: Lens' ProjectConfig (Maybe ProjectConfigPubsubConfigs) Source #

How this project publishes a change in the repositories through Cloud Pub/Sub. Keyed by the topic names.

pcEnablePrivateKeyCheck :: Lens' ProjectConfig (Maybe Bool) Source #

Reject a Git push that contains a private key.

pcName :: Lens' ProjectConfig (Maybe Text) Source #

The name of the project. Values are of the form `projects/`.

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.SourceRepo.Types.Product

Methods

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

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

Data Expr Source # 
Instance details

Defined in Network.Google.SourceRepo.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.SourceRepo.Types.Product

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

Generic Expr Source # 
Instance details

Defined in Network.Google.SourceRepo.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.SourceRepo.Types.Product

FromJSON Expr Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Expr Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Expr = D1 (MetaData "Expr" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" 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.

ListReposResponse

data ListReposResponse Source #

Response for ListRepos. The size is not set in the returned repositories.

See: listReposResponse smart constructor.

Instances
Eq ListReposResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data ListReposResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: ListReposResponse -> Constr #

dataTypeOf :: ListReposResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListReposResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic ListReposResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep ListReposResponse :: Type -> Type #

ToJSON ListReposResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON ListReposResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep ListReposResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep ListReposResponse = D1 (MetaData "ListReposResponse" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "ListReposResponse'" PrefixI True) (S1 (MetaSel (Just "_lrrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lrrRepos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Repo]))))

listReposResponse :: ListReposResponse Source #

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

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

lrrNextPageToken :: Lens' ListReposResponse (Maybe Text) Source #

If non-empty, additional repositories exist within the project. These can be retrieved by including this value in the next ListReposRequest's page_token field.

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.SourceRepo.Types.Product

Methods

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

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

Data Empty Source # 
Instance details

Defined in Network.Google.SourceRepo.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.SourceRepo.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.SourceRepo.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.SourceRepo.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" 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.

UpdateRepoRequest

data UpdateRepoRequest Source #

Request for UpdateRepo.

See: updateRepoRequest smart constructor.

Instances
Eq UpdateRepoRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data UpdateRepoRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: UpdateRepoRequest -> Constr #

dataTypeOf :: UpdateRepoRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateRepoRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic UpdateRepoRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep UpdateRepoRequest :: Type -> Type #

ToJSON UpdateRepoRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON UpdateRepoRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep UpdateRepoRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep UpdateRepoRequest = D1 (MetaData "UpdateRepoRequest" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "UpdateRepoRequest'" PrefixI True) (S1 (MetaSel (Just "_urrUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_urrRepo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Repo))))

updateRepoRequest :: UpdateRepoRequest Source #

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

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

urrUpdateMask :: Lens' UpdateRepoRequest (Maybe GFieldMask) Source #

A FieldMask specifying which fields of the repo to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.

urrRepo :: Lens' UpdateRepoRequest (Maybe Repo) Source #

The new configuration for the repository.

SetIAMPolicyRequest

data SetIAMPolicyRequest Source #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances
Eq SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.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.SourceRepo.Types.Product

Generic SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep SetIAMPolicyRequest :: Type -> Type #

ToJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" 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.

PubsubConfig

data PubsubConfig Source #

Configuration to publish a Cloud Pub/Sub message.

See: pubsubConfig smart constructor.

Instances
Eq PubsubConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data PubsubConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: PubsubConfig -> Constr #

dataTypeOf :: PubsubConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PubsubConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic PubsubConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep PubsubConfig :: Type -> Type #

ToJSON PubsubConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON PubsubConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep PubsubConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep PubsubConfig = D1 (MetaData "PubsubConfig" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "PubsubConfig'" PrefixI True) (S1 (MetaSel (Just "_pcTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pcServiceAccountEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcMessageFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PubsubConfigMessageFormat)))))

pubsubConfig :: PubsubConfig Source #

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

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

pcTopic :: Lens' PubsubConfig (Maybe Text) Source #

A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in.

pcServiceAccountEmail :: Lens' PubsubConfig (Maybe Text) Source #

Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.

pcMessageFormat :: Lens' PubsubConfig (Maybe PubsubConfigMessageFormat) Source #

The format of the Cloud Pub/Sub messages.

PubsubConfigMessageFormat

data PubsubConfigMessageFormat Source #

The format of the Cloud Pub/Sub messages.

Constructors

MessageFormatUnspecified

MESSAGE_FORMAT_UNSPECIFIED Unspecified.

Protobuf

PROTOBUF The message payload is a serialized protocol buffer of SourceRepoEvent.

JSON

JSON The message payload is a JSON string of SourceRepoEvent.

Instances
Enum PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Eq PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Data PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Methods

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

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

toConstr :: PubsubConfigMessageFormat -> Constr #

dataTypeOf :: PubsubConfigMessageFormat -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Read PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Show PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Generic PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Associated Types

type Rep PubsubConfigMessageFormat :: Type -> Type #

Hashable PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

ToJSON PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

FromJSON PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

FromHttpApiData PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

ToHttpApiData PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

type Rep PubsubConfigMessageFormat Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

type Rep PubsubConfigMessageFormat = D1 (MetaData "PubsubConfigMessageFormat" "Network.Google.SourceRepo.Types.Sum" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "MessageFormatUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Protobuf" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "JSON" PrefixI False) (U1 :: Type -> Type)))

UpdateProjectConfigRequest

data UpdateProjectConfigRequest Source #

Request for UpdateProjectConfig.

See: updateProjectConfigRequest smart constructor.

Instances
Eq UpdateProjectConfigRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data UpdateProjectConfigRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: UpdateProjectConfigRequest -> Constr #

dataTypeOf :: UpdateProjectConfigRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateProjectConfigRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic UpdateProjectConfigRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep UpdateProjectConfigRequest :: Type -> Type #

ToJSON UpdateProjectConfigRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON UpdateProjectConfigRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep UpdateProjectConfigRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep UpdateProjectConfigRequest = D1 (MetaData "UpdateProjectConfigRequest" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "UpdateProjectConfigRequest'" PrefixI True) (S1 (MetaSel (Just "_upcrProjectConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectConfig)) :*: S1 (MetaSel (Just "_upcrUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask))))

updateProjectConfigRequest :: UpdateProjectConfigRequest Source #

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

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

upcrProjectConfig :: Lens' UpdateProjectConfigRequest (Maybe ProjectConfig) Source #

The new configuration for the project.

upcrUpdateMask :: Lens' UpdateProjectConfigRequest (Maybe GFieldMask) Source #

A FieldMask specifying which fields of the project_config to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.

AuditLogConfigLogType

data AuditLogConfigLogType Source #

The log type that this config enables.

Constructors

LogTypeUnspecified

LOG_TYPE_UNSPECIFIED Default case. Should never be this.

AdminRead

ADMIN_READ Admin reads. Example: CloudIAM getIamPolicy

DataWrite

DATA_WRITE Data writes. Example: CloudSQL Users create

DataRead

DATA_READ Data reads. Example: CloudSQL Users list

Instances
Enum AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Eq AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Data AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Methods

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

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

toConstr :: AuditLogConfigLogType -> Constr #

dataTypeOf :: AuditLogConfigLogType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Read AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Show AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Generic AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Associated Types

type Rep AuditLogConfigLogType :: Type -> Type #

Hashable AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

ToJSON AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

FromJSON AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

FromHttpApiData AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

ToHttpApiData AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

type Rep AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

type Rep AuditLogConfigLogType = D1 (MetaData "AuditLogConfigLogType" "Network.Google.SourceRepo.Types.Sum" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) ((C1 (MetaCons "LogTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AdminRead" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DataWrite" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DataRead" PrefixI False) (U1 :: Type -> Type)))

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

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

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.SourceRepo.Types.Sum" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

TestIAMPermissionsRequest

data TestIAMPermissionsRequest Source #

Request message for `TestIamPermissions` method.

See: testIAMPermissionsRequest smart constructor.

Instances
Eq TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsRequest -> Constr #

dataTypeOf :: TestIAMPermissionsRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep TestIAMPermissionsRequest :: Type -> Type #

ToJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep TestIAMPermissionsRequest = D1 (MetaData "TestIAMPermissionsRequest" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" True) (C1 (MetaCons "TestIAMPermissionsRequest'" PrefixI True) (S1 (MetaSel (Just "_tiprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsRequest :: TestIAMPermissionsRequest Source #

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

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

tiprPermissions :: Lens' TestIAMPermissionsRequest [Text] Source #

The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.

RepoPubsubConfigs

data RepoPubsubConfigs Source #

How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.

See: repoPubsubConfigs smart constructor.

Instances
Eq RepoPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data RepoPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: RepoPubsubConfigs -> Constr #

dataTypeOf :: RepoPubsubConfigs -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RepoPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic RepoPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep RepoPubsubConfigs :: Type -> Type #

ToJSON RepoPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON RepoPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep RepoPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep RepoPubsubConfigs = D1 (MetaData "RepoPubsubConfigs" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" True) (C1 (MetaCons "RepoPubsubConfigs'" PrefixI True) (S1 (MetaSel (Just "_rpcAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text PubsubConfig))))

repoPubsubConfigs Source #

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

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

ProjectConfigPubsubConfigs

data ProjectConfigPubsubConfigs Source #

How this project publishes a change in the repositories through Cloud Pub/Sub. Keyed by the topic names.

See: projectConfigPubsubConfigs smart constructor.

Instances
Eq ProjectConfigPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data ProjectConfigPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: ProjectConfigPubsubConfigs -> Constr #

dataTypeOf :: ProjectConfigPubsubConfigs -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectConfigPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic ProjectConfigPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep ProjectConfigPubsubConfigs :: Type -> Type #

ToJSON ProjectConfigPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON ProjectConfigPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep ProjectConfigPubsubConfigs Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep ProjectConfigPubsubConfigs = D1 (MetaData "ProjectConfigPubsubConfigs" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" True) (C1 (MetaCons "ProjectConfigPubsubConfigs'" PrefixI True) (S1 (MetaSel (Just "_pcpcAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text PubsubConfig))))

projectConfigPubsubConfigs Source #

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

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

Repo

data Repo Source #

A repository (or repo) is a Git repository storing versioned source content.

See: repo smart constructor.

Instances
Eq Repo Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

Data Repo Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: Repo -> Constr #

dataTypeOf :: Repo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Repo Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

showsPrec :: Int -> Repo -> ShowS #

show :: Repo -> String #

showList :: [Repo] -> ShowS #

Generic Repo Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep Repo :: Type -> Type #

Methods

from :: Repo -> Rep Repo x #

to :: Rep Repo x -> Repo #

ToJSON Repo Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON Repo Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Repo Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

repo :: Repo Source #

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

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

rPubsubConfigs :: Lens' Repo (Maybe RepoPubsubConfigs) Source #

How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.

rSize :: Lens' Repo (Maybe Int64) Source #

The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.

rURL :: Lens' Repo (Maybe Text) Source #

URL to clone the repository from Google Cloud Source Repositories. Read-only field.

rName :: Lens' Repo (Maybe Text) Source #

Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash`

rMirrorConfig :: Lens' Repo (Maybe MirrorConfig) Source #

How this repository mirrors a repository managed by another service. Read-only field.

TestIAMPermissionsResponse

data TestIAMPermissionsResponse Source #

Response message for `TestIamPermissions` method.

See: testIAMPermissionsResponse smart constructor.

Instances
Eq TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsResponse -> Constr #

dataTypeOf :: TestIAMPermissionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep TestIAMPermissionsResponse :: Type -> Type #

ToJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep TestIAMPermissionsResponse = D1 (MetaData "TestIAMPermissionsResponse" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" True) (C1 (MetaCons "TestIAMPermissionsResponse'" PrefixI True) (S1 (MetaSel (Just "_tiamprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsResponse :: TestIAMPermissionsResponse Source #

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

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

tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text] Source #

A subset of `TestPermissionsRequest.permissions` that the caller is allowed.

Policy

data Policy Source #

Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } **YAML Example** bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide.

See: policy smart constructor.

Instances
Eq Policy Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

Data Policy Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Policy Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic Policy Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

ToJSON Policy Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON Policy Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Policy Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Policy = D1 (MetaData "Policy" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "Policy'" PrefixI True) ((S1 (MetaSel (Just "_pAuditConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuditConfig])) :*: S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding])))))

policy :: Policy Source #

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

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

pAuditConfigs :: Lens' Policy [AuditConfig] Source #

Specifies cloud audit logging configuration for this policy.

pEtag :: Lens' Policy (Maybe ByteString) Source #

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.

pBindings :: Lens' Policy [Binding] Source #

Associates a list of `members` to a `role`. `bindings` with no members will result in an error.

AuditLogConfig

data AuditLogConfig Source #

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo'gmail.com from DATA_READ logging.

See: auditLogConfig smart constructor.

Instances
Eq AuditLogConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data AuditLogConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: AuditLogConfig -> Constr #

dataTypeOf :: AuditLogConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditLogConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic AuditLogConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep AuditLogConfig :: Type -> Type #

ToJSON AuditLogConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON AuditLogConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep AuditLogConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep AuditLogConfig = D1 (MetaData "AuditLogConfig" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "AuditLogConfig'" PrefixI True) (S1 (MetaSel (Just "_alcLogType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AuditLogConfigLogType)) :*: S1 (MetaSel (Just "_alcExemptedMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

auditLogConfig :: AuditLogConfig Source #

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

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

alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType) Source #

The log type that this config enables.

alcExemptedMembers :: Lens' AuditLogConfig [Text] Source #

Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.

MirrorConfig

data MirrorConfig Source #

Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.

See: mirrorConfig smart constructor.

Instances
Eq MirrorConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Data MirrorConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: MirrorConfig -> Constr #

dataTypeOf :: MirrorConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MirrorConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic MirrorConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep MirrorConfig :: Type -> Type #

ToJSON MirrorConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON MirrorConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep MirrorConfig Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep MirrorConfig = D1 (MetaData "MirrorConfig" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "MirrorConfig'" PrefixI True) (S1 (MetaSel (Just "_mcURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mcDeployKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mcWebhookId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

mirrorConfig :: MirrorConfig Source #

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

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

mcURL :: Lens' MirrorConfig (Maybe Text) Source #

URL of the main repository at the other hosting service.

mcDeployKeyId :: Lens' MirrorConfig (Maybe Text) Source #

ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.

mcWebhookId :: Lens' MirrorConfig (Maybe Text) Source #

ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.

Binding

data Binding Source #

Associates `members` with a `role`.

See: binding smart constructor.

Instances
Eq Binding Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

Data Binding Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Methods

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

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

toConstr :: Binding -> Constr #

dataTypeOf :: Binding -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Binding Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Generic Binding Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

Associated Types

type Rep Binding :: Type -> Type #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

ToJSON Binding Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

FromJSON Binding Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Binding Source # 
Instance details

Defined in Network.Google.SourceRepo.Types.Product

type Rep Binding = D1 (MetaData "Binding" "Network.Google.SourceRepo.Types.Product" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "Binding'" PrefixI True) (S1 (MetaSel (Just "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Expr)))))

binding :: Binding Source #

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

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

bMembers :: Lens' Binding [Text] Source #

Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice'gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app'appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins'example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.

bRole :: Lens' Binding (Maybe Text) Source #

Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

bCondition :: Lens' Binding (Maybe Expr) Source #

Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.