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 |
Find the tenancy unit for a service and consumer. This method should not be used in producers' runtime path, for example finding the tenant project number when creating VMs. Producers should persist the tenant project information after the project is created.
See: Service Consumer Management API Reference for serviceconsumermanagement.services.tenancyUnits.list
.
Synopsis
- type ServicesTenancyUnitsListResource = "v1" :> (Capture "parent" Text :> ("tenancyUnits" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTenancyUnitsResponse)))))))))))
- servicesTenancyUnitsList :: Text -> ServicesTenancyUnitsList
- data ServicesTenancyUnitsList
- stulParent :: Lens' ServicesTenancyUnitsList Text
- stulXgafv :: Lens' ServicesTenancyUnitsList (Maybe Xgafv)
- stulUploadProtocol :: Lens' ServicesTenancyUnitsList (Maybe Text)
- stulAccessToken :: Lens' ServicesTenancyUnitsList (Maybe Text)
- stulUploadType :: Lens' ServicesTenancyUnitsList (Maybe Text)
- stulFilter :: Lens' ServicesTenancyUnitsList (Maybe Text)
- stulPageToken :: Lens' ServicesTenancyUnitsList (Maybe Text)
- stulPageSize :: Lens' ServicesTenancyUnitsList (Maybe Int32)
- stulCallback :: Lens' ServicesTenancyUnitsList (Maybe Text)
REST Resource
type ServicesTenancyUnitsListResource = "v1" :> (Capture "parent" Text :> ("tenancyUnits" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTenancyUnitsResponse))))))))))) Source #
A resource alias for serviceconsumermanagement.services.tenancyUnits.list
method which the
ServicesTenancyUnitsList
request conforms to.
Creating a Request
servicesTenancyUnitsList Source #
Creates a value of ServicesTenancyUnitsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ServicesTenancyUnitsList Source #
Find the tenancy unit for a service and consumer. This method should not be used in producers' runtime path, for example finding the tenant project number when creating VMs. Producers should persist the tenant project information after the project is created.
See: servicesTenancyUnitsList
smart constructor.
Instances
Request Lenses
stulParent :: Lens' ServicesTenancyUnitsList Text Source #
Service and consumer. Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a service, for example 'service.googleapis.com'.
stulUploadProtocol :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
stulAccessToken :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #
OAuth access token.
stulUploadType :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
stulFilter :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #
Filter expression over tenancy resources field. Optional.
stulPageToken :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #
The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
stulPageSize :: Lens' ServicesTenancyUnitsList (Maybe Int32) Source #
The maximum number of results returned by this request.
stulCallback :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #
JSONP