gogol-resourcemanager-0.1.0: Google Cloud Resource Manager 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.ResourceManager

Contents

Description

The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.

See: Google Cloud Resource Manager API Reference

Synopsis

Service Configuration

resourceManagerService :: ServiceConfig Source #

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

OAuth Scopes

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

View your data across Google Cloud Platform services

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

View and manage your data across Google Cloud Platform services

API Declaration

Resources

cloudresourcemanager.projects.delete

cloudresourcemanager.projects.get

cloudresourcemanager.projects.getIamPolicy

cloudresourcemanager.projects.list

cloudresourcemanager.projects.setIamPolicy

cloudresourcemanager.projects.testIamPermissions

cloudresourcemanager.projects.undelete

cloudresourcemanager.projects.update

Types

ResourceId

data ResourceId Source #

A container to reference an id for any resource type. A `resource` in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, a Cloud SQL database, and so on.

See: resourceId smart constructor.

Instances

Eq ResourceId Source # 
Data ResourceId Source # 

Methods

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

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

toConstr :: ResourceId -> Constr #

dataTypeOf :: ResourceId -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourceId Source # 
Generic ResourceId Source # 

Associated Types

type Rep ResourceId :: * -> * #

ToJSON ResourceId Source # 
FromJSON ResourceId Source # 
type Rep ResourceId Source # 
type Rep ResourceId = D1 (MetaData "ResourceId" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" False) (C1 (MetaCons "ResourceId'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_riId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_riType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

resourceId :: ResourceId Source #

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

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

riId :: Lens' ResourceId (Maybe Text) Source #

Required field for the type-specific id. This should correspond to the id used in the type-specific API's.

riType :: Lens' ResourceId (Maybe Text) Source #

Required field representing the resource type this id is for. At present, the only valid type is "organization".

ListProjectsResponse

data ListProjectsResponse Source #

A page of the response received from the ListProjects method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.

See: listProjectsResponse smart constructor.

Instances

Eq ListProjectsResponse Source # 
Data ListProjectsResponse Source # 

Methods

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

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

toConstr :: ListProjectsResponse -> Constr #

dataTypeOf :: ListProjectsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListProjectsResponse Source # 
Generic ListProjectsResponse Source # 
ToJSON ListProjectsResponse Source # 
FromJSON ListProjectsResponse Source # 
type Rep ListProjectsResponse Source # 
type Rep ListProjectsResponse = D1 (MetaData "ListProjectsResponse" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" False) (C1 (MetaCons "ListProjectsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lprNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lprProjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Project])))))

listProjectsResponse :: ListProjectsResponse Source #

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

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

lprNextPageToken :: Lens' ListProjectsResponse (Maybe Text) Source #

Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.

lprProjects :: Lens' ListProjectsResponse [Project] Source #

The list of Projects that matched the list filter. This list can be paginated.

GetIAMPolicyRequest

data GetIAMPolicyRequest Source #

Request message for `GetIamPolicy` method.

See: getIAMPolicyRequest smart constructor.

Instances

Eq GetIAMPolicyRequest Source # 
Data GetIAMPolicyRequest Source # 

Methods

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

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

toConstr :: GetIAMPolicyRequest -> Constr #

dataTypeOf :: GetIAMPolicyRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetIAMPolicyRequest Source # 
Generic GetIAMPolicyRequest Source # 
ToJSON GetIAMPolicyRequest Source # 
FromJSON GetIAMPolicyRequest Source # 
type Rep GetIAMPolicyRequest Source # 
type Rep GetIAMPolicyRequest = D1 (MetaData "GetIAMPolicyRequest" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" False) (C1 (MetaCons "GetIAMPolicyRequest'" PrefixI False) U1)

getIAMPolicyRequest :: GetIAMPolicyRequest Source #

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

Project

data Project Source #

A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources.

See: project smart constructor.

Instances

Eq Project Source # 

Methods

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

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

Data Project Source # 

Methods

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

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

toConstr :: Project -> Constr #

dataTypeOf :: Project -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Project Source # 
Generic Project Source # 

Associated Types

type Rep Project :: * -> * #

Methods

from :: Project -> Rep Project x #

to :: Rep Project x -> Project #

ToJSON Project Source # 
FromJSON Project Source # 
type Rep Project Source # 

project :: Project Source #

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

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

pParent :: Lens' Project (Maybe ResourceId) Source #

An optional reference to a parent Resource. The only supported parent type is "organization". Once set, the parent cannot be modified. Read-write.

pProjectNumber :: Lens' Project (Maybe Int64) Source #

The number uniquely identifying the project. Example: 415104041262 Read-only.

pName :: Lens' Project (Maybe Text) Source #

The user-assigned name of the Project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write.

pLabels :: Lens' Project (Maybe ProjectLabels) Source #

The labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write.

pProjectId :: Lens' Project (Maybe Text) Source #

The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation.

pLifecycleState :: Lens' Project (Maybe Text) Source #

The Project lifecycle state. Read-only.

pCreateTime :: Lens' Project (Maybe Text) Source #

Creation time. Read-only.

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.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" False) (C1 (MetaCons "Empty'" PrefixI False) U1)

empty :: Empty Source #

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

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.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" 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.

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.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" 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.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" 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.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" False) (C1 (MetaCons "Policy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) ((:*:) (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.

ProjectLabels

data ProjectLabels Source #

The labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write.

See: projectLabels smart constructor.

Instances

Eq ProjectLabels Source # 
Data ProjectLabels Source # 

Methods

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

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

toConstr :: ProjectLabels -> Constr #

dataTypeOf :: ProjectLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectLabels Source # 
Generic ProjectLabels Source # 

Associated Types

type Rep ProjectLabels :: * -> * #

ToJSON ProjectLabels Source # 
FromJSON ProjectLabels Source # 
type Rep ProjectLabels Source # 
type Rep ProjectLabels = D1 (MetaData "ProjectLabels" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" True) (C1 (MetaCons "ProjectLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_plAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

projectLabels Source #

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

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

UndeleteProjectRequest

data UndeleteProjectRequest Source #

The request sent to the UndeleteProject method.

See: undeleteProjectRequest smart constructor.

Instances

Eq UndeleteProjectRequest Source # 
Data UndeleteProjectRequest Source # 

Methods

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

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

toConstr :: UndeleteProjectRequest -> Constr #

dataTypeOf :: UndeleteProjectRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UndeleteProjectRequest Source # 
Generic UndeleteProjectRequest Source # 
ToJSON UndeleteProjectRequest Source # 
FromJSON UndeleteProjectRequest Source # 
type Rep UndeleteProjectRequest Source # 
type Rep UndeleteProjectRequest = D1 (MetaData "UndeleteProjectRequest" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" False) (C1 (MetaCons "UndeleteProjectRequest'" PrefixI False) U1)

undeleteProjectRequest :: UndeleteProjectRequest Source #

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

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.ResourceManager.Types.Product" "gogol-resourcemanager-0.1.0-HqIOZEd4kuYGnoavYWNQn2" 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