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
- OperationWarningsItemDataItem
- ConfigFile
- AuditConfig
- DeploymentsUpdateCreatePolicy
- Expr
- OperationsListResponse
- ResourceUpdateWarningsItemDataItem
- DeploymentsDeleteDeletePolicy
- TypesListResponse
- LogConfigCounterOptions
- DeploymentsUpdateDeletePolicy
- DeploymentsPatchDeletePolicy
- Operation
- TestPermissionsResponse
- DeploymentsPatchCreatePolicy
- ResourcesListResponse
- DeploymentUpdate
- ResourceUpdate
- DeploymentLabelEntry
- Rule
- TestPermissionsRequest
- Manifest
- ResourceUpdateWarningsItem
- DeploymentsCancelPreviewRequest
- LogConfigCloudAuditOptions
- Resource
- LogConfigDataAccessOptions
- DeploymentUpdateLabelEntry
- ResourceUpdateErrorErrorsItem
- ManifestsListResponse
- OperationError
- GlobalSetPolicyRequest
- AuthorizationLoggingOptions
- Policy
- Type
- ImportFile
- OperationErrorErrorsItem
- DeploymentsStopRequest
- ResourceWarningsItemDataItem
- AuditLogConfig
- ResourceUpdateError
- Condition
- DeploymentsListResponse
- ResourceWarningsItem
- LogConfig
- ResourceAccessControl
- TargetConfiguration
- OperationWarningsItem
- Binding
- Deployment
- DeploymentsInsertCreatePolicy
Synopsis
- deploymentManagerService :: ServiceConfig
- cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- ndevCloudmanScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman"]
- ndevCloudmanReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman.readonly"]
- data OperationWarningsItemDataItem
- operationWarningsItemDataItem :: OperationWarningsItemDataItem
- owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text)
- owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text)
- data ConfigFile
- configFile :: ConfigFile
- cfContent :: Lens' ConfigFile (Maybe Text)
- data AuditConfig
- auditConfig :: AuditConfig
- acService :: Lens' AuditConfig (Maybe Text)
- acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig]
- acExemptedMembers :: Lens' AuditConfig [Text]
- data DeploymentsUpdateCreatePolicy
- 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 OperationsListResponse
- operationsListResponse :: OperationsListResponse
- olrNextPageToken :: Lens' OperationsListResponse (Maybe Text)
- olrOperations :: Lens' OperationsListResponse [Operation]
- data ResourceUpdateWarningsItemDataItem
- resourceUpdateWarningsItemDataItem :: ResourceUpdateWarningsItemDataItem
- ruwidiValue :: Lens' ResourceUpdateWarningsItemDataItem (Maybe Text)
- ruwidiKey :: Lens' ResourceUpdateWarningsItemDataItem (Maybe Text)
- data DeploymentsDeleteDeletePolicy
- data TypesListResponse
- typesListResponse :: TypesListResponse
- tlrNextPageToken :: Lens' TypesListResponse (Maybe Text)
- tlrTypes :: Lens' TypesListResponse [Type]
- data LogConfigCounterOptions
- logConfigCounterOptions :: LogConfigCounterOptions
- lccoField :: Lens' LogConfigCounterOptions (Maybe Text)
- lccoMetric :: Lens' LogConfigCounterOptions (Maybe Text)
- data DeploymentsUpdateDeletePolicy
- data DeploymentsPatchDeletePolicy
- data Operation
- operation :: Operation
- oTargetId :: Lens' Operation (Maybe Word64)
- oStatus :: Lens' Operation (Maybe Text)
- oInsertTime :: Lens' Operation (Maybe Text)
- oProgress :: Lens' Operation (Maybe Int32)
- oStartTime :: Lens' Operation (Maybe Text)
- oKind :: Lens' Operation Text
- oError :: Lens' Operation (Maybe OperationError)
- oHTTPErrorMessage :: Lens' Operation (Maybe Text)
- oZone :: Lens' Operation (Maybe Text)
- oWarnings :: Lens' Operation [OperationWarningsItem]
- oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32)
- oUser :: Lens' Operation (Maybe Text)
- oSelfLink :: Lens' Operation (Maybe Text)
- oName :: Lens' Operation (Maybe Text)
- oStatusMessage :: Lens' Operation (Maybe Text)
- oCreationTimestamp :: Lens' Operation (Maybe Text)
- oEndTime :: Lens' Operation (Maybe Text)
- oId :: Lens' Operation (Maybe Word64)
- oOperationType :: Lens' Operation (Maybe Text)
- oRegion :: Lens' Operation (Maybe Text)
- oDescription :: Lens' Operation (Maybe Text)
- oTargetLink :: Lens' Operation (Maybe Text)
- oClientOperationId :: Lens' Operation (Maybe Text)
- data TestPermissionsResponse
- testPermissionsResponse :: TestPermissionsResponse
- tprPermissions :: Lens' TestPermissionsResponse [Text]
- data DeploymentsPatchCreatePolicy
- data ResourcesListResponse
- resourcesListResponse :: ResourcesListResponse
- rlrNextPageToken :: Lens' ResourcesListResponse (Maybe Text)
- rlrResources :: Lens' ResourcesListResponse [Resource]
- data DeploymentUpdate
- deploymentUpdate :: DeploymentUpdate
- duManifest :: Lens' DeploymentUpdate (Maybe Text)
- duLabels :: Lens' DeploymentUpdate [DeploymentUpdateLabelEntry]
- duDescription :: Lens' DeploymentUpdate (Maybe Text)
- data ResourceUpdate
- resourceUpdate :: ResourceUpdate
- ruState :: Lens' ResourceUpdate (Maybe Text)
- ruError :: Lens' ResourceUpdate (Maybe ResourceUpdateError)
- ruAccessControl :: Lens' ResourceUpdate (Maybe ResourceAccessControl)
- ruWarnings :: Lens' ResourceUpdate [ResourceUpdateWarningsItem]
- ruIntent :: Lens' ResourceUpdate (Maybe Text)
- ruManifest :: Lens' ResourceUpdate (Maybe Text)
- ruFinalProperties :: Lens' ResourceUpdate (Maybe Text)
- ruProperties :: Lens' ResourceUpdate (Maybe Text)
- data DeploymentLabelEntry
- deploymentLabelEntry :: DeploymentLabelEntry
- dleValue :: Lens' DeploymentLabelEntry (Maybe Text)
- dleKey :: Lens' DeploymentLabelEntry (Maybe Text)
- data Rule
- rule :: Rule
- rAction :: Lens' Rule (Maybe Text)
- rNotIns :: Lens' Rule [Text]
- rIns :: Lens' Rule [Text]
- rLogConfigs :: Lens' Rule [LogConfig]
- rConditions :: Lens' Rule [Condition]
- rPermissions :: Lens' Rule [Text]
- rDescription :: Lens' Rule (Maybe Text)
- data TestPermissionsRequest
- testPermissionsRequest :: TestPermissionsRequest
- tPermissions :: Lens' TestPermissionsRequest [Text]
- data Manifest
- manifest :: Manifest
- mInsertTime :: Lens' Manifest (Maybe Text)
- mLayout :: Lens' Manifest (Maybe Text)
- mConfig :: Lens' Manifest (Maybe ConfigFile)
- mExpandedConfig :: Lens' Manifest (Maybe Text)
- mImports :: Lens' Manifest [ImportFile]
- mSelfLink :: Lens' Manifest (Maybe Text)
- mName :: Lens' Manifest (Maybe Text)
- mId :: Lens' Manifest (Maybe Word64)
- data ResourceUpdateWarningsItem
- resourceUpdateWarningsItem :: ResourceUpdateWarningsItem
- ruwiData :: Lens' ResourceUpdateWarningsItem [ResourceUpdateWarningsItemDataItem]
- ruwiCode :: Lens' ResourceUpdateWarningsItem (Maybe Text)
- ruwiMessage :: Lens' ResourceUpdateWarningsItem (Maybe Text)
- data DeploymentsCancelPreviewRequest
- deploymentsCancelPreviewRequest :: DeploymentsCancelPreviewRequest
- dcprFingerprint :: Lens' DeploymentsCancelPreviewRequest (Maybe ByteString)
- data LogConfigCloudAuditOptions
- logConfigCloudAuditOptions :: LogConfigCloudAuditOptions
- lccaoAuthorizationLoggingOptions :: Lens' LogConfigCloudAuditOptions (Maybe AuthorizationLoggingOptions)
- lccaoLogName :: Lens' LogConfigCloudAuditOptions (Maybe Text)
- data Resource
- resource :: Resource
- rInsertTime :: Lens' Resource (Maybe Text)
- rAccessControl :: Lens' Resource (Maybe ResourceAccessControl)
- rURL :: Lens' Resource (Maybe Text)
- rWarnings :: Lens' Resource [ResourceWarningsItem]
- rUpdateTime :: Lens' Resource (Maybe Text)
- rName :: Lens' Resource (Maybe Text)
- rManifest :: Lens' Resource (Maybe Text)
- rFinalProperties :: Lens' Resource (Maybe Text)
- rId :: Lens' Resource (Maybe Word64)
- rType :: Lens' Resource (Maybe Text)
- rUpdate :: Lens' Resource (Maybe ResourceUpdate)
- rProperties :: Lens' Resource (Maybe Text)
- data LogConfigDataAccessOptions
- logConfigDataAccessOptions :: LogConfigDataAccessOptions
- lcdaoLogMode :: Lens' LogConfigDataAccessOptions (Maybe Text)
- data DeploymentUpdateLabelEntry
- deploymentUpdateLabelEntry :: DeploymentUpdateLabelEntry
- duleValue :: Lens' DeploymentUpdateLabelEntry (Maybe Text)
- duleKey :: Lens' DeploymentUpdateLabelEntry (Maybe Text)
- data ResourceUpdateErrorErrorsItem
- resourceUpdateErrorErrorsItem :: ResourceUpdateErrorErrorsItem
- rueeiLocation :: Lens' ResourceUpdateErrorErrorsItem (Maybe Text)
- rueeiCode :: Lens' ResourceUpdateErrorErrorsItem (Maybe Text)
- rueeiMessage :: Lens' ResourceUpdateErrorErrorsItem (Maybe Text)
- data ManifestsListResponse
- manifestsListResponse :: ManifestsListResponse
- mlrNextPageToken :: Lens' ManifestsListResponse (Maybe Text)
- mlrManifests :: Lens' ManifestsListResponse [Manifest]
- data OperationError
- operationError :: OperationError
- oeErrors :: Lens' OperationError [OperationErrorErrorsItem]
- data GlobalSetPolicyRequest
- globalSetPolicyRequest :: GlobalSetPolicyRequest
- gsprEtag :: Lens' GlobalSetPolicyRequest (Maybe ByteString)
- gsprBindings :: Lens' GlobalSetPolicyRequest [Binding]
- gsprPolicy :: Lens' GlobalSetPolicyRequest (Maybe Policy)
- data AuthorizationLoggingOptions
- authorizationLoggingOptions :: AuthorizationLoggingOptions
- aloPermissionType :: Lens' AuthorizationLoggingOptions (Maybe Text)
- data Policy
- policy :: Policy
- pAuditConfigs :: Lens' Policy [AuditConfig]
- pEtag :: Lens' Policy (Maybe ByteString)
- pRules :: Lens' Policy [Rule]
- pVersion :: Lens' Policy (Maybe Int32)
- pBindings :: Lens' Policy [Binding]
- pIAMOwned :: Lens' Policy (Maybe Bool)
- data Type
- type' :: Type
- tInsertTime :: Lens' Type (Maybe Text)
- tOperation :: Lens' Type (Maybe Operation)
- tSelfLink :: Lens' Type (Maybe Text)
- tName :: Lens' Type (Maybe Text)
- tId :: Lens' Type (Maybe Word64)
- data ImportFile
- importFile :: ImportFile
- ifContent :: Lens' ImportFile (Maybe Text)
- ifName :: Lens' ImportFile (Maybe Text)
- data OperationErrorErrorsItem
- operationErrorErrorsItem :: OperationErrorErrorsItem
- oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text)
- oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text)
- oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text)
- data DeploymentsStopRequest
- deploymentsStopRequest :: DeploymentsStopRequest
- dsrFingerprint :: Lens' DeploymentsStopRequest (Maybe ByteString)
- data ResourceWarningsItemDataItem
- resourceWarningsItemDataItem :: ResourceWarningsItemDataItem
- rwidiValue :: Lens' ResourceWarningsItemDataItem (Maybe Text)
- rwidiKey :: Lens' ResourceWarningsItemDataItem (Maybe Text)
- data AuditLogConfig
- auditLogConfig :: AuditLogConfig
- alcLogType :: Lens' AuditLogConfig (Maybe Text)
- alcExemptedMembers :: Lens' AuditLogConfig [Text]
- data ResourceUpdateError
- resourceUpdateError :: ResourceUpdateError
- rueErrors :: Lens' ResourceUpdateError [ResourceUpdateErrorErrorsItem]
- data Condition
- condition :: Condition
- cOp :: Lens' Condition (Maybe Text)
- cIAM :: Lens' Condition (Maybe Text)
- cValues :: Lens' Condition [Text]
- cValue :: Lens' Condition (Maybe Text)
- cSys :: Lens' Condition (Maybe Text)
- cSvc :: Lens' Condition (Maybe Text)
- data DeploymentsListResponse
- deploymentsListResponse :: DeploymentsListResponse
- dlrNextPageToken :: Lens' DeploymentsListResponse (Maybe Text)
- dlrDeployments :: Lens' DeploymentsListResponse [Deployment]
- data ResourceWarningsItem
- resourceWarningsItem :: ResourceWarningsItem
- rwiData :: Lens' ResourceWarningsItem [ResourceWarningsItemDataItem]
- rwiCode :: Lens' ResourceWarningsItem (Maybe Text)
- rwiMessage :: Lens' ResourceWarningsItem (Maybe Text)
- data LogConfig
- logConfig :: LogConfig
- lcCloudAudit :: Lens' LogConfig (Maybe LogConfigCloudAuditOptions)
- lcDataAccess :: Lens' LogConfig (Maybe LogConfigDataAccessOptions)
- lcCounter :: Lens' LogConfig (Maybe LogConfigCounterOptions)
- data ResourceAccessControl
- resourceAccessControl :: ResourceAccessControl
- racGcpIAMPolicy :: Lens' ResourceAccessControl (Maybe Text)
- data TargetConfiguration
- targetConfiguration :: TargetConfiguration
- tcConfig :: Lens' TargetConfiguration (Maybe ConfigFile)
- tcImports :: Lens' TargetConfiguration [ImportFile]
- data OperationWarningsItem
- operationWarningsItem :: OperationWarningsItem
- owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem]
- owiCode :: Lens' OperationWarningsItem (Maybe Text)
- owiMessage :: Lens' OperationWarningsItem (Maybe Text)
- data Binding
- binding :: Binding
- bMembers :: Lens' Binding [Text]
- bRole :: Lens' Binding (Maybe Text)
- bCondition :: Lens' Binding (Maybe Expr)
- data Deployment
- deployment :: Deployment
- dInsertTime :: Lens' Deployment (Maybe Text)
- dOperation :: Lens' Deployment (Maybe Operation)
- dFingerprint :: Lens' Deployment (Maybe ByteString)
- dUpdateTime :: Lens' Deployment (Maybe Text)
- dSelfLink :: Lens' Deployment (Maybe Text)
- dName :: Lens' Deployment (Maybe Text)
- dManifest :: Lens' Deployment (Maybe Text)
- dId :: Lens' Deployment (Maybe Word64)
- dLabels :: Lens' Deployment [DeploymentLabelEntry]
- dDescription :: Lens' Deployment (Maybe Text)
- dUpdate :: Lens' Deployment (Maybe DeploymentUpdate)
- dTarget :: Lens' Deployment (Maybe TargetConfiguration)
- data DeploymentsInsertCreatePolicy
Service Configuration
deploymentManagerService :: ServiceConfig Source #
Default request referring to version v2
of the Google Cloud Deployment 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
ndevCloudmanScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman"] Source #
View and manage your Google Cloud Platform management resources and deployment status information
ndevCloudmanReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman.readonly"] Source #
View your Google Cloud Platform management resources and deployment status information
OperationWarningsItemDataItem
data OperationWarningsItemDataItem Source #
Instances
operationWarningsItemDataItem :: OperationWarningsItemDataItem Source #
Creates a value of OperationWarningsItemDataItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text) Source #
- Output Only
- A warning data value corresponding to the key.
owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text) Source #
- Output Only
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
ConfigFile
data ConfigFile Source #
See: configFile
smart constructor.
Instances
configFile :: ConfigFile Source #
Creates a value of ConfigFile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
DeploymentsUpdateCreatePolicy
data DeploymentsUpdateCreatePolicy Source #
Sets the policy to use for creating new resources.
Acquire | ACQUIRE |
CreateOrAcquire | CREATE_OR_ACQUIRE |
Instances
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.DeploymentManager.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 # | |
FromJSON Expr Source # | |
type Rep Expr Source # | |
Defined in Network.Google.DeploymentManager.Types.Product type Rep Expr = D1 (MetaData "Expr" "Network.Google.DeploymentManager.Types.Product" "gogol-deploymentmanager-0.4.0-1FvxHucO1CjAgqyDzotDSh" 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.
OperationsListResponse
data OperationsListResponse Source #
A response containing a partial list of operations and a page token used to build the next request if the request has been truncated.
See: operationsListResponse
smart constructor.
Instances
operationsListResponse :: OperationsListResponse Source #
Creates a value of OperationsListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
olrNextPageToken :: Lens' OperationsListResponse (Maybe Text) Source #
Output only. A token used to continue a truncated list request.
olrOperations :: Lens' OperationsListResponse [Operation] Source #
Output only. Operations contained in this list response.
ResourceUpdateWarningsItemDataItem
data ResourceUpdateWarningsItemDataItem Source #
Instances
resourceUpdateWarningsItemDataItem :: ResourceUpdateWarningsItemDataItem Source #
Creates a value of ResourceUpdateWarningsItemDataItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ruwidiValue :: Lens' ResourceUpdateWarningsItemDataItem (Maybe Text) Source #
- Output Only
- A warning data value corresponding to the key.
ruwidiKey :: Lens' ResourceUpdateWarningsItemDataItem (Maybe Text) Source #
- Output Only
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
DeploymentsDeleteDeletePolicy
data DeploymentsDeleteDeletePolicy Source #
Sets the policy to use for deleting resources.
Instances
TypesListResponse
data TypesListResponse Source #
A response that returns all Types supported by Deployment Manager
See: typesListResponse
smart constructor.
Instances
typesListResponse :: TypesListResponse Source #
Creates a value of TypesListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tlrNextPageToken :: Lens' TypesListResponse (Maybe Text) Source #
A token used to continue a truncated list request.
tlrTypes :: Lens' TypesListResponse [Type] Source #
Output only. A list of resource types supported by Deployment Manager.
LogConfigCounterOptions
data LogConfigCounterOptions Source #
Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field names should not contain an initial slash. The actual exported metric names will have "/iam/policy" prepended. Field names correspond to IAM request parameters and field values are their respective values. Supported field names: - "authority", which is "[token]" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a token or authority selector is present; or - "" (empty string), resulting in a counter with no fields. Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]} At this time we do not support multiple field names (though this may be supported in the future).
See: logConfigCounterOptions
smart constructor.
Instances
logConfigCounterOptions :: LogConfigCounterOptions Source #
Creates a value of LogConfigCounterOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lccoMetric :: Lens' LogConfigCounterOptions (Maybe Text) Source #
The metric to update.
DeploymentsUpdateDeletePolicy
data DeploymentsUpdateDeletePolicy Source #
Sets the policy to use for deleting resources.
DUDPAbandon | ABANDON |
DUDPDelete' | DELETE |
Instances
DeploymentsPatchDeletePolicy
data DeploymentsPatchDeletePolicy Source #
Sets the policy to use for deleting resources.
DPDPAbandon | ABANDON |
DPDPDelete' | DELETE |
Instances
Operation
An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
See: operation
smart constructor.
Instances
operation :: Operation Source #
Creates a value of Operation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oTargetId :: Lens' Operation (Maybe Word64) Source #
- Output Only
- The unique target ID, which identifies a specific incarnation of the target resource.
oStatus :: Lens' Operation (Maybe Text) Source #
- Output Only
- The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
oInsertTime :: Lens' Operation (Maybe Text) Source #
- Output Only
- The time that this operation was requested. This value is in RFC3339 text format.
oProgress :: Lens' Operation (Maybe Int32) Source #
- Output Only
- An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
oStartTime :: Lens' Operation (Maybe Text) Source #
- Output Only
- The time that this operation was started by the server. This value is in RFC3339 text format.
oKind :: Lens' Operation Text Source #
- Output Only
- Type of the resource. Always compute#operation for Operation resources.
oError :: Lens' Operation (Maybe OperationError) Source #
- Output Only
- If errors are generated during processing of the operation, this field will be populated.
oHTTPErrorMessage :: Lens' Operation (Maybe Text) Source #
- Output Only
- If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
oZone :: Lens' Operation (Maybe Text) Source #
- Output Only
- The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
oWarnings :: Lens' Operation [OperationWarningsItem] Source #
- Output Only
- If warning messages are generated during processing of the operation, this field will be populated.
oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32) Source #
- Output Only
- If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
oUser :: Lens' Operation (Maybe Text) Source #
- Output Only
- User who requested the operation, for example: user'example.com.
oStatusMessage :: Lens' Operation (Maybe Text) Source #
- Output Only
- An optional textual description of the current status of the operation.
oEndTime :: Lens' Operation (Maybe Text) Source #
- Output Only
- The time that this operation was completed. This value is in RFC3339 text format.
oId :: Lens' Operation (Maybe Word64) Source #
- Output Only
- The unique identifier for the resource. This identifier is defined by the server.
oOperationType :: Lens' Operation (Maybe Text) Source #
- Output Only
- The type of operation, such as insert, update, or delete, and so on.
oRegion :: Lens' Operation (Maybe Text) Source #
- Output Only
- The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
oDescription :: Lens' Operation (Maybe Text) Source #
- Output Only
- A textual description of the operation, which is set when the operation is created.
oTargetLink :: Lens' Operation (Maybe Text) Source #
- Output Only
- The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
oClientOperationId :: Lens' Operation (Maybe Text) Source #
- Output Only
- The value of `requestId` if you provided it in the request. Not present otherwise.
TestPermissionsResponse
data TestPermissionsResponse Source #
Instances
testPermissionsResponse :: TestPermissionsResponse Source #
Creates a value of TestPermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tprPermissions :: Lens' TestPermissionsResponse [Text] Source #
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
DeploymentsPatchCreatePolicy
data DeploymentsPatchCreatePolicy Source #
Sets the policy to use for creating new resources.
DPCPAcquire | ACQUIRE |
DPCPCreateOrAcquire | CREATE_OR_ACQUIRE |
Instances
ResourcesListResponse
data ResourcesListResponse Source #
A response containing a partial list of resources and a page token used to build the next request if the request has been truncated.
See: resourcesListResponse
smart constructor.
Instances
resourcesListResponse :: ResourcesListResponse Source #
Creates a value of ResourcesListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rlrNextPageToken :: Lens' ResourcesListResponse (Maybe Text) Source #
A token used to continue a truncated list request.
rlrResources :: Lens' ResourcesListResponse [Resource] Source #
Resources contained in this list response.
DeploymentUpdate
data DeploymentUpdate Source #
See: deploymentUpdate
smart constructor.
Instances
deploymentUpdate :: DeploymentUpdate Source #
Creates a value of DeploymentUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duManifest :: Lens' DeploymentUpdate (Maybe Text) Source #
Output only. URL of the manifest representing the update configuration of this deployment.
duLabels :: Lens' DeploymentUpdate [DeploymentUpdateLabelEntry] Source #
Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z? 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])?)?
duDescription :: Lens' DeploymentUpdate (Maybe Text) Source #
Output only. An optional user-provided description of the deployment after the current update has been applied.
ResourceUpdate
data ResourceUpdate Source #
See: resourceUpdate
smart constructor.
Instances
resourceUpdate :: ResourceUpdate Source #
Creates a value of ResourceUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ruError :: Lens' ResourceUpdate (Maybe ResourceUpdateError) Source #
Output only. If errors are generated during update of the resource, this field will be populated.
ruAccessControl :: Lens' ResourceUpdate (Maybe ResourceAccessControl) Source #
The Access Control Policy to set on this resource after updating the resource itself.
ruWarnings :: Lens' ResourceUpdate [ResourceUpdateWarningsItem] Source #
Output only. If warning messages are generated during processing of this resource, this field will be populated.
ruIntent :: Lens' ResourceUpdate (Maybe Text) Source #
Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.
ruManifest :: Lens' ResourceUpdate (Maybe Text) Source #
Output only. URL of the manifest representing the update configuration of this resource.
ruFinalProperties :: Lens' ResourceUpdate (Maybe Text) Source #
Output only. The expanded properties of the resource with reference values expanded. Returned as serialized YAML.
ruProperties :: Lens' ResourceUpdate (Maybe Text) Source #
Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML.
DeploymentLabelEntry
data DeploymentLabelEntry Source #
Instances
deploymentLabelEntry :: DeploymentLabelEntry Source #
Creates a value of DeploymentLabelEntry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Rule
A rule to be applied in a Policy.
See: rule
smart constructor.
Instances
Eq Rule Source # | |
Data Rule Source # | |
Defined in Network.Google.DeploymentManager.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Rule -> c Rule # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Rule # dataTypeOf :: Rule -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Rule) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Rule) # gmapT :: (forall b. Data b => b -> b) -> Rule -> Rule # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Rule -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Rule -> r # gmapQ :: (forall d. Data d => d -> u) -> Rule -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Rule -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Rule -> m Rule # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Rule -> m Rule # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Rule -> m Rule # | |
Show Rule Source # | |
Generic Rule Source # | |
ToJSON Rule Source # | |
FromJSON Rule Source # | |
type Rep Rule Source # | |
Defined in Network.Google.DeploymentManager.Types.Product type Rep Rule = D1 (MetaData "Rule" "Network.Google.DeploymentManager.Types.Product" "gogol-deploymentmanager-0.4.0-1FvxHucO1CjAgqyDzotDSh" False) (C1 (MetaCons "Rule'" PrefixI True) ((S1 (MetaSel (Just "_rAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rNotIns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_rIns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 (MetaSel (Just "_rLogConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LogConfig])) :*: S1 (MetaSel (Just "_rConditions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Condition]))) :*: (S1 (MetaSel (Just "_rPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_rDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
Creates a value of Rule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rNotIns :: Lens' Rule [Text] Source #
If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
rIns :: Lens' Rule [Text] Source #
If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
rLogConfigs :: Lens' Rule [LogConfig] Source #
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
rConditions :: Lens' Rule [Condition] Source #
Additional restrictions that must be met. All conditions must pass for the rule to match.
rPermissions :: Lens' Rule [Text] Source #
A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
TestPermissionsRequest
data TestPermissionsRequest Source #
Instances
testPermissionsRequest :: TestPermissionsRequest Source #
Creates a value of TestPermissionsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tPermissions :: Lens' TestPermissionsRequest [Text] Source #
The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
Manifest
See: manifest
smart constructor.
Instances
Creates a value of Manifest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mInsertTime :: Lens' Manifest (Maybe Text) Source #
Output only. Creation timestamp in RFC3339 text format.
mConfig :: Lens' Manifest (Maybe ConfigFile) Source #
Output only. The YAML configuration for this manifest.
mExpandedConfig :: Lens' Manifest (Maybe Text) Source #
Output only. The fully-expanded configuration file, including any templates and references.
ResourceUpdateWarningsItem
data ResourceUpdateWarningsItem Source #
Instances
resourceUpdateWarningsItem :: ResourceUpdateWarningsItem Source #
Creates a value of ResourceUpdateWarningsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ruwiData :: Lens' ResourceUpdateWarningsItem [ResourceUpdateWarningsItemDataItem] Source #
- Output Only
- Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
ruwiCode :: Lens' ResourceUpdateWarningsItem (Maybe Text) Source #
- Output Only
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
ruwiMessage :: Lens' ResourceUpdateWarningsItem (Maybe Text) Source #
- Output Only
- A human-readable description of the warning code.
DeploymentsCancelPreviewRequest
data DeploymentsCancelPreviewRequest Source #
See: deploymentsCancelPreviewRequest
smart constructor.
Instances
deploymentsCancelPreviewRequest :: DeploymentsCancelPreviewRequest Source #
Creates a value of DeploymentsCancelPreviewRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcprFingerprint :: Lens' DeploymentsCancelPreviewRequest (Maybe ByteString) Source #
Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.
LogConfigCloudAuditOptions
data LogConfigCloudAuditOptions Source #
Write a Cloud Audit log
See: logConfigCloudAuditOptions
smart constructor.
Instances
logConfigCloudAuditOptions :: LogConfigCloudAuditOptions Source #
Creates a value of LogConfigCloudAuditOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lccaoAuthorizationLoggingOptions :: Lens' LogConfigCloudAuditOptions (Maybe AuthorizationLoggingOptions) Source #
Information used by the Cloud Audit Logging pipeline.
lccaoLogName :: Lens' LogConfigCloudAuditOptions (Maybe Text) Source #
The log_name to populate in the Cloud Audit Record.
Resource
See: resource
smart constructor.
Instances
Creates a value of Resource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rInsertTime :: Lens' Resource (Maybe Text) Source #
Output only. Creation timestamp in RFC3339 text format.
rAccessControl :: Lens' Resource (Maybe ResourceAccessControl) Source #
The Access Control Policy set on this resource.
rWarnings :: Lens' Resource [ResourceWarningsItem] Source #
Output only. If warning messages are generated during processing of this resource, this field will be populated.
rUpdateTime :: Lens' Resource (Maybe Text) Source #
Output only. Update timestamp in RFC3339 text format.
rName :: Lens' Resource (Maybe Text) Source #
Output only. The name of the resource as it appears in the YAML config.
rManifest :: Lens' Resource (Maybe Text) Source #
Output only. URL of the manifest representing the current configuration of this resource.
rFinalProperties :: Lens' Resource (Maybe Text) Source #
Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML.
rType :: Lens' Resource (Maybe Text) Source #
Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.
rUpdate :: Lens' Resource (Maybe ResourceUpdate) Source #
Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.
rProperties :: Lens' Resource (Maybe Text) Source #
Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML.
LogConfigDataAccessOptions
data LogConfigDataAccessOptions Source #
Write a Data Access (Gin) log
See: logConfigDataAccessOptions
smart constructor.
Instances
logConfigDataAccessOptions :: LogConfigDataAccessOptions Source #
Creates a value of LogConfigDataAccessOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcdaoLogMode :: Lens' LogConfigDataAccessOptions (Maybe Text) Source #
Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now. NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have no effect, but still exists because there is active work being done to support it (b/115874152).
DeploymentUpdateLabelEntry
data DeploymentUpdateLabelEntry Source #
Instances
deploymentUpdateLabelEntry :: DeploymentUpdateLabelEntry Source #
Creates a value of DeploymentUpdateLabelEntry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ResourceUpdateErrorErrorsItem
data ResourceUpdateErrorErrorsItem Source #
Instances
resourceUpdateErrorErrorsItem :: ResourceUpdateErrorErrorsItem Source #
Creates a value of ResourceUpdateErrorErrorsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rueeiLocation :: Lens' ResourceUpdateErrorErrorsItem (Maybe Text) Source #
- Output Only
- Indicates the field in the request that caused the error. This property is optional.
rueeiCode :: Lens' ResourceUpdateErrorErrorsItem (Maybe Text) Source #
- Output Only
- The error type identifier for this error.
rueeiMessage :: Lens' ResourceUpdateErrorErrorsItem (Maybe Text) Source #
- Output Only
- An optional, human-readable error message.
ManifestsListResponse
data ManifestsListResponse Source #
A response containing a partial list of manifests and a page token used to build the next request if the request has been truncated.
See: manifestsListResponse
smart constructor.
Instances
manifestsListResponse :: ManifestsListResponse Source #
Creates a value of ManifestsListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mlrNextPageToken :: Lens' ManifestsListResponse (Maybe Text) Source #
Output only. A token used to continue a truncated list request.
mlrManifests :: Lens' ManifestsListResponse [Manifest] Source #
Output only. Manifests contained in this list response.
OperationError
data OperationError Source #
- Output Only
- If errors are generated during processing of the operation, this field will be populated.
See: operationError
smart constructor.
Instances
operationError :: OperationError Source #
Creates a value of OperationError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oeErrors :: Lens' OperationError [OperationErrorErrorsItem] Source #
- Output Only
- The array of errors encountered while processing this operation.
GlobalSetPolicyRequest
data GlobalSetPolicyRequest Source #
Instances
globalSetPolicyRequest :: GlobalSetPolicyRequest Source #
Creates a value of GlobalSetPolicyRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsprEtag :: Lens' GlobalSetPolicyRequest (Maybe ByteString) Source #
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
gsprBindings :: Lens' GlobalSetPolicyRequest [Binding] Source #
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
gsprPolicy :: Lens' GlobalSetPolicyRequest (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 in general a valid policy but certain services (like Projects) might reject them.
AuthorizationLoggingOptions
data AuthorizationLoggingOptions Source #
Authorization-related information used by Cloud Audit Logging.
See: authorizationLoggingOptions
smart constructor.
Instances
authorizationLoggingOptions :: AuthorizationLoggingOptions Source #
Creates a value of AuthorizationLoggingOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aloPermissionType :: Lens' AuthorizationLoggingOptions (Maybe Text) Source #
The type of the permission that was checked.
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
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.
pRules :: Lens' Policy [Rule] Source #
If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.
pBindings :: Lens' Policy [Binding] Source #
Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
Type
A resource type supported by Deployment Manager.
See: type'
smart constructor.
Instances
Eq Type Source # | |
Data Type Source # | |
Defined in Network.Google.DeploymentManager.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Type -> c Type # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Type # dataTypeOf :: Type -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Type) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Type) # gmapT :: (forall b. Data b => b -> b) -> Type -> Type # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r # gmapQ :: (forall d. Data d => d -> u) -> Type -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Type -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Type -> m Type # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type # | |
Show Type Source # | |
Generic Type Source # | |
ToJSON Type Source # | |
FromJSON Type Source # | |
type Rep Type Source # | |
Defined in Network.Google.DeploymentManager.Types.Product type Rep Type = D1 (MetaData "Type" "Network.Google.DeploymentManager.Types.Product" "gogol-deploymentmanager-0.4.0-1FvxHucO1CjAgqyDzotDSh" False) (C1 (MetaCons "Type'" PrefixI True) ((S1 (MetaSel (Just "_tInsertTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation))) :*: (S1 (MetaSel (Just "_tSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))))))) |
Creates a value of Type
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tInsertTime :: Lens' Type (Maybe Text) Source #
Output only. Creation timestamp in RFC3339 text format.
tOperation :: Lens' Type (Maybe Operation) Source #
Output only. The Operation that most recently ran, or is currently running, on this type.
ImportFile
data ImportFile Source #
See: importFile
smart constructor.
Instances
importFile :: ImportFile Source #
Creates a value of ImportFile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
OperationErrorErrorsItem
data OperationErrorErrorsItem Source #
Instances
operationErrorErrorsItem :: OperationErrorErrorsItem Source #
Creates a value of OperationErrorErrorsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text) Source #
- Output Only
- Indicates the field in the request that caused the error. This property is optional.
oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text) Source #
- Output Only
- The error type identifier for this error.
oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text) Source #
- Output Only
- An optional, human-readable error message.
DeploymentsStopRequest
data DeploymentsStopRequest Source #
See: deploymentsStopRequest
smart constructor.
Instances
deploymentsStopRequest :: DeploymentsStopRequest Source #
Creates a value of DeploymentsStopRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrFingerprint :: Lens' DeploymentsStopRequest (Maybe ByteString) Source #
Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.
ResourceWarningsItemDataItem
data ResourceWarningsItemDataItem Source #
Instances
resourceWarningsItemDataItem :: ResourceWarningsItemDataItem Source #
Creates a value of ResourceWarningsItemDataItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rwidiValue :: Lens' ResourceWarningsItemDataItem (Maybe Text) Source #
- Output Only
- A warning data value corresponding to the key.
rwidiKey :: Lens' ResourceWarningsItemDataItem (Maybe Text) Source #
- Output Only
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
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 Text) 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][].
ResourceUpdateError
data ResourceUpdateError Source #
Output only. If errors are generated during update of the resource, this field will be populated.
See: resourceUpdateError
smart constructor.
Instances
resourceUpdateError :: ResourceUpdateError Source #
Creates a value of ResourceUpdateError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rueErrors :: Lens' ResourceUpdateError [ResourceUpdateErrorErrorsItem] Source #
- Output Only
- The array of errors encountered while processing this operation.
Condition
A condition to be met.
See: condition
smart constructor.
Instances
cValues :: Lens' Condition [Text] Source #
The objects of the condition. This is mutually exclusive with 'value'.
cSys :: Lens' Condition (Maybe Text) Source #
Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
DeploymentsListResponse
data DeploymentsListResponse Source #
A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.
See: deploymentsListResponse
smart constructor.
Instances
deploymentsListResponse :: DeploymentsListResponse Source #
Creates a value of DeploymentsListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlrNextPageToken :: Lens' DeploymentsListResponse (Maybe Text) Source #
Output only. A token used to continue a truncated list request.
dlrDeployments :: Lens' DeploymentsListResponse [Deployment] Source #
Output only. The deployments contained in this response.
ResourceWarningsItem
data ResourceWarningsItem Source #
Instances
resourceWarningsItem :: ResourceWarningsItem Source #
Creates a value of ResourceWarningsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rwiData :: Lens' ResourceWarningsItem [ResourceWarningsItemDataItem] Source #
- Output Only
- Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
rwiCode :: Lens' ResourceWarningsItem (Maybe Text) Source #
- Output Only
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
rwiMessage :: Lens' ResourceWarningsItem (Maybe Text) Source #
- Output Only
- A human-readable description of the warning code.
LogConfig
Specifies what kind of log the caller must write
See: logConfig
smart constructor.
Instances
logConfig :: LogConfig Source #
Creates a value of LogConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcCloudAudit :: Lens' LogConfig (Maybe LogConfigCloudAuditOptions) Source #
Cloud audit options.
lcDataAccess :: Lens' LogConfig (Maybe LogConfigDataAccessOptions) Source #
Data access options.
ResourceAccessControl
data ResourceAccessControl Source #
The access controls set on the resource.
See: resourceAccessControl
smart constructor.
Instances
resourceAccessControl :: ResourceAccessControl Source #
Creates a value of ResourceAccessControl
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
racGcpIAMPolicy :: Lens' ResourceAccessControl (Maybe Text) Source #
The GCP IAM Policy to set on the resource.
TargetConfiguration
data TargetConfiguration Source #
See: targetConfiguration
smart constructor.
Instances
targetConfiguration :: TargetConfiguration Source #
Creates a value of TargetConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tcConfig :: Lens' TargetConfiguration (Maybe ConfigFile) Source #
The configuration to use for this deployment.
tcImports :: Lens' TargetConfiguration [ImportFile] Source #
Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.
OperationWarningsItem
data OperationWarningsItem Source #
Instances
operationWarningsItem :: OperationWarningsItem Source #
Creates a value of OperationWarningsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem] Source #
- Output Only
- Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
owiCode :: Lens' OperationWarningsItem (Maybe Text) Source #
- Output Only
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
owiMessage :: Lens' OperationWarningsItem (Maybe Text) Source #
- Output Only
- A human-readable description of the warning code.
Binding
Associates `members` with a `role`.
See: binding
smart constructor.
Instances
Eq Binding Source # | |
Data Binding Source # | |
Defined in Network.Google.DeploymentManager.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 # | |
FromJSON Binding Source # | |
type Rep Binding Source # | |
Defined in Network.Google.DeploymentManager.Types.Product type Rep Binding = D1 (MetaData "Binding" "Network.Google.DeploymentManager.Types.Product" "gogol-deploymentmanager-0.4.0-1FvxHucO1CjAgqyDzotDSh" 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`.
bRole :: Lens' Binding (Maybe Text) Source #
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
bCondition :: Lens' Binding (Maybe Expr) Source #
Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
Deployment
data Deployment Source #
See: deployment
smart constructor.
Instances
deployment :: Deployment Source #
Creates a value of Deployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dInsertTime :: Lens' Deployment (Maybe Text) Source #
Output only. Creation timestamp in RFC3339 text format.
dOperation :: Lens' Deployment (Maybe Operation) Source #
Output only. The Operation that most recently ran, or is currently running, on this deployment.
dFingerprint :: Lens' Deployment (Maybe ByteString) Source #
Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time. The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
dUpdateTime :: Lens' Deployment (Maybe Text) Source #
Output only. Update timestamp in RFC3339 text format.
dSelfLink :: Lens' Deployment (Maybe Text) Source #
Output only. Server defined URL for the resource.
dName :: Lens' Deployment (Maybe Text) Source #
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
dManifest :: Lens' Deployment (Maybe Text) Source #
Output only. URL of the manifest representing the last manifest that was successfully deployed.
dLabels :: Lens' Deployment [DeploymentLabelEntry] Source #
Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z? 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])?)?
dDescription :: Lens' Deployment (Maybe Text) Source #
An optional user-provided description of the deployment.
dUpdate :: Lens' Deployment (Maybe DeploymentUpdate) Source #
Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
dTarget :: Lens' Deployment (Maybe TargetConfiguration) Source #
- Input Only
- The parameters that define your deployment, including the deployment configuration and relevant templates.
DeploymentsInsertCreatePolicy
data DeploymentsInsertCreatePolicy Source #
Sets the policy to use for creating new resources.
DICPAcquire | ACQUIRE |
DICPCreateOrAcquire | CREATE_OR_ACQUIRE |