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 |
List the private connections that are configured in a service consumer's VPC network.
See: Service Networking API Reference for servicenetworking.services.connections.list
.
Synopsis
- type ServicesConnectionsListResource = "v1" :> (Capture "parent" Text :> ("connections" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "network" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListConnectionsResponse)))))))))
- servicesConnectionsList :: Text -> ServicesConnectionsList
- data ServicesConnectionsList
- sclParent :: Lens' ServicesConnectionsList Text
- sclXgafv :: Lens' ServicesConnectionsList (Maybe Xgafv)
- sclUploadProtocol :: Lens' ServicesConnectionsList (Maybe Text)
- sclAccessToken :: Lens' ServicesConnectionsList (Maybe Text)
- sclUploadType :: Lens' ServicesConnectionsList (Maybe Text)
- sclNetwork :: Lens' ServicesConnectionsList (Maybe Text)
- sclCallback :: Lens' ServicesConnectionsList (Maybe Text)
REST Resource
type ServicesConnectionsListResource = "v1" :> (Capture "parent" Text :> ("connections" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "network" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListConnectionsResponse))))))))) Source #
A resource alias for servicenetworking.services.connections.list
method which the
ServicesConnectionsList
request conforms to.
Creating a Request
servicesConnectionsList Source #
Creates a value of ServicesConnectionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ServicesConnectionsList Source #
List the private connections that are configured in a service consumer's VPC network.
See: servicesConnectionsList
smart constructor.
Instances
Request Lenses
sclParent :: Lens' ServicesConnectionsList Text Source #
The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `services/-` as the parameter value, all configured peering services are listed.
sclUploadProtocol :: Lens' ServicesConnectionsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sclAccessToken :: Lens' ServicesConnectionsList (Maybe Text) Source #
OAuth access token.
sclUploadType :: Lens' ServicesConnectionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sclNetwork :: Lens' ServicesConnectionsList (Maybe Text) Source #
The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: `projects/{project}/global/networks/{network}`. {project} is a project number, such as in `12345` that includes the VPC service consumer's VPC network. {network} is the name of the service consumer's VPC network.
sclCallback :: Lens' ServicesConnectionsList (Maybe Text) Source #
JSONP