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 |
Searches Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the results.
See: Google Cloud Resource Manager API Reference for cloudresourcemanager.organizations.search
.
- type OrganizationsSearchResource = "v1" :> ("organizations:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchOrganizationsRequest :> Post '[JSON] SearchOrganizationsResponse))))))))))
- organizationsSearch :: SearchOrganizationsRequest -> OrganizationsSearch
- data OrganizationsSearch
- osXgafv :: Lens' OrganizationsSearch (Maybe Xgafv)
- osUploadProtocol :: Lens' OrganizationsSearch (Maybe Text)
- osPp :: Lens' OrganizationsSearch Bool
- osAccessToken :: Lens' OrganizationsSearch (Maybe Text)
- osUploadType :: Lens' OrganizationsSearch (Maybe Text)
- osPayload :: Lens' OrganizationsSearch SearchOrganizationsRequest
- osBearerToken :: Lens' OrganizationsSearch (Maybe Text)
- osCallback :: Lens' OrganizationsSearch (Maybe Text)
REST Resource
type OrganizationsSearchResource = "v1" :> ("organizations:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchOrganizationsRequest :> Post '[JSON] SearchOrganizationsResponse)))))))))) Source #
A resource alias for cloudresourcemanager.organizations.search
method which the
OrganizationsSearch
request conforms to.
Creating a Request
Creates a value of OrganizationsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSearch Source #
Searches Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the results.
See: organizationsSearch
smart constructor.
Request Lenses
osUploadProtocol :: Lens' OrganizationsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osAccessToken :: Lens' OrganizationsSearch (Maybe Text) Source #
OAuth access token.
osUploadType :: Lens' OrganizationsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osPayload :: Lens' OrganizationsSearch SearchOrganizationsRequest Source #
Multipart request metadata.
osBearerToken :: Lens' OrganizationsSearch (Maybe Text) Source #
OAuth bearer token.
osCallback :: Lens' OrganizationsSearch (Maybe Text) Source #
JSONP