Skip to content

Latest commit

 

History

History
 
 

mediatranslation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Google Cloud Platform logo

Open in Cloud Shell

Table of Contents

Build the sample

Install Maven.

Build your project with:

mvn clean package -DskipTests

Samples

Please follow the Set Up Your Project steps in the Quickstart doc to create a project and enable the Google Cloud Media Translation API. Following those steps, make sure that you Set Up a Service Account, and export the following environment variable:

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-project-credentials.json

After you have authorized, you can translate media.

Run

Run all tests:

mvn clean verify