* Manages Google Cloud Dataflow projects on Google Cloud Platform.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_Dataflow extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View and manage your Google Compute Engine resources. */ const COMPUTE = "https://www.googleapis.com/auth/compute"; /** View your Google Compute Engine resources. */ const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly"; /** View your email address. */ const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email"; public $projects; public $projects_jobs; public $projects_jobs_debug; public $projects_jobs_messages; public $projects_jobs_workItems; public $projects_locations; public $projects_locations_jobs; public $projects_locations_jobs_debug; public $projects_locations_jobs_messages; public $projects_locations_jobs_snapshots; public $projects_locations_jobs_workItems; public $projects_locations_snapshots; public $projects_locations_sql; public $projects_locations_templates; public $projects_snapshots; public $projects_templates; /** * Constructs the internal representation of the Dataflow service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://dataflow.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1b3'; $this->serviceName = 'dataflow'; $this->projects = new Google_Service_Dataflow_Resource_Projects( $this, $this->serviceName, 'projects', array( 'methods' => array( 'deleteSnapshots' => array( 'path' => 'v1b3/projects/{projectId}/snapshots', 'httpMethod' => 'DELETE', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'snapshotId' => array( 'location' => 'query', 'type' => 'string', ), 'location' => array( 'location' => 'query', 'type' => 'string', ), ), ),'workerMessages' => array( 'path' => 'v1b3/projects/{projectId}/WorkerMessages', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_jobs = new Google_Service_Dataflow_Resource_ProjectsJobs( $this, $this->serviceName, 'jobs', array( 'methods' => array( 'aggregated' => array( 'path' => 'v1b3/projects/{projectId}/jobs:aggregated', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), ), ),'create' => array( 'path' => 'v1b3/projects/{projectId}/jobs', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'replaceJobId' => array( 'location' => 'query', 'type' => 'string', ), ), ),'get' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), ), ),'getMetrics' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'startTime' => array( 'location' => 'query', 'type' => 'string', ), ), ),'list' => array( 'path' => 'v1b3/projects/{projectId}/jobs', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'snapshot' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}:snapshot', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}', 'httpMethod' => 'PUT', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_jobs_debug = new Google_Service_Dataflow_Resource_ProjectsJobsDebug( $this, $this->serviceName, 'debug', array( 'methods' => array( 'getConfig' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'sendCapture' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_jobs_messages = new Google_Service_Dataflow_Resource_ProjectsJobsMessages( $this, $this->serviceName, 'messages', array( 'methods' => array( 'list' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/messages', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'endTime' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'startTime' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'minimumImportance' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_jobs_workItems = new Google_Service_Dataflow_Resource_ProjectsJobsWorkItems( $this, $this->serviceName, 'workItems', array( 'methods' => array( 'lease' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'reportStatus' => array( 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_locations = new Google_Service_Dataflow_Resource_ProjectsLocations( $this, $this->serviceName, 'locations', array( 'methods' => array( 'workerMessages' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_locations_jobs = new Google_Service_Dataflow_Resource_ProjectsLocationsJobs( $this, $this->serviceName, 'jobs', array( 'methods' => array( 'create' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'replaceJobId' => array( 'location' => 'query', 'type' => 'string', ), ), ),'get' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array( 'location' => 'query', 'type' => 'string', ), ), ),'getMetrics' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'startTime' => array( 'location' => 'query', 'type' => 'string', ), ), ),'list' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), ), ),'snapshot' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', 'httpMethod' => 'PUT', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_locations_jobs_debug = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsDebug( $this, $this->serviceName, 'debug', array( 'methods' => array( 'getConfig' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'sendCapture' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_locations_jobs_messages = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsMessages( $this, $this->serviceName, 'messages', array( 'methods' => array( 'list' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'endTime' => array( 'location' => 'query', 'type' => 'string', ), 'startTime' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'minimumImportance' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_locations_jobs_snapshots = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsSnapshots( $this, $this->serviceName, 'snapshots', array( 'methods' => array( 'list' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/snapshots', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_locations_jobs_workItems = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsWorkItems( $this, $this->serviceName, 'workItems', array( 'methods' => array( 'lease' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'reportStatus' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_locations_snapshots = new Google_Service_Dataflow_Resource_ProjectsLocationsSnapshots( $this, $this->serviceName, 'snapshots', array( 'methods' => array( 'delete' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'snapshotId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'snapshotId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/snapshots', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_locations_sql = new Google_Service_Dataflow_Resource_ProjectsLocationsSql( $this, $this->serviceName, 'sql', array( 'methods' => array( 'validate' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/sql:validate', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'query' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_locations_templates = new Google_Service_Dataflow_Resource_ProjectsLocationsTemplates( $this, $this->serviceName, 'templates', array( 'methods' => array( 'create' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/templates', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/templates:get', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'gcsPath' => array( 'location' => 'query', 'type' => 'string', ), ), ),'launch' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/templates:launch', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'validateOnly' => array( 'location' => 'query', 'type' => 'boolean', ), 'gcsPath' => array( 'location' => 'query', 'type' => 'string', ), 'dynamicTemplate.gcsPath' => array( 'location' => 'query', 'type' => 'string', ), 'dynamicTemplate.stagingLocation' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_snapshots = new Google_Service_Dataflow_Resource_ProjectsSnapshots( $this, $this->serviceName, 'snapshots', array( 'methods' => array( 'get' => array( 'path' => 'v1b3/projects/{projectId}/snapshots/{snapshotId}', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'snapshotId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'query', 'type' => 'string', ), ), ),'list' => array( 'path' => 'v1b3/projects/{projectId}/snapshots', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array( 'location' => 'query', 'type' => 'string', ), 'location' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_templates = new Google_Service_Dataflow_Resource_ProjectsTemplates( $this, $this->serviceName, 'templates', array( 'methods' => array( 'create' => array( 'path' => 'v1b3/projects/{projectId}/templates', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1b3/projects/{projectId}/templates:get', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'gcsPath' => array( 'location' => 'query', 'type' => 'string', ), ), ),'launch' => array( 'path' => 'v1b3/projects/{projectId}/templates:launch', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'validateOnly' => array( 'location' => 'query', 'type' => 'boolean', ), 'gcsPath' => array( 'location' => 'query', 'type' => 'string', ), 'location' => array( 'location' => 'query', 'type' => 'string', ), 'dynamicTemplate.gcsPath' => array( 'location' => 'query', 'type' => 'string', ), 'dynamicTemplate.stagingLocation' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }