Creates a job.
@param \Google\Cloud\Scheduler\V1\CreateJobRequest $argument input argument
@param array $metadata metadata
@param array $options call options
966862
public function CreateJob(\Google\Cloud\Scheduler\V1\CreateJobRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.scheduler.v1.CloudScheduler/CreateJob',
        $argument,
        ['\Google\Cloud\Scheduler\V1\Job', 'decode'],
        $metadata, $options);
    }
1192957
public function RunQuery(\Google\Cloud\Datastore\V1\RunQueryRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.datastore.v1.Datastore/RunQuery',
        $argument,
        ['\Google\Cloud\Datastore\V1\RunQueryResponse', 'decode'],
        $metadata, $options);
    }
245940
public function GetProfile(\Google\Cloud\Talent\V4beta1\GetProfileRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.talent.v4beta1.ProfileService/GetProfile',
        $argument,
        ['\Google\Cloud\Talent\V4beta1\Profile', 'decode'],
        $metadata, $options);
    }
99100
public function SetLegacyAbac(\Google\Cloud\Container\V1\SetLegacyAbacRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.container.v1.ClusterManager/SetLegacyAbac',
        $argument,
        ['\Google\Cloud\Container\V1\Operation', 'decode'],
        $metadata, $options);
    }
855401
public function CreateSource(\Google\Cloud\SecurityCenter\V1\CreateSourceRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.securitycenter.v1.SecurityCenter/CreateSource',
        $argument,
        ['\Google\Cloud\SecurityCenter\V1\Source', 'decode'],
        $metadata, $options);
    }
1212641
public function CreateEntityType(\Google\Cloud\Dialogflow\V2\CreateEntityTypeRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.dialogflow.v2.EntityTypes/CreateEntityType',
        $argument,
        ['\Google\Cloud\Dialogflow\V2\EntityType', 'decode'],
        $metadata, $options);
    }
448411
public function CreateIntent(\Google\Cloud\Dialogflow\V2\CreateIntentRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.dialogflow.v2.Intents/CreateIntent',
        $argument,
        ['\Google\Cloud\Dialogflow\V2\Intent', 'decode'],
        $metadata, $options);
    }
1323793
public function GetInstance(\Google\Cloud\Spanner\Admin\Instance\V1\GetInstanceRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.spanner.admin.instance.v1.InstanceAdmin/GetInstance',
        $argument,
        ['\Google\Cloud\Spanner\Admin\Instance\V1\Instance', 'decode'],
        $metadata, $options);
    }
440346
public function AnalyzeSentiment(\Google\Cloud\Language\V1beta2\AnalyzeSentimentRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment',
        $argument,
        ['\Google\Cloud\Language\V1beta2\AnalyzeSentimentResponse', 'decode'],
        $metadata, $options);
    }
531252
public function DeleteInstance(\Google\Cloud\Redis\V1\DeleteInstanceRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.redis.v1.CloudRedis/DeleteInstance',
        $argument,
        ['\Google\LongRunning\Operation', 'decode'],
        $metadata, $options);
    }
599516
public function LeaseRevoke(LeaseRevokeRequest $argument,
                                $metadata = [], $options = [])
    {
        return $this->_simpleRequest('/etcdserverpb.Lease/LeaseRevoke',
            $argument,
            ['\Etcdserverpb\LeaseRevokeResponse', 'decode'],
            $metadata,
            $options
        );
    }
63137
public function CreateAlertPolicy(\Google\Cloud\Monitoring\V3\CreateAlertPolicyRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy',
        $argument,
        ['\Google\Cloud\Monitoring\V3\AlertPolicy', 'decode'],
        $metadata, $options);
    }
1321117
public function Lookup(\Google\Cloud\Datastore\V1\LookupRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.datastore.v1.Datastore/Lookup',
        $argument,
        ['\Google\Cloud\Datastore\V1\LookupResponse', 'decode'],
        $metadata, $options);
    }
1293326
public function SetNodePoolManagement(\Google\Cloud\Container\V1\SetNodePoolManagementRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.container.v1.ClusterManager/SetNodePoolManagement',
        $argument,
        ['\Google\Cloud\Container\V1\Operation', 'decode'],
        $metadata, $options);
    }
466915
public function CreateDocument(\Google\Cloud\Firestore\V1beta1\CreateDocumentRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.firestore.v1beta1.Firestore/CreateDocument',
        $argument,
        ['\Google\Cloud\Firestore\V1beta1\Document', 'decode'],
        $metadata, $options);
    }
1186288
public function CreateApplication(\Google\Cloud\Talent\V4beta1\CreateApplicationRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/google.cloud.talent.v4beta1.ApplicationService/CreateApplication',
        $argument,
        ['\Google\Cloud\Talent\V4beta1\Application', 'decode'],
        $metadata, $options);
    }
707085
protected function createJob(array $attributes, $operation, array $arguments)
    {
        $attributes['channelName'] = isset($attributes['channelName']) ? $attributes['channelName'] : static::$defaultChannel;

        return (new Job($attributes))
            ->setOperation($operation)
            ->setArguments($arguments);
    }