gogol-iam-0.2.0: Google Identity and Access Management (IAM) 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.IAM.Types

Contents

Description

 

Synopsis

Service Configuration

iAMService :: ServiceConfig Source #

Default request referring to version v1 of the Google Identity and Access Management (IAM) 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

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 # 

Methods

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

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

Data Empty Source # 

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 # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
FromJSON Empty Source # 
type Rep Empty Source # 
type Rep Empty = D1 (MetaData "Empty" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "Empty'" PrefixI False) U1)

empty :: Empty Source #

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

AuditData

data AuditData Source #

Audit log information specific to Cloud IAM. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.

See: auditData smart constructor.

Instances

Eq AuditData Source # 
Data AuditData Source # 

Methods

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

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

toConstr :: AuditData -> Constr #

dataTypeOf :: AuditData -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditData Source # 
Generic AuditData Source # 

Associated Types

type Rep AuditData :: * -> * #

ToJSON AuditData Source # 
FromJSON AuditData Source # 
type Rep AuditData Source # 
type Rep AuditData = D1 (MetaData "AuditData" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "AuditData'" PrefixI True) (S1 (MetaSel (Just Symbol "_adPolicyDelta") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PolicyDelta))))

auditData :: AuditData Source #

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

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

adPolicyDelta :: Lens' AuditData (Maybe PolicyDelta) Source #

Policy delta between the original policy and the newly set policy.

ServiceAccountKey

data ServiceAccountKey Source #

Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed key-pairs are managed automatically by Google, and rotated daily without user intervention. The private key never leaves Google's servers to maximize security. Public keys for all service accounts are also published at the OAuth2 Service Account API.

See: serviceAccountKey smart constructor.

Instances

Eq ServiceAccountKey Source # 
Data ServiceAccountKey Source # 

Methods

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

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

toConstr :: ServiceAccountKey -> Constr #

