Packages

object Google extends Google

Provides methods to interface with Google APIs

Source
Google.scala
Linear Supertypes
Google, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Google
  2. Google
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def paginatedRequest[Out](request: HttpRequest)(implicit arg0: Paginated[Out], arg1: FromResponseUnmarshaller[Out]): Source[Out, NotUsed]

    Makes a series of requests to page through a resource.

    Makes a series of requests to page through a resource. Authentication is handled automatically. Requests are retried if the unmarshaller throws a akka.stream.alpakka.google.util.Retry.

    Out

    the data model for each page of the resource

    request

    the initial akka.http.scaladsl.model.HttpRequest to make; must be a GET request

    returns

    a akka.stream.scaladsl.Source that emits an Out for each page of the resource

    Definition Classes
    Google
  2. final def resumableUpload[Out](request: HttpRequest)(implicit arg0: FromResponseUnmarshaller[Out]): Sink[ByteString, Future[Out]]

    Makes a series of requests to upload a stream of bytes to a media endpoint.

    Makes a series of requests to upload a stream of bytes to a media endpoint. Authentication is handled automatically. If the unmarshaller throws a akka.stream.alpakka.google.util.Retry the upload will attempt to recover and continue.

    Out

    the data model for the resource

    request

    the akka.http.scaladsl.model.HttpRequest to initiate the upload; must be a POST request with query uploadType=resumable and optionally a akka.stream.alpakka.google.scaladsl.`X-Upload-Content-Type` header

    returns

    a akka.stream.scaladsl.Sink that materializes a scala.concurrent.Future containing the unmarshalled resource

    Definition Classes
    Google
  3. final def singleRequest[T](request: HttpRequest)(implicit arg0: FromResponseUnmarshaller[T], system: ClassicActorSystemProvider, settings: GoogleSettings): Future[T]

    Makes a request and returns the unmarshalled response.

    Makes a request and returns the unmarshalled response. Authentication is handled automatically. Retries the request if the unmarshaller throws a akka.stream.alpakka.google.util.Retry.

    T

    the data model for the resource

    request

    the akka.http.scaladsl.model.HttpRequest to make

    returns

    a scala.concurrent.Future containing the unmarshalled response

    Definition Classes
    Google