| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Run
Contents
Description
Deploy and manage user provided container images that scale automatically based on HTTP traffic.
Synopsis
- runService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type RunAPI = ProjectsLocationsGetResource
- module Network.Google.Resource.Run.Projects.Locations.Get
- data Location
- location :: Location
- lName :: Lens' Location (Maybe Text)
- lMetadata :: Lens' Location (Maybe LocationMetadata)
- lDisplayName :: Lens' Location (Maybe Text)
- lLabels :: Lens' Location (Maybe LocationLabels)
- lLocationId :: Lens' Location (Maybe Text)
- data Xgafv
- data LocationLabels
- locationLabels :: HashMap Text Text -> LocationLabels
- llAddtional :: Lens' LocationLabels (HashMap Text Text)
- data LocationMetadata
- locationMetadata :: HashMap Text JSONValue -> LocationMetadata
- lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue)
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
A resource that represents Google Cloud Platform location.
See: location smart constructor.
Instances
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
V1 error format.
Instances
| Enum Xgafv Source # | |
Defined in Network.Google.Run.Types.Sum | |
| Eq Xgafv Source # | |
| Data Xgafv Source # | |
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 # 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 # | |
| Read Xgafv Source # | |
| Show Xgafv Source # | |
| Generic Xgafv Source # | |
| Hashable Xgafv Source # | |
Defined in Network.Google.Run.Types.Sum | |
| ToJSON Xgafv Source # | |
Defined in Network.Google.Run.Types.Sum | |
| FromJSON Xgafv Source # | |
| FromHttpApiData Xgafv Source # | |
Defined in Network.Google.Run.Types.Sum | |
| ToHttpApiData Xgafv Source # | |
Defined in Network.Google.Run.Types.Sum Methods toUrlPiece :: Xgafv -> Text # toEncodedUrlPiece :: Xgafv -> Builder # toHeader :: Xgafv -> ByteString # toQueryParam :: Xgafv -> Text # | |
| type Rep Xgafv Source # | |
LocationLabels
data LocationLabels Source #
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
See: locationLabels smart constructor.
Instances
Arguments
| :: HashMap Text Text | |
| -> LocationLabels |
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
Arguments
| :: HashMap Text JSONValue | |
| -> LocationMetadata |
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.