gogol-run-0.5.0: Google Cloud Run 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.Run

Contents

Description

Deploy and manage user provided container images that scale automatically based on HTTP traffic.

See: Cloud Run API Reference

Synopsis

Service Configuration

runService :: ServiceConfig Source #

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

type RunAPI = ProjectsLocationsGetResource Source #

Represents the entirety of the methods and resources available for the Cloud Run API service.

Resources

run.projects.locations.get

Types

Location

data Location Source #

A resource that represents Google Cloud Platform location.

See: location smart constructor.

Instances
Eq Location Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Data Location Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Methods

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

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

toConstr :: Location -> Constr #

dataTypeOf :: Location -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Location Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Generic Location Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
Instance details

Defined in Network.Google.Run.Types.Product

FromJSON Location Source # 
Instance details

Defined in Network.Google.Run.Types.Product

type Rep Location Source # 
Instance details

Defined in Network.Google.Run.Types.Product

location :: Location Source #

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

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

lName :: Lens' Location (Maybe Text) Source #

Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`

lMetadata :: Lens' Location (Maybe LocationMetadata) Source #

Service-specific metadata. For example the available capacity at the given location.

lDisplayName :: Lens' Location (Maybe Text) Source #

The friendly name for this location, typically a nearby city name. For example, "Tokyo".

lLabels :: Lens' Location (Maybe LocationLabels) Source #

Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}

lLocationId :: Lens' Location (Maybe Text) Source #

The canonical id for this location. For example: `"us-east1"`.

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.Run.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.Run.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

Defined in Network.Google.Run.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.Run.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.Run.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.Run.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.Run.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.Run.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.Run.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.Run.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Run.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Run.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.Run.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.Run.Types.Sum" "gogol-run-0.5.0-3E3LRMAUtAU9MzywLLCtYe" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

LocationLabels

data LocationLabels Source #

Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}

See: locationLabels smart constructor.

Instances
Eq LocationLabels Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Data LocationLabels Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Methods

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

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

toConstr :: LocationLabels -> Constr #

dataTypeOf :: LocationLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocationLabels Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Generic LocationLabels Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Associated Types

type Rep LocationLabels :: Type -> Type #

ToJSON LocationLabels Source # 
Instance details

Defined in Network.Google.Run.Types.Product

FromJSON LocationLabels Source # 
Instance details

Defined in Network.Google.Run.Types.Product

type Rep LocationLabels Source # 
Instance details

Defined in Network.Google.Run.Types.Product

type Rep LocationLabels = D1 (MetaData "LocationLabels" "Network.Google.Run.Types.Product" "gogol-run-0.5.0-3E3LRMAUtAU9MzywLLCtYe" True) (C1 (MetaCons "LocationLabels'" PrefixI True) (S1 (MetaSel (Just "_llAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

locationLabels Source #

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

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

LocationMetadata

data LocationMetadata Source #

Service-specific metadata. For example the available capacity at the given location.

See: locationMetadata smart constructor.

Instances
Eq LocationMetadata Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Data LocationMetadata Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Methods

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

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

toConstr :: LocationMetadata -> Constr #

dataTypeOf :: LocationMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocationMetadata Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Generic LocationMetadata Source # 
Instance details

Defined in Network.Google.Run.Types.Product

Associated Types

type Rep LocationMetadata :: Type -> Type #

ToJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.Run.Types.Product

FromJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.Run.Types.Product

type Rep LocationMetadata Source # 
Instance details

Defined in Network.Google.Run.Types.Product

type Rep LocationMetadata = D1 (MetaData "LocationMetadata" "Network.Google.Run.Types.Product" "gogol-run-0.5.0-3E3LRMAUtAU9MzywLLCtYe" True) (C1 (MetaCons "LocationMetadata'" PrefixI True) (S1 (MetaSel (Just "_lmAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

locationMetadata Source #

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

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

lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.