Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- ListFoldersResponse
- Status
- FolderLifecycleState
- AuditConfig
- Expr
- GetIAMPolicyRequest
- SearchFoldersRequest
- UndeleteFolderRequest
- Operation
- FolderOperationErrorErrorMessageId
- SearchFoldersResponse
- ProjectCreationStatus
- StatusDetailsItem
- FolderOperationError
- Folder
- FolderOperationOperationType
- SetIAMPolicyRequest
- AuditLogConfigLogType
- Xgafv
- TestIAMPermissionsRequest
- TestIAMPermissionsResponse
- Policy
- OperationMetadata
- FolderOperation
- AuditLogConfig
- OperationResponse
- MoveFolderRequest
- Binding
Synopsis
- resourceManagerService :: ServiceConfig
- cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- data ListFoldersResponse
- listFoldersResponse :: ListFoldersResponse
- lfrNextPageToken :: Lens' ListFoldersResponse (Maybe Text)
- lfrFolders :: Lens' ListFoldersResponse [Folder]
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data FolderLifecycleState
- data AuditConfig
- auditConfig :: AuditConfig
- acService :: Lens' AuditConfig (Maybe Text)
- acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig]
- data Expr
- expr :: Expr
- eLocation :: Lens' Expr (Maybe Text)
- eExpression :: Lens' Expr (Maybe Text)
- eTitle :: Lens' Expr (Maybe Text)
- eDescription :: Lens' Expr (Maybe Text)
- data GetIAMPolicyRequest
- getIAMPolicyRequest :: GetIAMPolicyRequest
- data SearchFoldersRequest
- searchFoldersRequest :: SearchFoldersRequest
- sfrQuery :: Lens' SearchFoldersRequest (Maybe Text)
- sfrPageToken :: Lens' SearchFoldersRequest (Maybe Text)
- sfrPageSize :: Lens' SearchFoldersRequest (Maybe Int32)
- data UndeleteFolderRequest
- undeleteFolderRequest :: UndeleteFolderRequest
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationMetadata)
- data FolderOperationErrorErrorMessageId
- data SearchFoldersResponse
- searchFoldersResponse :: SearchFoldersResponse
- sfrNextPageToken :: Lens' SearchFoldersResponse (Maybe Text)
- sfrFolders :: Lens' SearchFoldersResponse [Folder]
- data ProjectCreationStatus
- projectCreationStatus :: ProjectCreationStatus
- pcsGettable :: Lens' ProjectCreationStatus (Maybe Bool)
- pcsReady :: Lens' ProjectCreationStatus (Maybe Bool)
- pcsCreateTime :: Lens' ProjectCreationStatus (Maybe UTCTime)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data FolderOperationError
- folderOperationError :: FolderOperationError
- foeErrorMessageId :: Lens' FolderOperationError (Maybe FolderOperationErrorErrorMessageId)
- data Folder
- folder :: Folder
- fParent :: Lens' Folder (Maybe Text)
- fName :: Lens' Folder (Maybe Text)
- fDisplayName :: Lens' Folder (Maybe Text)
- fLifecycleState :: Lens' Folder (Maybe FolderLifecycleState)
- fCreateTime :: Lens' Folder (Maybe UTCTime)
- data FolderOperationOperationType
- data SetIAMPolicyRequest
- setIAMPolicyRequest :: SetIAMPolicyRequest
- siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask)
- siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy)
- data AuditLogConfigLogType
- data Xgafv
- data TestIAMPermissionsRequest
- testIAMPermissionsRequest :: TestIAMPermissionsRequest
- tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]
- data TestIAMPermissionsResponse
- testIAMPermissionsResponse :: TestIAMPermissionsResponse
- tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]
- data Policy
- policy :: Policy
- pAuditConfigs :: Lens' Policy [AuditConfig]
- pEtag :: Lens' Policy (Maybe ByteString)
- pVersion :: Lens' Policy (Maybe Int32)
- pBindings :: Lens' Policy [Binding]
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data FolderOperation
- folderOperation :: FolderOperation
- foDestinationParent :: Lens' FolderOperation (Maybe Text)
- foDisplayName :: Lens' FolderOperation (Maybe Text)
- foOperationType :: Lens' FolderOperation (Maybe FolderOperationOperationType)
- foSourceParent :: Lens' FolderOperation (Maybe Text)
- data AuditLogConfig
- auditLogConfig :: AuditLogConfig
- alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType)
- alcExemptedMembers :: Lens' AuditLogConfig [Text]
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data MoveFolderRequest
- moveFolderRequest :: MoveFolderRequest
- mfrDestinationParent :: Lens' MoveFolderRequest (Maybe Text)
- data Binding
- binding :: Binding
- bMembers :: Lens' Binding [Text]
- bRole :: Lens' Binding (Maybe Text)
- bCondition :: Lens' Binding (Maybe Expr)
Service Configuration
resourceManagerService :: ServiceConfig Source #
Default request referring to version v2
of the 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
ListFoldersResponse
data ListFoldersResponse Source #
The ListFolders response message.
See: listFoldersResponse
smart constructor.
Instances
listFoldersResponse :: ListFoldersResponse Source #
Creates a value of ListFoldersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfrNextPageToken :: Lens' ListFoldersResponse (Maybe Text) Source #
A pagination token returned from a previous call to `ListFolders` that indicates from where listing should continue. This field is optional.
lfrFolders :: Lens' ListFoldersResponse [Folder] Source #
A possibly paginated list of Folders that are direct descendants of the specified parent resource.
Status
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.ResourceManager.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Network.Google.ResourceManager.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.ResourceManager.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.4.0-UDFVnkFAEA9efzG80swCH" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
FolderLifecycleState
data FolderLifecycleState Source #
Output only. The lifecycle state of the folder. Updates to the lifecycle_state must be performed via DeleteFolder and UndeleteFolder.
LifecycleStateUnspecified |
|
Active |
|
DeleteRequested |
|
Instances
AuditConfig
data AuditConfig Source #
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar'gmail.com" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo'gmail.com from DATA_READ logging, and bar'gmail.com from DATA_WRITE logging.
See: auditConfig
smart constructor.
Instances
auditConfig :: AuditConfig Source #
Creates a value of AuditConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acService :: Lens' AuditConfig (Maybe Text) Source #
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig] Source #
The configuration for logging of each type of permission.
Expr
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
See: expr
smart constructor.
Instances
Eq Expr Source # | |
Data Expr Source # | |
Defined in Network.Google.ResourceManager.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Expr -> c Expr # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Expr # dataTypeOf :: Expr -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Expr) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Expr) # gmapT :: (forall b. Data b => b -> b) -> Expr -> Expr # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQ :: (forall d. Data d => d -> u) -> Expr -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Expr -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # | |
Show Expr Source # | |
Generic Expr Source # | |
ToJSON Expr Source # | |
Defined in Network.Google.ResourceManager.Types.Product | |
FromJSON Expr Source # | |
type Rep Expr Source # | |
Defined in Network.Google.ResourceManager.Types.Product type Rep Expr = D1 (MetaData "Expr" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.4.0-UDFVnkFAEA9efzG80swCH" False) (C1 (MetaCons "Expr'" PrefixI True) ((S1 (MetaSel (Just "_eLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Expr
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eLocation :: Lens' Expr (Maybe Text) Source #
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
eExpression :: Lens' Expr (Maybe Text) Source #
Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
eTitle :: Lens' Expr (Maybe Text) Source #
An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
eDescription :: Lens' Expr (Maybe Text) Source #
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
GetIAMPolicyRequest
data GetIAMPolicyRequest Source #
Request message for `GetIamPolicy` method.
See: getIAMPolicyRequest
smart constructor.
Instances
getIAMPolicyRequest :: GetIAMPolicyRequest Source #
Creates a value of GetIAMPolicyRequest
with the minimum fields required to make a request.
SearchFoldersRequest
data SearchFoldersRequest Source #
The request message for searching folders.
See: searchFoldersRequest
smart constructor.
Instances
searchFoldersRequest :: SearchFoldersRequest Source #
Creates a value of SearchFoldersRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sfrQuery :: Lens' SearchFoldersRequest (Maybe Text) Source #
Search criteria used to select the Folders to return. If no search criteria is specified then all accessible folders will be returned. Query expressions can be used to restrict results based upon displayName, lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR` can be used along with the suffix wildcard symbol `*`. The displayName field in a query expression should use escaped quotes for values that include whitespace to prevent unexpected behavior. Some example queries are: |Query | Description| |----- | -----------| |displayName=Test* | Folders whose display name starts with "Test".| |lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE.| |parent=folders/123 | Folders whose parent is "folders/123".| |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent is "folders/123".| |displayName=\\"Test String\\"|Folders whose display name includes both "Test" and "String".|
sfrPageToken :: Lens' SearchFoldersRequest (Maybe Text) Source #
A pagination token returned from a previous call to `SearchFolders` that indicates from where search should continue. This field is optional.
sfrPageSize :: Lens' SearchFoldersRequest (Maybe Int32) Source #
The maximum number of folders to return in the response. This field is optional.
UndeleteFolderRequest
data UndeleteFolderRequest Source #
The UndeleteFolder request message.
See: undeleteFolderRequest
smart constructor.
Instances
undeleteFolderRequest :: UndeleteFolderRequest Source #
Creates a value of UndeleteFolderRequest
with the minimum fields required to make a request.
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
Instances
oDone :: Lens' Operation (Maybe Bool) Source #
If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
oError :: Lens' Operation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
oName :: Lens' Operation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.
oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
FolderOperationErrorErrorMessageId
data FolderOperationErrorErrorMessageId Source #
The type of operation error experienced.
ErrorTypeUnspecified |
|
ActiveFolderHeightViolation |
|
MaxChildFoldersViolation |
|
FolderNameUniquenessViolation |
|
ResourceDeletedViolation |
|
ParentDeletedViolation |
|
CycleIntroducedViolation |
|
FolderBeingMovedViolation |
|
FolderToDeleteNonEmptyViolation |
|
DeletedFolderHeightViolation |
|
Instances
SearchFoldersResponse
data SearchFoldersResponse Source #
The response message for searching folders.
See: searchFoldersResponse
smart constructor.
Instances
searchFoldersResponse :: SearchFoldersResponse Source #
Creates a value of SearchFoldersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sfrNextPageToken :: Lens' SearchFoldersResponse (Maybe Text) Source #
A pagination token returned from a previous call to `SearchFolders` that indicates from where searching should continue. This field is optional.
sfrFolders :: Lens' SearchFoldersResponse [Folder] Source #
A possibly paginated folder search results. the specified parent resource.
ProjectCreationStatus
data ProjectCreationStatus Source #
A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.
See: projectCreationStatus
smart constructor.
Instances
projectCreationStatus :: ProjectCreationStatus Source #
Creates a value of ProjectCreationStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcsGettable :: Lens' ProjectCreationStatus (Maybe Bool) Source #
True if the project can be retrieved using GetProject. No other operations on the project are guaranteed to work until the project creation is complete.
pcsReady :: Lens' ProjectCreationStatus (Maybe Bool) Source #
True if the project creation process is complete.
pcsCreateTime :: Lens' ProjectCreationStatus (Maybe UTCTime) Source #
Creation time of the project creation workflow.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
FolderOperationError
data FolderOperationError Source #
A classification of the Folder Operation error.
See: folderOperationError
smart constructor.
Instances
folderOperationError :: FolderOperationError Source #
Creates a value of FolderOperationError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
foeErrorMessageId :: Lens' FolderOperationError (Maybe FolderOperationErrorErrorMessageId) Source #
The type of operation error experienced.
Folder
A Folder in an Organization's resource hierarchy, used to organize that Organization's resources.
See: folder
smart constructor.
Instances
Creates a value of Folder
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fParent :: Lens' Folder (Maybe Text) Source #
The Folder’s parent's resource name. Updates to the folder's parent must be performed via MoveFolder.
fName :: Lens' Folder (Maybe Text) Source #
Output only. The resource name of the Folder. Its format is `folders/{folder_id}`, for example: "folders/1234".
fDisplayName :: Lens' Folder (Maybe Text) Source #
The folder’s display name. A folder’s display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: [\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?.
fLifecycleState :: Lens' Folder (Maybe FolderLifecycleState) Source #
Output only. The lifecycle state of the folder. Updates to the lifecycle_state must be performed via DeleteFolder and UndeleteFolder.
fCreateTime :: Lens' Folder (Maybe UTCTime) Source #
Output only. Timestamp when the Folder was created. Assigned by the server.
FolderOperationOperationType
data FolderOperationOperationType Source #
The type of this operation.
OperationTypeUnspecified |
|
Create |
|
Move |
|
Instances
SetIAMPolicyRequest
data SetIAMPolicyRequest Source #
Request message for `SetIamPolicy` method.
See: setIAMPolicyRequest
smart constructor.
Instances
setIAMPolicyRequest :: SetIAMPolicyRequest Source #
Creates a value of SetIAMPolicyRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask) Source #
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag" This field is only used by Cloud IAM.
siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #
REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
AuditLogConfigLogType
data AuditLogConfigLogType Source #
The log type that this config enables.
LogTypeUnspecified |
|
AdminRead |
|
DataWrite |
|
DataRead |
|
Instances
Xgafv
V1 error format.
Instances
TestIAMPermissionsRequest
data TestIAMPermissionsRequest Source #
Request message for `TestIamPermissions` method.
See: testIAMPermissionsRequest
smart constructor.
Instances
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
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
Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } **YAML Example** bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide.
See: policy
smart constructor.
Instances
Eq Policy Source # | |
Data Policy Source # | |
Defined in Network.Google.ResourceManager.Types.Product 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 # | |
ToJSON Policy Source # | |
Defined in Network.Google.ResourceManager.Types.Product | |
FromJSON Policy Source # | |
type Rep Policy Source # | |
Defined in Network.Google.ResourceManager.Types.Product type Rep Policy = D1 (MetaData "Policy" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.4.0-UDFVnkFAEA9efzG80swCH" False) (C1 (MetaCons "Policy'" PrefixI True) ((S1 (MetaSel (Just "_pAuditConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuditConfig])) :*: S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding]))))) |
Creates a value of Policy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pAuditConfigs :: Lens' Policy [AuditConfig] Source #
Specifies cloud audit logging configuration for this policy.
pEtag :: Lens' Policy (Maybe ByteString) Source #
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
pBindings :: Lens' Policy [Binding] Source #
Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
OperationMetadata
data OperationMetadata Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
See: operationMetadata
smart constructor.
Instances
Creates a value of OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
FolderOperation
data FolderOperation Source #
Metadata describing a long running folder operation
See: folderOperation
smart constructor.
Instances
folderOperation :: FolderOperation Source #
Creates a value of FolderOperation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
foDestinationParent :: Lens' FolderOperation (Maybe Text) Source #
The resource name of the folder or organization we are either creating the folder under or moving the folder to.
foDisplayName :: Lens' FolderOperation (Maybe Text) Source #
The display name of the folder.
foOperationType :: Lens' FolderOperation (Maybe FolderOperationOperationType) Source #
The type of this operation.
foSourceParent :: Lens' FolderOperation (Maybe Text) Source #
The resource name of the folder's parent. Only applicable when the operation_type is MOVE.
AuditLogConfig
data AuditLogConfig Source #
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo'gmail.com from DATA_READ logging.
See: auditLogConfig
smart constructor.
Instances
auditLogConfig :: AuditLogConfig Source #
Creates a value of AuditLogConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType) Source #
The log type that this config enables.
alcExemptedMembers :: Lens' AuditLogConfig [Text] Source #
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
OperationResponse
data OperationResponse Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
See: operationResponse
smart constructor.
Instances
Creates a value of OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
MoveFolderRequest
data MoveFolderRequest Source #
The MoveFolder request message.
See: moveFolderRequest
smart constructor.
Instances
moveFolderRequest :: MoveFolderRequest Source #
Creates a value of MoveFolderRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mfrDestinationParent :: Lens' MoveFolderRequest (Maybe Text) Source #
The resource name of the Folder or Organization to reparent the folder under. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`.
Binding
Associates `members` with a `role`.
See: binding
smart constructor.
Instances
Eq Binding Source # | |
Data Binding Source # | |
Defined in Network.Google.ResourceManager.Types.Product 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 # | |
ToJSON Binding Source # | |
Defined in Network.Google.ResourceManager.Types.Product | |
FromJSON Binding Source # | |
type Rep Binding Source # | |
Defined in Network.Google.ResourceManager.Types.Product type Rep Binding = D1 (MetaData "Binding" "Network.Google.ResourceManager.Types.Product" "gogol-resourcemanager-0.4.0-UDFVnkFAEA9efzG80swCH" False) (C1 (MetaCons "Binding'" PrefixI True) (S1 (MetaSel (Just "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Expr))))) |
Creates a value of Binding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bMembers :: Lens' Binding [Text] Source #
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice'gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app'appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins'example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.