<?php

return [
    'interfaces' => [
        'google.cloud.dataproc.v1beta2.JobController' => [
            'SubmitJobAsOperation' => [
                'longRunning' => [
                    'operationReturnType' => '\Google\Cloud\Dataproc\V1beta2\Job',
                    'metadataReturnType' => '\Google\Cloud\Dataproc\V1beta2\JobMetadata',
                    'initialPollDelayMillis' => '500',
                    'pollDelayMultiplier' => '1.5',
                    'maxPollDelayMillis' => '5000',
                    'totalPollTimeoutMillis' => '300000',
                ],
            ],
            'ListJobs' => [
                'pageStreaming' => [
                    'requestPageTokenGetMethod' => 'getPageToken',
                    'requestPageTokenSetMethod' => 'setPageToken',
                    'requestPageSizeGetMethod' => 'getPageSize',
                    'requestPageSizeSetMethod' => 'setPageSize',
                    'responsePageTokenGetMethod' => 'getNextPageToken',
                    'resourcesGetMethod' => 'getJobs',
                ],
            ],
        ],
    ],
];