dataTypeOf :: ServiceAccountKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServiceAccountKey Source # 
Generic ServiceAccountKey Source # 
ToJSON ServiceAccountKey Source # 
FromJSON ServiceAccountKey Source # 
type Rep ServiceAccountKey Source # 
type Rep ServiceAccountKey = D1 (MetaData "ServiceAccountKey" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "ServiceAccountKey'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sakValidAfterTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sakPrivateKeyData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) (S1 (MetaSel (Just Symbol "_sakPublicKeyData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sakName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sakPrivateKeyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_sakValidBeforeTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sakKeyAlgorithm") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

serviceAccountKey :: ServiceAccountKey Source #

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

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

sakValidAfterTime :: Lens' ServiceAccountKey (Maybe Text) Source #

The key can be used after this timestamp.

sakPrivateKeyData :: Lens' ServiceAccountKey (Maybe ByteString) Source #

The private key data. Only provided in `CreateServiceAccountKey` responses.

sakPublicKeyData :: Lens' ServiceAccountKey (Maybe ByteString) Source #

The public key data. Only provided in `GetServiceAccountKey` responses.

sakName :: Lens' ServiceAccountKey (Maybe Text) Source #

The resource name of the service account key in the following format `projects/{project}/serviceAccounts/{account}/keys/{key}`.

sakPrivateKeyType :: Lens' ServiceAccountKey (Maybe Text) Source #

The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.

sakValidBeforeTime :: Lens' ServiceAccountKey (Maybe Text) Source #

The key can be used before this timestamp.

sakKeyAlgorithm :: Lens' ServiceAccountKey (Maybe Text) Source #

Specifies the algorithm (and possibly key size) for the key.

CreateServiceAccountKeyRequest

data CreateServiceAccountKeyRequest Source #

The service account key create request.

See: createServiceAccountKeyRequest smart constructor.

Instances

Eq CreateServiceAccountKeyRequest Source # 
Data CreateServiceAccountKeyRequest Source # 

Methods

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

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

toConstr :: CreateServiceAccountKeyRequest -> Constr #

dataTypeOf :: CreateServiceAccountKeyRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateServiceAccountKeyRequest Source # 
Generic CreateServiceAccountKeyRequest Source # 
ToJSON CreateServiceAccountKeyRequest Source # 
FromJSON CreateServiceAccountKeyRequest Source # 
type Rep CreateServiceAccountKeyRequest Source # 
type Rep CreateServiceAccountKeyRequest = D1 (MetaData "CreateServiceAccountKeyRequest" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "CreateServiceAccountKeyRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csakrPrivateKeyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csakrKeyAlgorithm") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

createServiceAccountKeyRequest :: CreateServiceAccountKeyRequest Source #

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

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

csakrPrivateKeyType :: Lens' CreateServiceAccountKeyRequest (Maybe Text) Source #

The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the default output format.

csakrKeyAlgorithm :: Lens' CreateServiceAccountKeyRequest (Maybe Text) Source #

Which type of key and algorithm to use for the key. The default is currently a 4K RSA key. However this may change in the future.

SetIAMPolicyRequest

data SetIAMPolicyRequest Source #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances

Eq SetIAMPolicyRequest Source # 
Data SetIAMPolicyRequest Source # 

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 # 
Generic SetIAMPolicyRequest Source # 
ToJSON SetIAMPolicyRequest Source # 
FromJSON SetIAMPolicyRequest Source # 
type Rep SetIAMPolicyRequest Source # 
type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "SetIAMPolicyRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_siprPolicy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (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:

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.

BindingDelta

data BindingDelta Source #

One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.

See: bindingDelta smart constructor.

Instances

Eq BindingDelta Source # 
Data BindingDelta Source # 

Methods

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

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

toConstr :: BindingDelta -> Constr #

dataTypeOf :: BindingDelta -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BindingDelta Source # 
Generic BindingDelta Source # 

Associated Types

type Rep BindingDelta :: * -> * #

ToJSON BindingDelta Source # 
FromJSON BindingDelta Source # 
type Rep BindingDelta Source # 
type Rep BindingDelta = D1 (MetaData "BindingDelta" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "BindingDelta'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bdAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bdRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bdMember") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

bindingDelta :: BindingDelta Source #

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

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

bdAction :: Lens' BindingDelta (Maybe Text) Source #

The action that was performed on a Binding. Required

bdRole :: Lens' BindingDelta (Maybe Text) Source #

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

bdMember :: Lens' BindingDelta (Maybe Text) Source #

A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required

SignBlobRequest

data SignBlobRequest Source #

The service account sign blob request.

See: signBlobRequest smart constructor.

Instances

Eq SignBlobRequest Source # 
Data SignBlobRequest Source # 

Methods

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

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

toConstr :: SignBlobRequest -> Constr #

dataTypeOf :: SignBlobRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SignBlobRequest Source # 
Generic SignBlobRequest Source # 
ToJSON SignBlobRequest Source # 
FromJSON SignBlobRequest Source # 
type Rep SignBlobRequest Source # 
type Rep SignBlobRequest = D1 (MetaData "SignBlobRequest" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "SignBlobRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_sbrBytesToSign") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bytes))))

signBlobRequest :: SignBlobRequest Source #

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

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

ListServiceAccountKeysResponse

data ListServiceAccountKeysResponse Source #

The service account keys list response.

See: listServiceAccountKeysResponse smart constructor.

Instances

Eq ListServiceAccountKeysResponse Source # 
Data ListServiceAccountKeysResponse Source # 

Methods

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

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

toConstr :: ListServiceAccountKeysResponse -> Constr #

dataTypeOf :: ListServiceAccountKeysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListServiceAccountKeysResponse Source # 
Generic ListServiceAccountKeysResponse Source # 
ToJSON ListServiceAccountKeysResponse Source # 
FromJSON ListServiceAccountKeysResponse Source # 
type Rep ListServiceAccountKeysResponse Source # 
type Rep ListServiceAccountKeysResponse = D1 (MetaData "ListServiceAccountKeysResponse" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "ListServiceAccountKeysResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_lsakrKeys") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ServiceAccountKey]))))

listServiceAccountKeysResponse :: ListServiceAccountKeysResponse Source #

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

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

