gogol-billing-0.4.0: Google Cloud Billing SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Billing

Contents

Description

Allows developers to manage billing for their Google Cloud Platform projects programmatically.

See: Cloud Billing API Reference

Synopsis

Service Configuration

billingService :: ServiceConfig Source #

Default request referring to version v1 of the Cloud Billing 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

API Declaration

Resources

cloudbilling.billingAccounts.create

cloudbilling.billingAccounts.get

cloudbilling.billingAccounts.getIamPolicy

cloudbilling.billingAccounts.list

cloudbilling.billingAccounts.patch

cloudbilling.billingAccounts.projects.list

cloudbilling.billingAccounts.setIamPolicy

cloudbilling.billingAccounts.testIamPermissions

cloudbilling.projects.getBillingInfo

cloudbilling.projects.updateBillingInfo

cloudbilling.services.list

cloudbilling.services.skus.list

Types

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
Eq AuditConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data AuditConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: AuditConfig -> Constr #

dataTypeOf :: AuditConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic AuditConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep AuditConfig :: Type -> Type #

ToJSON AuditConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON AuditConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep AuditConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep AuditConfig = D1 (MetaData "AuditConfig" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "AuditConfig'" PrefixI True) (S1 (MetaSel (Just "_acService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_acAuditLogConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuditLogConfig]))))

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.

ListServicesResponse

data ListServicesResponse Source #

Response message for `ListServices`.

See: listServicesResponse smart constructor.

Instances
Eq ListServicesResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data ListServicesResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: ListServicesResponse -> Constr #

dataTypeOf :: ListServicesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListServicesResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic ListServicesResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep ListServicesResponse :: Type -> Type #

ToJSON ListServicesResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON ListServicesResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListServicesResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListServicesResponse = D1 (MetaData "ListServicesResponse" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "ListServicesResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Service]))))

listServicesResponse :: ListServicesResponse Source #

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

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

lsrNextPageToken :: Lens' ListServicesResponse (Maybe Text) Source #

A token to retrieve the next page of results. To retrieve the next page, call `ListServices` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.

Expr

data Expr Source #

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 # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

Data Expr Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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 #

toConstr :: Expr -> Constr #

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 # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

Generic Expr Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep Expr :: Type -> Type #

Methods

from :: Expr -> Rep Expr x #

to :: Rep Expr x -> Expr #

ToJSON Expr Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON Expr Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Expr Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Expr = D1 (MetaData "Expr" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" 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)))))

expr :: Expr Source #

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.

BillingAccount

data BillingAccount Source #

A billing account in GCP Console. You can assign a billing account to one or more projects.

See: billingAccount smart constructor.

Instances
Eq BillingAccount Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data BillingAccount Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: BillingAccount -> Constr #

dataTypeOf :: BillingAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccount Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic BillingAccount Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep BillingAccount :: Type -> Type #

ToJSON BillingAccount Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON BillingAccount Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep BillingAccount Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep BillingAccount = D1 (MetaData "BillingAccount" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "BillingAccount'" PrefixI True) ((S1 (MetaSel (Just "_baMasterBillingAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_baOpen") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_baName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_baDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

billingAccount :: BillingAccount Source #

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

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

baMasterBillingAccount :: Lens' BillingAccount (Maybe Text) Source #

If this account is a subaccount, then this will be the resource name of the master billing account that it is being resold through. Otherwise this will be empty.

baOpen :: Lens' BillingAccount (Maybe Bool) Source #

True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services.

baName :: Lens' BillingAccount (Maybe Text) Source #

The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`.

baDisplayName :: Lens' BillingAccount (Maybe Text) Source #

The display name given to the billing account, such as `My Billing Account`. This name is displayed in the GCP Console.

Service

data Service Source #

Encapsulates a single service in Google Cloud Platform.

See: service smart constructor.

Instances
Eq Service Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

Data Service Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: Service -> Constr #

dataTypeOf :: Service -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Service Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic Service Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep Service :: Type -> Type #

Methods

from :: Service -> Rep Service x #

to :: Rep Service x -> Service #

ToJSON Service Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON Service Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Service Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Service = D1 (MetaData "Service" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "Service'" PrefixI True) (S1 (MetaSel (Just "_sName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sServiceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

service :: Service Source #

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

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

sName :: Lens' Service (Maybe Text) Source #

The resource name for the service. Example: "services/DA34-426B-A397"

sDisplayName :: Lens' Service (Maybe Text) Source #

A human readable display name for this service.

sServiceId :: Lens' Service (Maybe Text) Source #

The identifier for the service. Example: "DA34-426B-A397"

ProjectBillingInfo

data ProjectBillingInfo Source #

Encapsulation of billing information for a GCP Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).

See: projectBillingInfo smart constructor.

Instances
Eq ProjectBillingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data ProjectBillingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: ProjectBillingInfo -> Constr #

dataTypeOf :: ProjectBillingInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectBillingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic ProjectBillingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep ProjectBillingInfo :: Type -> Type #

ToJSON ProjectBillingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON ProjectBillingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ProjectBillingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ProjectBillingInfo = D1 (MetaData "ProjectBillingInfo" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "ProjectBillingInfo'" PrefixI True) ((S1 (MetaSel (Just "_pbiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbiBillingAccountName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pbiProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbiBillingEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

projectBillingInfo :: ProjectBillingInfo Source #

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

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

pbiName :: Lens' ProjectBillingInfo (Maybe Text) Source #

The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only.

pbiBillingAccountName :: Lens' ProjectBillingInfo (Maybe Text) Source #

The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`.

pbiProjectId :: Lens' ProjectBillingInfo (Maybe Text) Source #

The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only.

pbiBillingEnabled :: Lens' ProjectBillingInfo (Maybe Bool) Source #

True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.

TierRate

data TierRate Source #

The price rate indicating starting usage and its corresponding price.

See: tierRate smart constructor.

Instances
Eq TierRate Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data TierRate Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: TierRate -> Constr #

dataTypeOf :: TierRate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TierRate Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic TierRate Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep TierRate :: Type -> Type #

Methods

from :: TierRate -> Rep TierRate x #

to :: Rep TierRate x -> TierRate #

ToJSON TierRate Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON TierRate Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep TierRate Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep TierRate = D1 (MetaData "TierRate" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "TierRate'" PrefixI True) (S1 (MetaSel (Just "_trUnitPrice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Money)) :*: S1 (MetaSel (Just "_trStartUsageAmount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

tierRate :: TierRate Source #

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

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

trUnitPrice :: Lens' TierRate (Maybe Money) Source #

The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.

trStartUsageAmount :: Lens' TierRate (Maybe Double) Source #

Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.

Money

data Money Source #

Represents an amount of money with its currency type.

See: money smart constructor.

Instances
Eq Money Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

Data Money Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: Money -> Constr #

dataTypeOf :: Money -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Money Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

showsPrec :: Int -> Money -> ShowS #

show :: Money -> String #

showList :: [Money] -> ShowS #

Generic Money Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep Money :: Type -> Type #

Methods

from :: Money -> Rep Money x #

to :: Rep Money x -> Money #

ToJSON Money Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON Money Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Money Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Money = D1 (MetaData "Money" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "Money'" PrefixI True) (S1 (MetaSel (Just "_mCurrencyCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mNanos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_mUnits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))

money :: Money Source #

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

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

mCurrencyCode :: Lens' Money (Maybe Text) Source #

The 3-letter currency code defined in ISO 4217.

mNanos :: Lens' Money (Maybe Int32) Source #

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.

mUnits :: Lens' Money (Maybe Int64) Source #

The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.

Category

data Category Source #

Represents the category hierarchy of a SKU.

See: category smart constructor.

Instances
Eq Category Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data Category Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: Category -> Constr #

dataTypeOf :: Category -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Category Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic Category Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep Category :: Type -> Type #

Methods

from :: Category -> Rep Category x #

to :: Rep Category x -> Category #

ToJSON Category Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON Category Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Category Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Category = D1 (MetaData "Category" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "Category'" PrefixI True) ((S1 (MetaSel (Just "_cResourceFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cUsageType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cServiceDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cResourceGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

category :: Category Source #

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

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

cResourceFamily :: Lens' Category (Maybe Text) Source #

The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc.

cUsageType :: Lens' Category (Maybe Text) Source #

Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.

cServiceDisplayName :: Lens' Category (Maybe Text) Source #

The display name of the service this SKU belongs to.

cResourceGroup :: Lens' Category (Maybe Text) Source #

A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.

AggregationInfoAggregationLevel

data AggregationInfoAggregationLevel Source #

Constructors

AggregationLevelUnspecified
AGGREGATION_LEVEL_UNSPECIFIED
Account
ACCOUNT
Project
PROJECT
Instances
Enum AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Eq AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Data AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

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

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

toConstr :: AggregationInfoAggregationLevel -> Constr #

dataTypeOf :: AggregationInfoAggregationLevel -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Read AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Show AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Generic AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Associated Types

type Rep AggregationInfoAggregationLevel :: Type -> Type #

Hashable AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

ToJSON AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromJSON AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromHttpApiData AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

ToHttpApiData AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep AggregationInfoAggregationLevel Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep AggregationInfoAggregationLevel = D1 (MetaData "AggregationInfoAggregationLevel" "Network.Google.Billing.Types.Sum" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "AggregationLevelUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Account" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Project" PrefixI False) (U1 :: Type -> Type)))

SetIAMPolicyRequest

data SetIAMPolicyRequest Source #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances
Eq SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: SetIAMPolicyRequest -> Constr #

dataTypeOf :: SetIAMPolicyRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep SetIAMPolicyRequest :: Type -> Type #

ToJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "SetIAMPolicyRequest'" PrefixI True) (S1 (MetaSel (Just "_siprUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_siprPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Policy))))

setIAMPolicyRequest :: SetIAMPolicyRequest Source #

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

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

siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask) Source #

OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag" This field is only used by Cloud IAM.

siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #

REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.

ListProjectBillingInfoResponse

data ListProjectBillingInfoResponse Source #

Request message for `ListProjectBillingInfoResponse`.

See: listProjectBillingInfoResponse smart constructor.

Instances
Eq ListProjectBillingInfoResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data ListProjectBillingInfoResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: ListProjectBillingInfoResponse -> Constr #

dataTypeOf :: ListProjectBillingInfoResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListProjectBillingInfoResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic ListProjectBillingInfoResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep ListProjectBillingInfoResponse :: Type -> Type #

ToJSON ListProjectBillingInfoResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON ListProjectBillingInfoResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListProjectBillingInfoResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListProjectBillingInfoResponse = D1 (MetaData "ListProjectBillingInfoResponse" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "ListProjectBillingInfoResponse'" PrefixI True) (S1 (MetaSel (Just "_lpbirNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lpbirProjectBillingInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProjectBillingInfo]))))

listProjectBillingInfoResponse :: ListProjectBillingInfoResponse Source #

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

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

lpbirNextPageToken :: Lens' ListProjectBillingInfoResponse (Maybe Text) Source #

A token to retrieve the next page of results. To retrieve the next page, call `ListProjectBillingInfo` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.

lpbirProjectBillingInfo :: Lens' ListProjectBillingInfoResponse [ProjectBillingInfo] Source #

A list of `ProjectBillingInfo` resources representing the projects associated with the billing account.

ListSKUsResponse

data ListSKUsResponse Source #

Response message for `ListSkus`.

See: listSKUsResponse smart constructor.

Instances
Eq ListSKUsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data ListSKUsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: ListSKUsResponse -> Constr #

dataTypeOf :: ListSKUsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListSKUsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic ListSKUsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep ListSKUsResponse :: Type -> Type #

ToJSON ListSKUsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON ListSKUsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListSKUsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListSKUsResponse = D1 (MetaData "ListSKUsResponse" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "ListSKUsResponse'" PrefixI True) (S1 (MetaSel (Just "_lskurNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lskurSKUs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SKU]))))

listSKUsResponse :: ListSKUsResponse Source #

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

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

lskurNextPageToken :: Lens' ListSKUsResponse (Maybe Text) Source #

A token to retrieve the next page of results. To retrieve the next page, call `ListSkus` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.

lskurSKUs :: Lens' ListSKUsResponse [SKU] Source #

The list of public SKUs of the given service.

AuditLogConfigLogType

data AuditLogConfigLogType Source #

The log type that this config enables.

Constructors

LogTypeUnspecified

LOG_TYPE_UNSPECIFIED Default case. Should never be this.

AdminRead

ADMIN_READ Admin reads. Example: CloudIAM getIamPolicy

DataWrite

DATA_WRITE Data writes. Example: CloudSQL Users create

DataRead

DATA_READ Data reads. Example: CloudSQL Users list

Instances
Enum AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Eq AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Data AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

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

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

toConstr :: AuditLogConfigLogType -> Constr #

dataTypeOf :: AuditLogConfigLogType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Read AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Show AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Generic AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Associated Types

type Rep AuditLogConfigLogType :: Type -> Type #

Hashable AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

ToJSON AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromJSON AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromHttpApiData AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

ToHttpApiData AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep AuditLogConfigLogType Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep AuditLogConfigLogType = D1 (MetaData "AuditLogConfigLogType" "Network.Google.Billing.Types.Sum" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) ((C1 (MetaCons "LogTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AdminRead" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DataWrite" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DataRead" PrefixI False) (U1 :: Type -> Type)))

PricingExpression

data PricingExpression Source #

Instances
Eq PricingExpression Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data PricingExpression Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: PricingExpression -> Constr #

dataTypeOf :: PricingExpression -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PricingExpression Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic PricingExpression Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep PricingExpression :: Type -> Type #

ToJSON PricingExpression Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON PricingExpression Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep PricingExpression Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep PricingExpression = D1 (MetaData "PricingExpression" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "PricingExpression'" PrefixI True) ((S1 (MetaSel (Just "_peUsageUnitDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_peBaseUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_peBaseUnitConversionFactor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))) :*: ((S1 (MetaSel (Just "_peDisplayQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_peTieredRates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TierRate]))) :*: (S1 (MetaSel (Just "_peBaseUnitDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_peUsageUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

pricingExpression :: PricingExpression Source #

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

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

peUsageUnitDescription :: Lens' PricingExpression (Maybe Text) Source #

The unit of usage in human readable form. Example: "gibi byte".

peBaseUnit :: Lens' PricingExpression (Maybe Text) Source #

The base unit for the SKU which is the unit used in usage exports. Example: "By"

peBaseUnitConversionFactor :: Lens' PricingExpression (Maybe Double) Source #

Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price / base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit.

peDisplayQuantity :: Lens' PricingExpression (Maybe Double) Source #

The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and the display_quantity is "1000" then the recommended way of displaying the pricing info is "0.10 USD per 1000 GB"

peTieredRates :: Lens' PricingExpression [TierRate] Source #

The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.

peBaseUnitDescription :: Lens' PricingExpression (Maybe Text) Source #

The base unit in human readable form. Example: "byte".

peUsageUnit :: Lens' PricingExpression (Maybe Text) Source #

The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

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

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.Billing.Types.Sum" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

TestIAMPermissionsRequest

data TestIAMPermissionsRequest Source #

Request message for `TestIamPermissions` method.

See: testIAMPermissionsRequest smart constructor.

Instances
Eq TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsRequest -> Constr #

dataTypeOf :: TestIAMPermissionsRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep TestIAMPermissionsRequest :: Type -> Type #

ToJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep TestIAMPermissionsRequest = D1 (MetaData "TestIAMPermissionsRequest" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" True) (C1 (MetaCons "TestIAMPermissionsRequest'" PrefixI True) (S1 (MetaSel (Just "_tiprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsRequest :: TestIAMPermissionsRequest Source #

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

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

tiprPermissions :: Lens' TestIAMPermissionsRequest [Text] Source #

The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.

AggregationInfo

data AggregationInfo Source #

Represents the aggregation level and interval for pricing of a single SKU.

See: aggregationInfo smart constructor.

Instances
Eq AggregationInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data AggregationInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: AggregationInfo -> Constr #

dataTypeOf :: AggregationInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AggregationInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic AggregationInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep AggregationInfo :: Type -> Type #

ToJSON AggregationInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON AggregationInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep AggregationInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep AggregationInfo = D1 (MetaData "AggregationInfo" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "AggregationInfo'" PrefixI True) (S1 (MetaSel (Just "_aiAggregationInterval") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AggregationInfoAggregationInterval)) :*: (S1 (MetaSel (Just "_aiAggregationCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_aiAggregationLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AggregationInfoAggregationLevel)))))

aggregationInfo :: AggregationInfo Source #

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

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

aiAggregationCount :: Lens' AggregationInfo (Maybe Int32) Source #

The number of intervals to aggregate over. Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days.

SKU

data SKU Source #

Encapsulates a single SKU in Google Cloud Platform

See: sKU smart constructor.

Instances
Eq SKU Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

Data SKU Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: SKU -> Constr #

dataTypeOf :: SKU -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SKU Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

showsPrec :: Int -> SKU -> ShowS #

show :: SKU -> String #

showList :: [SKU] -> ShowS #

Generic SKU Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep SKU :: Type -> Type #

Methods

from :: SKU -> Rep SKU x #

to :: Rep SKU x -> SKU #

ToJSON SKU Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON SKU Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep SKU Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep SKU = D1 (MetaData "SKU" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "SKU'" PrefixI True) ((S1 (MetaSel (Just "_skukCategory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Category)) :*: (S1 (MetaSel (Just "_skukSKUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_skukServiceProviderName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_skukServiceRegions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_skukName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_skukPricingInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PricingInfo])) :*: S1 (MetaSel (Just "_skukDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

sKU :: SKU Source #

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

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

skukCategory :: Lens' SKU (Maybe Category) Source #

The category hierarchy of this SKU, purely for organizational purpose.

skukSKUId :: Lens' SKU (Maybe Text) Source #

The identifier for the SKU. Example: "AA95-CD31-42FE"

skukServiceProviderName :: Lens' SKU (Maybe Text) Source #

Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.

skukServiceRegions :: Lens' SKU [Text] Source #

List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/

skukName :: Lens' SKU (Maybe Text) Source #

The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"

skukPricingInfo :: Lens' SKU [PricingInfo] Source #

A timeline of pricing info for this SKU in chronological order.

skukDescription :: Lens' SKU (Maybe Text) Source #

A human readable description of the SKU, has a maximum length of 256 characters.

TestIAMPermissionsResponse

data TestIAMPermissionsResponse Source #

Response message for `TestIamPermissions` method.

See: testIAMPermissionsResponse smart constructor.

Instances
Eq TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsResponse -> Constr #

dataTypeOf :: TestIAMPermissionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep TestIAMPermissionsResponse :: Type -> Type #

ToJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep TestIAMPermissionsResponse = D1 (MetaData "TestIAMPermissionsResponse" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" True) (C1 (MetaCons "TestIAMPermissionsResponse'" PrefixI True) (S1 (MetaSel (Just "_tiamprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsResponse :: TestIAMPermissionsResponse Source #

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

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

tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text] Source #

A subset of `TestPermissionsRequest.permissions` that the caller is allowed.

Policy

data Policy Source #

Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } **YAML Example** bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide.

See: policy smart constructor.

Instances
Eq Policy Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

Data Policy Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Policy Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic Policy Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

ToJSON Policy Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON Policy Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Policy Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Policy = D1 (MetaData "Policy" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "Policy'" PrefixI True) ((S1 (MetaSel (Just "_pAuditConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuditConfig])) :*: S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding])))))

policy :: Policy Source #

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

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

pAuditConfigs :: Lens' Policy [AuditConfig] Source #

Specifies cloud audit logging configuration for this policy.

pEtag :: Lens' Policy (Maybe ByteString) Source #

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.

pBindings :: Lens' Policy [Binding] Source #

Associates a list of `members` to a `role`. `bindings` with no members will result in an error.

ListBillingAccountsResponse

data ListBillingAccountsResponse Source #

Response message for `ListBillingAccounts`.

See: listBillingAccountsResponse smart constructor.

Instances
Eq ListBillingAccountsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data ListBillingAccountsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: ListBillingAccountsResponse -> Constr #

dataTypeOf :: ListBillingAccountsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListBillingAccountsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic ListBillingAccountsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep ListBillingAccountsResponse :: Type -> Type #

ToJSON ListBillingAccountsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON ListBillingAccountsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListBillingAccountsResponse Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep ListBillingAccountsResponse = D1 (MetaData "ListBillingAccountsResponse" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "ListBillingAccountsResponse'" PrefixI True) (S1 (MetaSel (Just "_lbarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbarBillingAccounts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BillingAccount]))))

listBillingAccountsResponse :: ListBillingAccountsResponse Source #

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

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

lbarNextPageToken :: Lens' ListBillingAccountsResponse (Maybe Text) Source #

A token to retrieve the next page of results. To retrieve the next page, call `ListBillingAccounts` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.

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
Eq AuditLogConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data AuditLogConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: AuditLogConfig -> Constr #

dataTypeOf :: AuditLogConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditLogConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic AuditLogConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep AuditLogConfig :: Type -> Type #

ToJSON AuditLogConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON AuditLogConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep AuditLogConfig Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep AuditLogConfig = D1 (MetaData "AuditLogConfig" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "AuditLogConfig'" PrefixI True) (S1 (MetaSel (Just "_alcLogType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AuditLogConfigLogType)) :*: S1 (MetaSel (Just "_alcExemptedMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

auditLogConfig :: AuditLogConfig Source #

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

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

alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType) Source #

The log type that this config enables.

alcExemptedMembers :: Lens' AuditLogConfig [Text] Source #

Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.

PricingInfo

data PricingInfo Source #

Represents the pricing information for a SKU at a single point of time.

See: pricingInfo smart constructor.

Instances
Eq PricingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Data PricingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: PricingInfo -> Constr #

dataTypeOf :: PricingInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PricingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic PricingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep PricingInfo :: Type -> Type #

ToJSON PricingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON PricingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep PricingInfo Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep PricingInfo = D1 (MetaData "PricingInfo" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "PricingInfo'" PrefixI True) ((S1 (MetaSel (Just "_piSummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piAggregationInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AggregationInfo))) :*: (S1 (MetaSel (Just "_piPricingExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PricingExpression)) :*: (S1 (MetaSel (Just "_piCurrencyConversionRate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_piEffectiveTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))))

pricingInfo :: PricingInfo Source #

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

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

piSummary :: Lens' PricingInfo (Maybe Text) Source #

An optional human readable summary of the pricing information, has a maximum length of 256 characters.

piAggregationInfo :: Lens' PricingInfo (Maybe AggregationInfo) Source #

Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.

piPricingExpression :: Lens' PricingInfo (Maybe PricingExpression) Source #

Expresses the pricing formula. See `PricingExpression` for an example.

piCurrencyConversionRate :: Lens' PricingInfo (Maybe Double) Source #

Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY

piEffectiveTime :: Lens' PricingInfo (Maybe UTCTime) Source #

The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.

AggregationInfoAggregationInterval

data AggregationInfoAggregationInterval Source #

Constructors

AggregationIntervalUnspecified
AGGREGATION_INTERVAL_UNSPECIFIED
Daily
DAILY
Monthly
MONTHLY
Instances
Enum AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Eq AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Data AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Methods

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

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

toConstr :: AggregationInfoAggregationInterval -> Constr #

dataTypeOf :: AggregationInfoAggregationInterval -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Read AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Show AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Generic AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

Associated Types

type Rep AggregationInfoAggregationInterval :: Type -> Type #

Hashable AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

ToJSON AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromJSON AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

FromHttpApiData AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

ToHttpApiData AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep AggregationInfoAggregationInterval Source # 
Instance details

Defined in Network.Google.Billing.Types.Sum

type Rep AggregationInfoAggregationInterval = D1 (MetaData "AggregationInfoAggregationInterval" "Network.Google.Billing.Types.Sum" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "AggregationIntervalUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Daily" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Monthly" PrefixI False) (U1 :: Type -> Type)))

Binding

data Binding Source #

Associates `members` with a `role`.

See: binding smart constructor.

Instances
Eq Binding Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

Data Binding Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Methods

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

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

toConstr :: Binding -> Constr #

dataTypeOf :: Binding -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Binding Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Generic Binding Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

Associated Types

type Rep Binding :: Type -> Type #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

ToJSON Binding Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

FromJSON Binding Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Binding Source # 
Instance details

Defined in Network.Google.Billing.Types.Product

type Rep Binding = D1 (MetaData "Binding" "Network.Google.Billing.Types.Product" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" 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)))))

binding :: Binding Source #

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

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

bMembers :: Lens' Binding [Text] Source #

Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice'gmail.com` . * `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.