diff --git a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/video/transcoder/v1beta1/BUILD.bazel index b5f04bf1..209fafc5 100644 --- a/google/cloud/video/transcoder/v1beta1/BUILD.bazel +++ b/google/cloud/video/transcoder/v1beta1/BUILD.bazel @@ -152,51 +152,19 @@ go_gapic_assembly_pkg( ############################################################################## # Python ############################################################################## +# This library is using Python microgenerator. +# DO NOT OVERRIDE this Python section with autogenerated rules. load( "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_grpc_library", - "py_proto_library", + py_gapic_assembly_pkg = "py_gapic_assembly_pkg2", + py_gapic_library = "py_gapic_library2", ) -moved_proto_library( - name = "transcoder_moved_proto", - srcs = [":transcoder_proto"], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - ], -) - -py_proto_library( - name = "transcoder_py_proto", - plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":transcoder_moved_proto"], -) - -py_grpc_library( - name = "transcoder_py_grpc", - srcs = [":transcoder_moved_proto"], - deps = [":transcoder_py_proto"], -) py_gapic_library( name = "transcoder_py_gapic", - src = ":transcoder_proto_with_info", - gapic_yaml = "transcoder_gapic.yaml", + srcs = [":transcoder_proto"], grpc_service_config = "transcoder_grpc_service_config.json", - package = "google.cloud.video.transcoder.v1beta1", - service_yaml = "transcoder_v1beta1.yaml", - deps = [ - ":transcoder_py_grpc", - ":transcoder_py_proto", - ], ) # Open Source Packages @@ -204,8 +172,6 @@ py_gapic_assembly_pkg( name = "video-transcoder-v1beta1-py", deps = [ ":transcoder_py_gapic", - ":transcoder_py_grpc", - ":transcoder_py_proto", ], ) diff --git a/google/cloud/video/transcoder/v1beta1/services.proto b/google/cloud/video/transcoder/v1beta1/services.proto index 70377689..07f5fab8 100644 --- a/google/cloud/video/transcoder/v1beta1/services.proto +++ b/google/cloud/video/transcoder/v1beta1/services.proto @@ -108,7 +108,7 @@ service TranscoderService { // Request message for `TranscoderService.CreateJob`. message CreateJobRequest { // Required. The parent location to create and process this job. - // Format: projects/{project}/locations/{location} + // Format: `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -123,7 +123,7 @@ message CreateJobRequest { // Request message for `TranscoderService.ListJobs`. // The parent location from which to retrieve the collection of jobs. message ListJobsRequest { - // Required. Format: projects/{project}/locations/{location} + // Required. Format: `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -142,7 +142,7 @@ message ListJobsRequest { // Request message for `TranscoderService.GetJob`. message GetJobRequest { // Required. The name of the job to retrieve. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: `projects/{project}/locations/{location}/jobs/{job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -154,7 +154,7 @@ message GetJobRequest { // Request message for `TranscoderService.DeleteJob`. message DeleteJobRequest { // Required. The name of the job to delete. - // Fromat: projects/{project}/locations/{location}/jobs/{job} + // Format: `projects/{project}/locations/{location}/jobs/{job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -175,7 +175,7 @@ message ListJobsResponse { // Request message for `TranscoderService.CreateJobTemplate`. message CreateJobTemplateRequest { // Required. The parent location to create this job template. - // Format: projects/{project}/locations/{location} + // Format: `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -190,14 +190,14 @@ message CreateJobTemplateRequest { // of the job template's resource name. // // This value should be 4-63 characters, and valid characters - // are /[a-zA-Z0-9_-_]/. + // are `/[a-zA-Z0-9_-_]/`. string job_template_id = 3 [(google.api.field_behavior) = REQUIRED]; } // Request message for `TranscoderService.ListJobTemplates`. message ListJobTemplatesRequest { // Required. The parent location from which to retrieve the collection of job templates. - // Format: projects/{project}/locations/{location} + // Format: `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -217,7 +217,7 @@ message ListJobTemplatesRequest { message GetJobTemplateRequest { // Required. The name of the job template to retrieve. // Format: - // projects/{project}/locations/{location}/jobTemplates/{job_template} + // `projects/{project}/locations/{location}/jobTemplates/{job_template}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -229,7 +229,7 @@ message GetJobTemplateRequest { // Request message for `TranscoderService.DeleteJobTemplate`. message DeleteJobTemplateRequest { // Required. The name of the job template to delete. - // projects/{project}/locations/{location}/jobTemplates/{job_template} + // `projects/{project}/locations/{location}/jobTemplates/{job_template}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = {