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
- Expr
- UserOwnedDrydockNote
- Empty
- AdmissionRuleEnforcementMode
- SetIAMPolicyRequest
- ListAttestorsResponse
- AdmissionWhiteListPattern
- AdmissionRule
- AdmissionRuleEvaluationMode
- Xgafv
- TestIAMPermissionsRequest
- IAMPolicy
- AttestorPublicKey
- TestIAMPermissionsResponse
- Policy
- PolicyClusterAdmissionRules
- Attestor
- Binding
Synopsis
- binaryAuthorizationService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- 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 UserOwnedDrydockNote
- userOwnedDrydockNote :: UserOwnedDrydockNote
- uodnDelegationServiceAccountEmail :: Lens' UserOwnedDrydockNote (Maybe Text)
- uodnPublicKeys :: Lens' UserOwnedDrydockNote [AttestorPublicKey]
- uodnNoteReference :: Lens' UserOwnedDrydockNote (Maybe Text)
- data Empty
- empty :: Empty
- data AdmissionRuleEnforcementMode
- data SetIAMPolicyRequest
- setIAMPolicyRequest :: SetIAMPolicyRequest
- siprPolicy :: Lens' SetIAMPolicyRequest (Maybe IAMPolicy)
- data ListAttestorsResponse
- listAttestorsResponse :: ListAttestorsResponse
- larNextPageToken :: Lens' ListAttestorsResponse (Maybe Text)
- larAttestors :: Lens' ListAttestorsResponse [Attestor]
- data AdmissionWhiteListPattern
- admissionWhiteListPattern :: AdmissionWhiteListPattern
- awlpNamePattern :: Lens' AdmissionWhiteListPattern (Maybe Text)
- data AdmissionRule
- admissionRule :: AdmissionRule
- arEnforcementMode :: Lens' AdmissionRule (Maybe AdmissionRuleEnforcementMode)
- arEvaluationMode :: Lens' AdmissionRule (Maybe AdmissionRuleEvaluationMode)
- arRequireAttestationsBy :: Lens' AdmissionRule [Text]
- data AdmissionRuleEvaluationMode
- data Xgafv
- data TestIAMPermissionsRequest
- testIAMPermissionsRequest :: TestIAMPermissionsRequest
- tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]
- data IAMPolicy
- iamPolicy :: IAMPolicy
- ipEtag :: Lens' IAMPolicy (Maybe ByteString)
- ipVersion :: Lens' IAMPolicy (Maybe Int32)
- ipBindings :: Lens' IAMPolicy [Binding]
- data AttestorPublicKey
- attestorPublicKey :: AttestorPublicKey
- apkAsciiArmoredPgpPublicKey :: Lens' AttestorPublicKey (Maybe Text)
- apkId :: Lens' AttestorPublicKey (Maybe Text)
- apkComment :: Lens' AttestorPublicKey (Maybe Text)
- data TestIAMPermissionsResponse
- testIAMPermissionsResponse :: TestIAMPermissionsResponse
- tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]
- data Policy
- policy :: Policy
- pDefaultAdmissionRule :: Lens' Policy (Maybe AdmissionRule)
- pAdmissionWhiteListPatterns :: Lens' Policy [AdmissionWhiteListPattern]
- pClusterAdmissionRules :: Lens' Policy (Maybe PolicyClusterAdmissionRules)
- pUpdateTime :: Lens' Policy (Maybe UTCTime)
- pName :: Lens' Policy (Maybe Text)
- pDescription :: Lens' Policy (Maybe Text)
- data PolicyClusterAdmissionRules
- policyClusterAdmissionRules :: HashMap Text AdmissionRule -> PolicyClusterAdmissionRules
- pcarAddtional :: Lens' PolicyClusterAdmissionRules (HashMap Text AdmissionRule)
- data Attestor
- attestor :: Attestor
- aUserOwnedDrydockNote :: Lens' Attestor (Maybe UserOwnedDrydockNote)
- aUpdateTime :: Lens' Attestor (Maybe UTCTime)
- aName :: Lens' Attestor (Maybe Text)
- aDescription :: Lens' Attestor (Maybe Text)
- data Binding
- binding :: Binding
- bMembers :: Lens' Binding [Text]
- bRole :: Lens' Binding (Maybe Text)
- bCondition :: Lens' Binding (Maybe Expr)
Service Configuration
binaryAuthorizationService :: ServiceConfig Source #
Default request referring to version v1beta1
of the Binary Authorization API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
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.BinaryAuthorization.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.BinaryAuthorization.Types.Product type Rep Expr = D1 (MetaData "Expr" "Network.Google.BinaryAuthorization.Types.Product" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" 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.
UserOwnedDrydockNote
data UserOwnedDrydockNote Source #
An user owned drydock note references a Drydock ATTESTATION_AUTHORITY Note created by the user.
See: userOwnedDrydockNote
smart constructor.
Instances
userOwnedDrydockNote :: UserOwnedDrydockNote Source #
Creates a value of UserOwnedDrydockNote
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uodnDelegationServiceAccountEmail :: Lens' UserOwnedDrydockNote (Maybe Text) Source #
Output only. This field will contain the service account email address that this Attestor will use as the principal when querying Container Analysis. Attestor administrators must grant this service account the IAM role needed to read attestations from the note_reference in Container Analysis (`containeranalysis.notes.occurrences.viewer`). This email address is fixed for the lifetime of the Attestor, but callers should not make any other assumptions about the service account email; future versions may use an email based on a different naming pattern.
uodnPublicKeys :: Lens' UserOwnedDrydockNote [AttestorPublicKey] Source #
Optional. Public keys that verify attestations signed by this attestor. This field may be updated. If this field is non-empty, one of the specified public keys must verify that an attestation was signed by this attestor for the image specified in the admission request. If this field is empty, this attestor always returns that no valid attestations exist.
uodnNoteReference :: Lens' UserOwnedDrydockNote (Maybe Text) Source #
Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note, created by the user, in the format: `projects/*/notes/*` (or the legacy `providers/*/notes/*`). This field may not be updated. An attestation by this attestor is stored as a Drydock ATTESTATION_AUTHORITY Occurrence that names a container image and that links to this Note. Drydock is an external dependency.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.BinaryAuthorization.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
AdmissionRuleEnforcementMode
data AdmissionRuleEnforcementMode Source #
Required. The action when a pod creation is denied by the admission rule.
EnforcementModeUnspecified |
|
EnforcedBlockAndAuditLog |
|
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:
siprPolicy :: Lens' SetIAMPolicyRequest (Maybe IAMPolicy) 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.
ListAttestorsResponse
data ListAttestorsResponse Source #
Response message for BinauthzManagementService.ListAttestors.
See: listAttestorsResponse
smart constructor.
Instances
listAttestorsResponse :: ListAttestorsResponse Source #
Creates a value of ListAttestorsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
larNextPageToken :: Lens' ListAttestorsResponse (Maybe Text) Source #
A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the `ListAttestors` method to retrieve the next page of results.
larAttestors :: Lens' ListAttestorsResponse [Attestor] Source #
The list of attestors.
AdmissionWhiteListPattern
data AdmissionWhiteListPattern Source #
An admission whitelist pattern exempts images from checks by admission rules.
See: admissionWhiteListPattern
smart constructor.
Instances
admissionWhiteListPattern :: AdmissionWhiteListPattern Source #
Creates a value of AdmissionWhiteListPattern
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awlpNamePattern :: Lens' AdmissionWhiteListPattern (Maybe Text) Source #
An image name pattern to whitelist, in the form `registry/path/to/image`. This supports a trailing `*` as a wildcard, but this is allowed only in text after the `registry/` part.
AdmissionRule
data AdmissionRule Source #
An admission rule specifies either that all container images used in a pod creation request must be attested to by one or more attestors, that all pod creations will be allowed, or that all pod creations will be denied. Images matching an admission whitelist pattern are exempted from admission rules and will never block a pod creation.
See: admissionRule
smart constructor.
Instances
admissionRule :: AdmissionRule Source #
Creates a value of AdmissionRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arEnforcementMode :: Lens' AdmissionRule (Maybe AdmissionRuleEnforcementMode) Source #
Required. The action when a pod creation is denied by the admission rule.
arEvaluationMode :: Lens' AdmissionRule (Maybe AdmissionRuleEvaluationMode) Source #
Required. How this admission rule will be evaluated.
arRequireAttestationsBy :: Lens' AdmissionRule [Text] Source #
Optional. The resource names of the attestors that must attest to a container image, in the format `projects/*/attestors/*`. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION, otherwise it must be empty.
AdmissionRuleEvaluationMode
data AdmissionRuleEvaluationMode Source #
Required. How this admission rule will be evaluated.
EvaluationModeUnspecified |
|
AlwaysAllow |
|
RequireAttestation |
|
AlwaysDeny |
|
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.
IAMPolicy
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: iamPolicy
smart constructor.
Instances
Eq IAMPolicy Source # | |
Data IAMPolicy Source # | |
Defined in Network.Google.BinaryAuthorization.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IAMPolicy -> c IAMPolicy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IAMPolicy # toConstr :: IAMPolicy -> Constr # dataTypeOf :: IAMPolicy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IAMPolicy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IAMPolicy) # gmapT :: (forall b. Data b => b -> b) -> IAMPolicy -> IAMPolicy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IAMPolicy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IAMPolicy -> r # gmapQ :: (forall d. Data d => d -> u) -> IAMPolicy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IAMPolicy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IAMPolicy -> m IAMPolicy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMPolicy -> m IAMPolicy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMPolicy -> m IAMPolicy # | |
Show IAMPolicy Source # | |
Generic IAMPolicy Source # | |
ToJSON IAMPolicy Source # | |
FromJSON IAMPolicy Source # | |
type Rep IAMPolicy Source # | |
Defined in Network.Google.BinaryAuthorization.Types.Product type Rep IAMPolicy = D1 (MetaData "IAMPolicy" "Network.Google.BinaryAuthorization.Types.Product" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" False) (C1 (MetaCons "IAMPolicy'" PrefixI True) (S1 (MetaSel (Just "_ipEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_ipVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ipBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding]))))) |
iamPolicy :: IAMPolicy Source #
Creates a value of IAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ipEtag :: Lens' IAMPolicy (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.
ipBindings :: Lens' IAMPolicy [Binding] Source #
Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
AttestorPublicKey
data AttestorPublicKey Source #
An attestator public key that will be used to verify attestations signed by this attestor.
See: attestorPublicKey
smart constructor.
Instances
attestorPublicKey :: AttestorPublicKey Source #
Creates a value of AttestorPublicKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
apkAsciiArmoredPgpPublicKey :: Lens' AttestorPublicKey (Maybe Text) Source #
ASCII-armored representation of a PGP public key, as the entire output by the command `gpg --export --armor foo'example.com` (either LF or CRLF line endings).
apkId :: Lens' AttestorPublicKey (Maybe Text) Source #
Output only. This field will be overwritten with key ID information, for example, an identifier extracted from a PGP public key. This field may not be updated.
apkComment :: Lens' AttestorPublicKey (Maybe Text) Source #
Optional. A descriptive comment. This field may be updated.
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
A policy for container image binary authorization.
See: policy
smart constructor.
Instances
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:
pDefaultAdmissionRule :: Lens' Policy (Maybe AdmissionRule) Source #
Required. Default admission rule for a cluster without a per-cluster admission rule.
pAdmissionWhiteListPatterns :: Lens' Policy [AdmissionWhiteListPattern] Source #
Optional. Admission policy whitelisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
pClusterAdmissionRules :: Lens' Policy (Maybe PolicyClusterAdmissionRules) Source #
Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
pUpdateTime :: Lens' Policy (Maybe UTCTime) Source #
Output only. Time when the policy was last updated.
pName :: Lens' Policy (Maybe Text) Source #
Output only. The resource name, in the format `projects/*/policy`. There is at most one policy per project.
PolicyClusterAdmissionRules
data PolicyClusterAdmissionRules Source #
Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
See: policyClusterAdmissionRules
smart constructor.
Instances
policyClusterAdmissionRules Source #
Creates a value of PolicyClusterAdmissionRules
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Attestor
An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.
See: attestor
smart constructor.
Instances
Eq Attestor Source # | |
Data Attestor Source # | |
Defined in Network.Google.BinaryAuthorization.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Attestor -> c Attestor # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Attestor # toConstr :: Attestor -> Constr # dataTypeOf :: Attestor -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Attestor) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Attestor) # gmapT :: (forall b. Data b => b -> b) -> Attestor -> Attestor # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Attestor -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Attestor -> r # gmapQ :: (forall d. Data d => d -> u) -> Attestor -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Attestor -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Attestor -> m Attestor # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Attestor -> m Attestor # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Attestor -> m Attestor # | |
Show Attestor Source # | |
Generic Attestor Source # | |
ToJSON Attestor Source # | |
FromJSON Attestor Source # | |
type Rep Attestor Source # | |
Defined in Network.Google.BinaryAuthorization.Types.Product type Rep Attestor = D1 (MetaData "Attestor" "Network.Google.BinaryAuthorization.Types.Product" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" False) (C1 (MetaCons "Attestor'" PrefixI True) ((S1 (MetaSel (Just "_aUserOwnedDrydockNote") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserOwnedDrydockNote)) :*: S1 (MetaSel (Just "_aUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Attestor
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aUserOwnedDrydockNote :: Lens' Attestor (Maybe UserOwnedDrydockNote) Source #
A Drydock ATTESTATION_AUTHORITY Note, created by the user.
aUpdateTime :: Lens' Attestor (Maybe UTCTime) Source #
Output only. Time when the attestor was last updated.
aName :: Lens' Attestor (Maybe Text) Source #
Required. The resource name, in the format: `projects/*/attestors/*`. This field may not be updated.
aDescription :: Lens' Attestor (Maybe Text) Source #
Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
Binding
Associates `members` with a `role`.
See: binding
smart constructor.
Instances
Eq Binding Source # | |
Data Binding Source # | |
Defined in Network.Google.BinaryAuthorization.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.BinaryAuthorization.Types.Product type Rep Binding = D1 (MetaData "Binding" "Network.Google.BinaryAuthorization.Types.Product" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" 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`.