lsakrKeys :: Lens' ListServiceAccountKeysResponse [ServiceAccountKey] Source #

The public keys for the service account.

Role

data Role Source #

A role in the Identity and Access Management API.

See: role' smart constructor.

Instances

Eq Role Source # 

Methods

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

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

Data Role Source # 

Methods

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

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

toConstr :: Role -> Constr #

dataTypeOf :: Role -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Role Source # 

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Generic Role Source # 

Associated Types

type Rep Role :: * -> * #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

ToJSON Role Source # 
FromJSON Role Source # 
type Rep Role Source # 
type Rep Role = D1 (MetaData "Role" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "Role'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

role' :: Role Source #

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

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

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

The name of the role. When Role is used in CreateRole, the role name must not be set. When Role is used in output and other input such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer for curated roles and organizations/{organization-id}/roles/logging.viewer for custom roles.

rTitle :: Lens' Role (Maybe Text) Source #

Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.

rDescription :: Lens' Role (Maybe Text) Source #

Optional. A human-readable description for the role.

ServiceAccount

data ServiceAccount Source #

A service account in the Identity and Access Management API. To create a service account, specify the `project_id` and the `account_id` for the account. The `account_id` is unique within the project, and is used to generate the service account email address and a stable `unique_id`. If the account already exists, the account's resource name is returned in util::Status's ResourceInfo.resource_name in the format of projects/{project}/serviceAccounts/{email}. The caller can use the name in other methods to access the account. All other methods can identify the service account using the format `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.

See: serviceAccount smart constructor.

Instances

Eq ServiceAccount Source # 
Data ServiceAccount Source # 

Methods

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

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

toConstr :: ServiceAccount -> Constr #

dataTypeOf :: ServiceAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServiceAccount Source # 
Generic ServiceAccount Source # 

Associated Types

type Rep ServiceAccount :: * -> * #

ToJSON ServiceAccount Source # 
FromJSON ServiceAccount Source # 
type Rep ServiceAccount Source # 

serviceAccount :: ServiceAccount Source #

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

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

saEmail :: Lens' ServiceAccount (Maybe Text) Source #

'OutputOnly The email address of the service account.

saEtag :: Lens' ServiceAccount (Maybe ByteString) Source #

Used to perform a consistent read-modify-write.

saUniqueId :: Lens' ServiceAccount (Maybe Text) Source #

'OutputOnly The unique and stable id of the service account.

saName :: Lens' ServiceAccount (Maybe Text) Source #

The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Requests using `-` as a wildcard for the project will infer the project from the `account` and the `account` value can be the `email` address or the `unique_id` of the service account. In responses the resource name will always be in the format `projects/{project}/serviceAccounts/{email}`.

saDisplayName :: Lens' ServiceAccount (Maybe Text) Source #

Optional. A user-specified description of the service account. Must be fewer than 100 UTF-8 bytes.

saProjectId :: Lens' ServiceAccount (Maybe Text) Source #

'OutputOnly The id of the project that owns the service account.

saOAuth2ClientId :: Lens' ServiceAccount (Maybe Text) Source #

'OutputOnly. The OAuth2 client id for the service account. This is used in conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO) flows to access the data of Google users.

QueryGrantableRolesResponse

data QueryGrantableRolesResponse Source #

The grantable role query response.

See: queryGrantableRolesResponse smart constructor.

Instances

Eq QueryGrantableRolesResponse Source # 
Data QueryGrantableRolesResponse Source # 

Methods

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

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

toConstr :: QueryGrantableRolesResponse -> Constr #

dataTypeOf :: QueryGrantableRolesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryGrantableRolesResponse Source # 
Generic QueryGrantableRolesResponse Source # 
ToJSON QueryGrantableRolesResponse Source # 
FromJSON QueryGrantableRolesResponse Source # 
type Rep QueryGrantableRolesResponse Source # 
type Rep QueryGrantableRolesResponse = D1 (MetaData "QueryGrantableRolesResponse" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "QueryGrantableRolesResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_qgrrRoles") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Role]))))

queryGrantableRolesResponse :: QueryGrantableRolesResponse Source #

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

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

qgrrRoles :: Lens' QueryGrantableRolesResponse [Role] Source #

The list of matching roles.

TestIAMPermissionsRequest

data TestIAMPermissionsRequest Source #

Request message for `TestIamPermissions` method.

See: testIAMPermissionsRequest smart constructor.

Instances

Eq TestIAMPermissionsRequest Source # 
Data TestIAMPermissionsRequest Source # 

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 # 
Generic TestIAMPermissionsRequest Source # 
ToJSON TestIAMPermissionsRequest Source # 
FromJSON TestIAMPermissionsRequest Source # 
type Rep TestIAMPermissionsRequest Source # 
type Rep TestIAMPermissionsRequest = D1 (MetaData "TestIAMPermissionsRequest" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "TestIAMPermissionsRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_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.

TestIAMPermissionsResponse

data TestIAMPermissionsResponse Source #

Response message for `TestIamPermissions` method.

See: testIAMPermissionsResponse smart constructor.

Instances

Eq TestIAMPermissionsResponse Source # 
Data TestIAMPermissionsResponse Source # 

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 # 
Generic TestIAMPermissionsResponse Source # 
ToJSON TestIAMPermissionsResponse Source # 
FromJSON TestIAMPermissionsResponse Source # 
type Rep TestIAMPermissionsResponse Source # 
type Rep TestIAMPermissionsResponse = D1 (MetaData "TestIAMPermissionsResponse" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "TestIAMPermissionsResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_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. **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"] } ] } For a description of IAM and its features, see the IAM developer's guide.

See: policy smart constructor.

Instances

Eq Policy Source # 

Methods

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

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

Data Policy Source # 

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 # 
Generic Policy Source # 

Associated Types

type Rep Policy :: * -> * #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

ToJSON Policy Source # 
FromJSON Policy Source # 
type Rep Policy Source # 
type Rep Policy = D1 (MetaData "Policy" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "Policy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) ((:*:) (S1 (MetaSel (Just Symbol "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_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:

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.

pVersion :: Lens' Policy (Maybe Int32) Source #

Version of the `Policy`. The default version is 0.

pBindings :: Lens' Policy [Binding] Source #

Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.

PolicyDelta

data PolicyDelta Source #

The difference delta between two policies.

See: policyDelta smart constructor.

Instances

Eq PolicyDelta Source # 
Data PolicyDelta Source # 

Methods

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

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

toConstr :: PolicyDelta -> Constr #

dataTypeOf :: PolicyDelta -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PolicyDelta Source # 
Generic PolicyDelta Source # 

Associated Types

type Rep PolicyDelta :: * -> * #

ToJSON PolicyDelta Source # 
FromJSON PolicyDelta Source # 
type Rep PolicyDelta Source # 
type Rep PolicyDelta = D1 (MetaData "PolicyDelta" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "PolicyDelta'" PrefixI True) (S1 (MetaSel (Just Symbol "_pdBindingDeltas") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [BindingDelta]))))

policyDelta :: PolicyDelta Source #

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

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

pdBindingDeltas :: Lens' PolicyDelta [BindingDelta] Source #

The delta for Bindings between two policies.

QueryGrantableRolesRequest

data QueryGrantableRolesRequest Source #

The grantable role query request.

See: queryGrantableRolesRequest smart constructor.

Instances

Eq QueryGrantableRolesRequest Source # 
Data QueryGrantableRolesRequest Source # 

Methods

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

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

toConstr :: QueryGrantableRolesRequest -> Constr #

dataTypeOf :: QueryGrantableRolesRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryGrantableRolesRequest Source # 
Generic QueryGrantableRolesRequest Source # 
ToJSON QueryGrantableRolesRequest Source # 
FromJSON QueryGrantableRolesRequest Source # 
type Rep QueryGrantableRolesRequest Source # 
type Rep QueryGrantableRolesRequest = D1 (MetaData "QueryGrantableRolesRequest" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" True) (C1 (MetaCons "QueryGrantableRolesRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_qgrrFullResourceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

queryGrantableRolesRequest :: QueryGrantableRolesRequest Source #

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

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

qgrrFullResourceName :: Lens' QueryGrantableRolesRequest (Maybe Text) Source #

Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`.

SignBlobResponse

data SignBlobResponse Source #

The service account sign blob response.

See: signBlobResponse smart constructor.

Instances

Eq SignBlobResponse Source # 
Data SignBlobResponse Source # 

Methods

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

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

toConstr :: SignBlobResponse -> Constr #

dataTypeOf :: SignBlobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SignBlobResponse Source # 
Generic SignBlobResponse Source # 
ToJSON SignBlobResponse Source # 
FromJSON SignBlobResponse Source # 
type Rep SignBlobResponse Source # 
type Rep SignBlobResponse = D1 (MetaData "SignBlobResponse" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "SignBlobResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sbrSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) (S1 (MetaSel (Just Symbol "_sbrKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

signBlobResponse :: SignBlobResponse Source #

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

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

sbrKeyId :: Lens' SignBlobResponse (Maybe Text) Source #

The id of the key used to sign the blob.

ListServiceAccountsResponse

data ListServiceAccountsResponse Source #

The service account list response.

See: listServiceAccountsResponse smart constructor.

Instances

Eq ListServiceAccountsResponse Source # 
Data ListServiceAccountsResponse Source # 

Methods

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

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

toConstr :: ListServiceAccountsResponse -> Constr #

dataTypeOf :: ListServiceAccountsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListServiceAccountsResponse Source # 
Generic ListServiceAccountsResponse Source # 
ToJSON ListServiceAccountsResponse Source # 
FromJSON ListServiceAccountsResponse Source # 
type Rep ListServiceAccountsResponse Source # 
type Rep ListServiceAccountsResponse = D1 (MetaData "ListServiceAccountsResponse" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "ListServiceAccountsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsarAccounts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceAccount])))))

listServiceAccountsResponse :: ListServiceAccountsResponse Source #

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

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

lsarNextPageToken :: Lens' ListServiceAccountsResponse (Maybe Text) Source #

To retrieve the next page of results, set ListServiceAccountsRequest.page_token to this value.

lsarAccounts :: Lens' ListServiceAccountsResponse [ServiceAccount] Source #

The list of matching service accounts.

CreateServiceAccountRequest

data CreateServiceAccountRequest Source #

The service account create request.

See: createServiceAccountRequest smart constructor.

Instances

Eq CreateServiceAccountRequest Source # 
Data CreateServiceAccountRequest Source # 

Methods

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

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

toConstr :: CreateServiceAccountRequest -> Constr #

dataTypeOf :: CreateServiceAccountRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateServiceAccountRequest Source # 
Generic CreateServiceAccountRequest Source # 
ToJSON CreateServiceAccountRequest Source # 
FromJSON CreateServiceAccountRequest Source # 
type Rep CreateServiceAccountRequest Source # 
type Rep CreateServiceAccountRequest = D1 (MetaData "CreateServiceAccountRequest" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "CreateServiceAccountRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csarServiceAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServiceAccount))) (S1 (MetaSel (Just Symbol "_csarAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

createServiceAccountRequest :: CreateServiceAccountRequest Source #

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

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

csarServiceAccount :: Lens' CreateServiceAccountRequest (Maybe ServiceAccount) Source #

The ServiceAccount resource to create. Currently, only the following values are user assignable: `display_name` .

csarAccountId :: Lens' CreateServiceAccountRequest (Maybe Text) Source #

Required. The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.

Binding

data Binding Source #

Associates `members` with a `role`.

See: binding smart constructor.

Instances

Eq Binding Source # 

Methods

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

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

Data Binding Source # 

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 # 
Generic Binding Source # 

Associated Types

type Rep Binding :: * -> * #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

ToJSON Binding Source # 
FromJSON Binding Source # 
type Rep Binding Source # 
type Rep Binding = D1 (MetaData "Binding" "Network.Google.IAM.Types.Product" "gogol-iam-0.2.0-Cd8ZBGiWRolD28E5Y4LCfD" False) (C1 (MetaCons "Binding'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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` or `joe'example.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`. Required