diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java index fa15c964..364f4f4e 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java @@ -46,6 +46,14 @@ *
This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * Job job = Job.newBuilder().build();
+ * Job response = transcoderServiceClient.createJob(parent, job);
+ * }
+ * }
+ *
* Note: close() needs to be called on the TranscoderServiceClient object to clean up resources * such as threads. In the example above, try-with-resources is used, which automatically calls * close(). @@ -153,6 +161,16 @@ public TranscoderServiceStub getStub() { /** * Creates a job in the specified region. * + *
Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * Job job = Job.newBuilder().build();
+ * Job response = transcoderServiceClient.createJob(parent, job);
+ * }
+ * }
+ *
* @param parent Required. The parent location to create and process this job. Format:
* `projects/{project}/locations/{location}`
* @param job Required. Parameters for creating transcoding job.
@@ -171,6 +189,16 @@ public final Job createJob(LocationName parent, Job job) {
/**
* Creates a job in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * Job job = Job.newBuilder().build();
+ * Job response = transcoderServiceClient.createJob(parent, job);
+ * }
+ * }
+ *
* @param parent Required. The parent location to create and process this job. Format:
* `projects/{project}/locations/{location}`
* @param job Required. Parameters for creating transcoding job.
@@ -185,6 +213,19 @@ public final Job createJob(String parent, Job job) {
/**
* Creates a job in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * CreateJobRequest request =
+ * CreateJobRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setJob(Job.newBuilder().build())
+ * .build();
+ * Job response = transcoderServiceClient.createJob(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -197,6 +238,19 @@ public final Job createJob(CreateJobRequest request) {
* Creates a job in the specified region.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * CreateJobRequest request =
+ * CreateJobRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setJob(Job.newBuilder().build())
+ * .build();
+ * ApiFuture future = transcoderServiceClient.createJobCallable().futureCall(request);
+ * // Do something.
+ * Job response = future.get();
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (Job element : transcoderServiceClient.listJobs(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param parent Required. Format: `projects/{project}/locations/{location}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -219,6 +284,17 @@ public final ListJobsPagedResponse listJobs(LocationName parent) {
/**
* Lists jobs in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (Job element : transcoderServiceClient.listJobs(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param parent Required. Format: `projects/{project}/locations/{location}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -231,6 +307,22 @@ public final ListJobsPagedResponse listJobs(String parent) {
/**
* Lists jobs in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * ListJobsRequest request =
+ * ListJobsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Job element : transcoderServiceClient.listJobs(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -243,6 +335,22 @@ public final ListJobsPagedResponse listJobs(ListJobsRequest request) {
* Lists jobs in the specified region.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * ListJobsRequest request =
+ * ListJobsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future = transcoderServiceClient.listJobsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Job element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * while (true) {
+ * ListJobsResponse response = transcoderServiceClient.listJobsCallable().call(request);
+ * for (Job element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+ * Job response = transcoderServiceClient.getJob(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job to retrieve. Format:
* `projects/{project}/locations/{location}/jobs/{job}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -276,6 +410,15 @@ public final Job getJob(JobName name) {
/**
* Returns the job data.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString();
+ * Job response = transcoderServiceClient.getJob(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job to retrieve. Format:
* `projects/{project}/locations/{location}/jobs/{job}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -289,6 +432,18 @@ public final Job getJob(String name) {
/**
* Returns the job data.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * GetJobRequest request =
+ * GetJobRequest.newBuilder()
+ * .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+ * .build();
+ * Job response = transcoderServiceClient.getJob(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -301,6 +456,18 @@ public final Job getJob(GetJobRequest request) {
* Returns the job data.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * GetJobRequest request =
+ * GetJobRequest.newBuilder()
+ * .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+ * .build();
+ * ApiFuture future = transcoderServiceClient.getJobCallable().futureCall(request);
+ * // Do something.
+ * Job response = future.get();
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+ * transcoderServiceClient.deleteJob(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job to delete. Format:
* `projects/{project}/locations/{location}/jobs/{job}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -324,6 +500,15 @@ public final void deleteJob(JobName name) {
/**
* Deletes a job.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString();
+ * transcoderServiceClient.deleteJob(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job to delete. Format:
* `projects/{project}/locations/{location}/jobs/{job}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -337,6 +522,18 @@ public final void deleteJob(String name) {
/**
* Deletes a job.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * DeleteJobRequest request =
+ * DeleteJobRequest.newBuilder()
+ * .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+ * .build();
+ * transcoderServiceClient.deleteJob(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -349,6 +546,18 @@ public final void deleteJob(DeleteJobRequest request) {
* Deletes a job.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * DeleteJobRequest request =
+ * DeleteJobRequest.newBuilder()
+ * .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+ * .build();
+ * ApiFuture future = transcoderServiceClient.deleteJobCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * JobTemplate jobTemplate = JobTemplate.newBuilder().build();
+ * String jobTemplateId = "jobTemplateId-597733678";
+ * JobTemplate response =
+ * transcoderServiceClient.createJobTemplate(parent, jobTemplate, jobTemplateId);
+ * }
+ * }
+ *
* @param parent Required. The parent location to create this job template. Format:
* `projects/{project}/locations/{location}`
* @param jobTemplate Required. Parameters for creating job template.
@@ -382,6 +603,18 @@ public final JobTemplate createJobTemplate(
/**
* Creates a job template in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * JobTemplate jobTemplate = JobTemplate.newBuilder().build();
+ * String jobTemplateId = "jobTemplateId-597733678";
+ * JobTemplate response =
+ * transcoderServiceClient.createJobTemplate(parent, jobTemplate, jobTemplateId);
+ * }
+ * }
+ *
* @param parent Required. The parent location to create this job template. Format:
* `projects/{project}/locations/{location}`
* @param jobTemplate Required. Parameters for creating job template.
@@ -406,6 +639,20 @@ public final JobTemplate createJobTemplate(
/**
* Creates a job template in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * CreateJobTemplateRequest request =
+ * CreateJobTemplateRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setJobTemplate(JobTemplate.newBuilder().build())
+ * .setJobTemplateId("jobTemplateId-597733678")
+ * .build();
+ * JobTemplate response = transcoderServiceClient.createJobTemplate(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -418,6 +665,21 @@ public final JobTemplate createJobTemplate(CreateJobTemplateRequest request) {
* Creates a job template in the specified region.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * CreateJobTemplateRequest request =
+ * CreateJobTemplateRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setJobTemplate(JobTemplate.newBuilder().build())
+ * .setJobTemplateId("jobTemplateId-597733678")
+ * .build();
+ * ApiFuture future =
+ * transcoderServiceClient.createJobTemplateCallable().futureCall(request);
+ * // Do something.
+ * JobTemplate response = future.get();
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (JobTemplate element : transcoderServiceClient.listJobTemplates(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param parent Required. The parent location from which to retrieve the collection of job
* templates. Format: `projects/{project}/locations/{location}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -443,6 +716,17 @@ public final ListJobTemplatesPagedResponse listJobTemplates(LocationName parent)
/**
* Lists job templates in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (JobTemplate element : transcoderServiceClient.listJobTemplates(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param parent Required. The parent location from which to retrieve the collection of job
* templates. Format: `projects/{project}/locations/{location}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -457,6 +741,22 @@ public final ListJobTemplatesPagedResponse listJobTemplates(String parent) {
/**
* Lists job templates in the specified region.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * ListJobTemplatesRequest request =
+ * ListJobTemplatesRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (JobTemplate element : transcoderServiceClient.listJobTemplates(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -469,6 +769,23 @@ public final ListJobTemplatesPagedResponse listJobTemplates(ListJobTemplatesRequ
* Lists job templates in the specified region.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * ListJobTemplatesRequest request =
+ * ListJobTemplatesRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * transcoderServiceClient.listJobTemplatesPagedCallable().futureCall(request);
+ * // Do something.
+ * for (JobTemplate element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * while (true) {
+ * ListJobTemplatesResponse response =
+ * transcoderServiceClient.listJobTemplatesCallable().call(request);
+ * for (JobTemplate element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]");
+ * JobTemplate response = transcoderServiceClient.getJobTemplate(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job template to retrieve. Format:
* `projects/{project}/locations/{location}/jobTemplates/{job_template}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -504,6 +848,15 @@ public final JobTemplate getJobTemplate(JobTemplateName name) {
/**
* Returns the job template data.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString();
+ * JobTemplate response = transcoderServiceClient.getJobTemplate(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job template to retrieve. Format:
* `projects/{project}/locations/{location}/jobTemplates/{job_template}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -517,6 +870,18 @@ public final JobTemplate getJobTemplate(String name) {
/**
* Returns the job template data.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * GetJobTemplateRequest request =
+ * GetJobTemplateRequest.newBuilder()
+ * .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+ * .build();
+ * JobTemplate response = transcoderServiceClient.getJobTemplate(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -529,6 +894,19 @@ public final JobTemplate getJobTemplate(GetJobTemplateRequest request) {
* Returns the job template data.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * GetJobTemplateRequest request =
+ * GetJobTemplateRequest.newBuilder()
+ * .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+ * .build();
+ * ApiFuture future =
+ * transcoderServiceClient.getJobTemplateCallable().futureCall(request);
+ * // Do something.
+ * JobTemplate response = future.get();
+ * }
+ * }
*/
public final UnaryCallableSample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]");
+ * transcoderServiceClient.deleteJobTemplate(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job template to delete.
* `projects/{project}/locations/{location}/jobTemplates/{job_template}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -554,6 +941,15 @@ public final void deleteJobTemplate(JobTemplateName name) {
/**
* Deletes a job template.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * String name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString();
+ * transcoderServiceClient.deleteJobTemplate(name);
+ * }
+ * }
+ *
* @param name Required. The name of the job template to delete.
* `projects/{project}/locations/{location}/jobTemplates/{job_template}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -567,6 +963,18 @@ public final void deleteJobTemplate(String name) {
/**
* Deletes a job template.
*
+ * Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * DeleteJobTemplateRequest request =
+ * DeleteJobTemplateRequest.newBuilder()
+ * .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+ * .build();
+ * transcoderServiceClient.deleteJobTemplate(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -579,6 +987,19 @@ public final void deleteJobTemplate(DeleteJobTemplateRequest request) {
* Deletes a job template.
*
* Sample code: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * DeleteJobTemplateRequest request =
+ * DeleteJobTemplateRequest.newBuilder()
+ * .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+ * .build();
+ * ApiFuture future =
+ * transcoderServiceClient.deleteJobTemplateCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
*/
public final UnaryCallableSample for TranscoderServiceClient: + * + *
{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * Job job = Job.newBuilder().build();
+ * Job response = transcoderServiceClient.createJob(parent, job);
+ * }
+ * }
*/
@Generated("by gapic-generator-java")
package com.google.cloud.video.transcoder.v1beta1;
diff --git a/synth.metadata b/synth.metadata
index 6f023020..8ce2a6d4 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-video-transcoder.git",
- "sha": "0f63e6c8415ab8b5c45166f9818c38c3a20a084f"
+ "sha": "10f9faba4198e698f35ae9d6e0ef02f673037dce"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "91e206bcfeaf8948ea03fe3cb1b7616108496cd3",
- "internalRef": "350949863"
+ "sha": "8d8c008e56f1af31d57f75561e0f1848ffb29eeb",
+ "internalRef": "356341083"
}
},
{