def create_job(self, request: job_service.CreateJobRequest=None, *, parent: str=None, job: gct_job.Job=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, str)]]=()) -> gct_job.Job:
    'Creates a new job.\n        Typically, the job becomes searchable within 10 seconds,\n        but it may take up to 5 minutes.\n\n        Args:\n            request (:class:`~.job_service.CreateJobRequest`):\n                The request object. Create job request.\n            parent (:class:`str`):\n                Required. The resource name of the tenant under which\n                the job is created.\n\n                The format is\n                "projects/{project_id}/tenants/{tenant_id}". For\n                example, "projects/foo/tenant/bar". If tenant id is\n                unspecified a default tenant is created. For example,\n                "projects/foo".\n                This corresponds to the ``parent`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n            job (:class:`~.gct_job.Job`):\n                Required. The Job to be created.\n                This corresponds to the ``job`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n\n            retry (google.api_core.retry.Retry): Designation of what errors, if any,\n                should be retried.\n            timeout (float): The timeout for this request.\n            metadata (Sequence[Tuple[str, str]]): Strings which should be\n                sent along with the request as metadata.\n\n        Returns:\n            ~.gct_job.Job:\n                A Job resource represents a job posting (also referred\n                to as a "job listing" or "job requisition"). A job\n                belongs to a\n                [Company][google.cloud.talent.v4beta1.Company], which is\n                the hiring entity responsible for the job.\n\n        '
    has_flattened_params = any([parent, job])
    if ((request is not None) and has_flattened_params):
        raise ValueError('If the `request` argument is set, then none of the individual field arguments should be set.')
    if (not isinstance(request, job_service.CreateJobRequest)):
        request = job_service.CreateJobRequest(request)
        if (parent is not None):
            request.parent = parent
        if (job is not None):
            request.job = job
    rpc = self._transport._wrapped_methods[self._transport.create_job]
    metadata = (tuple(metadata) + (gapic_v1.routing_header.to_grpc_metadata((('parent', request.parent),)),))
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata)
    return response
Creates a new job.
Typically, the job becomes searchable within 10 seconds,
but it may take up to 5 minutes.

Args:
    request (:class:`~.job_service.CreateJobRequest`):
        The request object. Create job request.
    parent (:class:`str`):
        Required. The resource name of the tenant under which
        the job is created.

        The format is
        "projects/{project_id}/tenants/{tenant_id}". For
        example, "projects/foo/tenant/bar". If tenant id is
        unspecified a default tenant is created. For example,
        "projects/foo".
        This corresponds to the ``parent`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    job (:class:`~.gct_job.Job`):
        Required. The Job to be created.
        This corresponds to the ``job`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.

    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (float): The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    ~.gct_job.Job:
        A Job resource represents a job posting (also referred
        to as a "job listing" or "job requisition"). A job
        belongs to a
        [Company][google.cloud.talent.v4beta1.Company], which is
        the hiring entity responsible for the job.
def create_job(self, request: job_service.CreateJobRequest=None, *, parent: str=None, job: gct_job.Job=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, str)]]=()) -> gct_job.Job:
    'Creates a new job.\n        Typically, the job becomes searchable within 10 seconds,\n        but it may take up to 5 minutes.\n\n        Args:\n            request (:class:`~.job_service.CreateJobRequest`):\n                The request object. Create job request.\n            parent (:class:`str`):\n                Required. The resource name of the tenant under which\n                the job is created.\n\n                The format is\n                "projects/{project_id}/tenants/{tenant_id}". For\n                example, "projects/foo/tenant/bar". If tenant id is\n                unspecified a default tenant is created. For example,\n                "projects/foo".\n                This corresponds to the ``parent`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n            job (:class:`~.gct_job.Job`):\n                Required. The Job to be created.\n                This corresponds to the ``job`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n\n            retry (google.api_core.retry.Retry): Designation of what errors, if any,\n                should be retried.\n            timeout (float): The timeout for this request.\n            metadata (Sequence[Tuple[str, str]]): Strings which should be\n                sent along with the request as metadata.\n\n        Returns:\n            ~.gct_job.Job:\n                A Job resource represents a job posting (also referred\n                to as a "job listing" or "job requisition"). A job\n                belongs to a\n                [Company][google.cloud.talent.v4beta1.Company], which is\n                the hiring entity responsible for the job.\n\n        '
    has_flattened_params = any([parent, job])
    if ((request is not None) and has_flattened_params):
        raise ValueError('If the `request` argument is set, then none of the individual field arguments should be set.')
    if (not isinstance(request, job_service.CreateJobRequest)):
        request = job_service.CreateJobRequest(request)
        if (parent is not None):
            request.parent = parent
        if (job is not None):
            request.job = job
    rpc = self._transport._wrapped_methods[self._transport.create_job]
    metadata = (tuple(metadata) + (gapic_v1.routing_header.to_grpc_metadata((('parent', request.parent),)),))
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata)
    return response