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 |
Creates an app profile within an instance.
See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.appProfiles.create
.
Synopsis
- type ProjectsInstancesAppProFilesCreateResource = "v2" :> (Capture "parent" Text :> ("appProfiles" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "appProfileId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "ignoreWarnings" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AppProFile :> Post '[JSON] AppProFile)))))))))))
- projectsInstancesAppProFilesCreate :: Text -> AppProFile -> ProjectsInstancesAppProFilesCreate
- data ProjectsInstancesAppProFilesCreate
- piapfcParent :: Lens' ProjectsInstancesAppProFilesCreate Text
- piapfcXgafv :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Xgafv)
- piapfcAppProFileId :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text)
- piapfcUploadProtocol :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text)
- piapfcAccessToken :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text)
- piapfcUploadType :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text)
- piapfcPayload :: Lens' ProjectsInstancesAppProFilesCreate AppProFile
- piapfcIgnoreWarnings :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Bool)
- piapfcCallback :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text)
REST Resource
type ProjectsInstancesAppProFilesCreateResource = "v2" :> (Capture "parent" Text :> ("appProfiles" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "appProfileId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "ignoreWarnings" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AppProFile :> Post '[JSON] AppProFile))))))))))) Source #
A resource alias for bigtableadmin.projects.instances.appProfiles.create
method which the
ProjectsInstancesAppProFilesCreate
request conforms to.
Creating a Request
projectsInstancesAppProFilesCreate Source #
Creates a value of ProjectsInstancesAppProFilesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesAppProFilesCreate Source #
Creates an app profile within an instance.
See: projectsInstancesAppProFilesCreate
smart constructor.
Instances
Request Lenses
piapfcParent :: Lens' ProjectsInstancesAppProFilesCreate Text Source #
The unique name of the instance in which to create the new app profile. Values are of the form `projects//instances/`.
piapfcXgafv :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Xgafv) Source #
V1 error format.
piapfcAppProFileId :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text) Source #
The ID to be used when referring to the new app profile within its instance, e.g., just `myprofile` rather than `projects/myproject/instances/myinstance/appProfiles/myprofile`.
piapfcUploadProtocol :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piapfcAccessToken :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text) Source #
OAuth access token.
piapfcUploadType :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piapfcPayload :: Lens' ProjectsInstancesAppProFilesCreate AppProFile Source #
Multipart request metadata.
piapfcIgnoreWarnings :: Lens' ProjectsInstancesAppProFilesCreate (Maybe Bool) Source #
If true, ignore safety checks when creating the app profile.