google-cloud-dataproc-v1 0.24.1 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataproc/v1/autoscaling_policies_pb.rb +1 -1
  4. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +13 -5
  5. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/rest/client.rb +13 -5
  6. data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +11 -4
  7. data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +13 -5
  8. data/lib/google/cloud/dataproc/v1/batch_controller/rest/client.rb +11 -4
  9. data/lib/google/cloud/dataproc/v1/batch_controller/rest/operations.rb +11 -4
  10. data/lib/google/cloud/dataproc/v1/batches_pb.rb +1 -1
  11. data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +19 -8
  12. data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +13 -5
  13. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/client.rb +19 -8
  14. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/operations.rb +11 -4
  15. data/lib/google/cloud/dataproc/v1/clusters_pb.rb +1 -1
  16. data/lib/google/cloud/dataproc/v1/job_controller/client.rb +17 -7
  17. data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +13 -5
  18. data/lib/google/cloud/dataproc/v1/job_controller/rest/client.rb +17 -7
  19. data/lib/google/cloud/dataproc/v1/job_controller/rest/operations.rb +11 -4
  20. data/lib/google/cloud/dataproc/v1/jobs_pb.rb +1 -1
  21. data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +9 -3
  22. data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +13 -5
  23. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/client.rb +9 -3
  24. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/operations.rb +11 -4
  25. data/lib/google/cloud/dataproc/v1/node_groups_pb.rb +1 -1
  26. data/lib/google/cloud/dataproc/v1/operations_pb.rb +1 -1
  27. data/lib/google/cloud/dataproc/v1/session_controller/client.rb +13 -5
  28. data/lib/google/cloud/dataproc/v1/session_controller/operations.rb +13 -5
  29. data/lib/google/cloud/dataproc/v1/session_controller/rest/client.rb +13 -5
  30. data/lib/google/cloud/dataproc/v1/session_controller/rest/operations.rb +11 -4
  31. data/lib/google/cloud/dataproc/v1/session_template_controller/client.rb +13 -5
  32. data/lib/google/cloud/dataproc/v1/session_template_controller/rest/client.rb +13 -5
  33. data/lib/google/cloud/dataproc/v1/session_templates_pb.rb +1 -1
  34. data/lib/google/cloud/dataproc/v1/sessions_pb.rb +1 -1
  35. data/lib/google/cloud/dataproc/v1/shared_pb.rb +3 -1
  36. data/lib/google/cloud/dataproc/v1/version.rb +1 -1
  37. data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +17 -7
  38. data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +13 -5
  39. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/client.rb +17 -7
  40. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/operations.rb +11 -4
  41. data/lib/google/cloud/dataproc/v1/workflow_templates_pb.rb +1 -1
  42. data/proto_docs/google/api/client.rb +4 -0
  43. data/proto_docs/google/cloud/dataproc/v1/shared.rb +32 -0
  44. metadata +4 -116
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n)google/cloud/dataproc/v1/operations.proto\x12\x18google.cloud.dataproc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe3\x03\n\x16\x42\x61tchOperationMetadata\x12\r\n\x05\x62\x61tch\x18\x01 \x01(\t\x12\x12\n\nbatch_uuid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tdone_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x0eoperation_type\x18\x06 \x01(\x0e\x32\x43.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12L\n\x06labels\x18\x08 \x03(\x0b\x32<.google.cloud.dataproc.v1.BatchOperationMetadata.LabelsEntry\x12\x10\n\x08warnings\x18\t \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41TCH\x10\x01\"\x8f\x04\n\x18SessionOperationMetadata\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x14\n\x0csession_uuid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tdone_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12_\n\x0eoperation_type\x18\x06 \x01(\x0e\x32G.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12N\n\x06labels\x18\x08 \x03(\x0b\x32>.google.cloud.dataproc.v1.SessionOperationMetadata.LabelsEntry\x12\x10\n\x08warnings\x18\t \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"e\n\x14SessionOperationType\x12&\n\"SESSION_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\r\n\tTERMINATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\"\x8d\x02\n\x16\x43lusterOperationStatus\x12K\n\x05state\x18\x01 \x01(\x0e\x32\x36.google.cloud.dataproc.v1.ClusterOperationStatus.StateB\x04\xe2\x41\x01\x03\x12\x19\n\x0binner_state\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x64\x65tails\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12:\n\x10state_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"8\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\"\xe3\x03\n\x18\x43lusterOperationMetadata\x12\x1a\n\x0c\x63luster_name\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x63luster_uuid\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x12\x46\n\x06status\x18\t \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x04\xe2\x41\x01\x03\x12N\n\x0estatus_history\x18\n \x03(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x04\xe2\x41\x01\x03\x12\x1c\n\x0eoperation_type\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12T\n\x06labels\x18\r \x03(\x0b\x32>.google.cloud.dataproc.v1.ClusterOperationMetadata.LabelsEntryB\x04\xe2\x41\x01\x03\x12\x16\n\x08warnings\x18\x0e \x03(\tB\x04\xe2\x41\x01\x03\x12!\n\x13\x63hild_operation_ids\x18\x0f \x03(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x05\n\x1aNodeGroupOperationMetadata\x12\x1b\n\rnode_group_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x63luster_uuid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x46\n\x06status\x18\x03 \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x04\xe2\x41\x01\x03\x12N\n\x0estatus_history\x18\x04 \x03(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x04\xe2\x41\x01\x03\x12\x63\n\x0eoperation_type\x18\x05 \x01(\x0e\x32K.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType\x12\x19\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12V\n\x06labels\x18\x07 \x03(\x0b\x32@.google.cloud.dataproc.v1.NodeGroupOperationMetadata.LabelsEntryB\x04\xe2\x41\x01\x03\x12\x16\n\x08warnings\x18\x08 \x03(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"s\n\x16NodeGroupOperationType\x12)\n%NODE_GROUP_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\n\n\x06RESIZE\x10\x04\x42n\n\x1c\x63om.google.cloud.dataproc.v1B\x0fOperationsProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
11
+ descriptor_data = "\n)google/cloud/dataproc/v1/operations.proto\x12\x18google.cloud.dataproc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe3\x03\n\x16\x42\x61tchOperationMetadata\x12\r\n\x05\x62\x61tch\x18\x01 \x01(\t\x12\x12\n\nbatch_uuid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tdone_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x0eoperation_type\x18\x06 \x01(\x0e\x32\x43.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12L\n\x06labels\x18\x08 \x03(\x0b\x32<.google.cloud.dataproc.v1.BatchOperationMetadata.LabelsEntry\x12\x10\n\x08warnings\x18\t \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41TCH\x10\x01\"\x8f\x04\n\x18SessionOperationMetadata\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x14\n\x0csession_uuid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tdone_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12_\n\x0eoperation_type\x18\x06 \x01(\x0e\x32G.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12N\n\x06labels\x18\x08 \x03(\x0b\x32>.google.cloud.dataproc.v1.SessionOperationMetadata.LabelsEntry\x12\x10\n\x08warnings\x18\t \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"e\n\x14SessionOperationType\x12&\n\"SESSION_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\r\n\tTERMINATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\"\x89\x02\n\x16\x43lusterOperationStatus\x12J\n\x05state\x18\x01 \x01(\x0e\x32\x36.google.cloud.dataproc.v1.ClusterOperationStatus.StateB\x03\xe0\x41\x03\x12\x18\n\x0binner_state\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x10state_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"8\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\"\xda\x03\n\x18\x43lusterOperationMetadata\x12\x19\n\x0c\x63luster_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_uuid\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x06status\x18\t \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12M\n\x0estatus_history\x18\n \x03(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12\x1b\n\x0eoperation_type\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12S\n\x06labels\x18\r \x03(\x0b\x32>.google.cloud.dataproc.v1.ClusterOperationMetadata.LabelsEntryB\x03\xe0\x41\x03\x12\x15\n\x08warnings\x18\x0e \x03(\tB\x03\xe0\x41\x03\x12 \n\x13\x63hild_operation_ids\x18\x0f \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfa\x04\n\x1aNodeGroupOperationMetadata\x12\x1a\n\rnode_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_uuid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x06status\x18\x03 \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12M\n\x0estatus_history\x18\x04 \x03(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12\x63\n\x0eoperation_type\x18\x05 \x01(\x0e\x32K.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12U\n\x06labels\x18\x07 \x03(\x0b\x32@.google.cloud.dataproc.v1.NodeGroupOperationMetadata.LabelsEntryB\x03\xe0\x41\x03\x12\x15\n\x08warnings\x18\x08 \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"s\n\x16NodeGroupOperationType\x12)\n%NODE_GROUP_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\n\n\x06RESIZE\x10\x04\x42n\n\x1c\x63om.google.cloud.dataproc.v1B\x0fOperationsProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -31,6 +31,9 @@ module Google
31
31
  # The `SessionController` provides methods to manage interactive sessions.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
36
39
 
@@ -272,10 +275,11 @@ module Google
272
275
  # Customize the options with defaults
273
276
  metadata = @config.rpcs.create_session.metadata.to_h
274
277
 
275
- # Set x-goog-api-client and x-goog-user-project headers
278
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
276
279
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
277
280
  lib_name: @config.lib_name, lib_version: @config.lib_version,
278
281
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
282
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
279
283
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
280
284
 
281
285
  header_params = {}
@@ -358,10 +362,11 @@ module Google
358
362
  # Customize the options with defaults
359
363
  metadata = @config.rpcs.get_session.metadata.to_h
360
364
 
361
- # Set x-goog-api-client and x-goog-user-project headers
365
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
362
366
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
363
367
  lib_name: @config.lib_name, lib_version: @config.lib_version,
364
368
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
369
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
365
370
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
366
371
 
367
372
  header_params = {}
@@ -468,10 +473,11 @@ module Google
468
473
  # Customize the options with defaults
469
474
  metadata = @config.rpcs.list_sessions.metadata.to_h
470
475
 
471
- # Set x-goog-api-client and x-goog-user-project headers
476
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
472
477
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
473
478
  lib_name: @config.lib_name, lib_version: @config.lib_version,
474
479
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
480
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
475
481
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
476
482
 
477
483
  header_params = {}
@@ -572,10 +578,11 @@ module Google
572
578
  # Customize the options with defaults
573
579
  metadata = @config.rpcs.terminate_session.metadata.to_h
574
580
 
575
- # Set x-goog-api-client and x-goog-user-project headers
581
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
576
582
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
577
583
  lib_name: @config.lib_name, lib_version: @config.lib_version,
578
584
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
585
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
579
586
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
580
587
 
581
588
  header_params = {}
@@ -677,10 +684,11 @@ module Google
677
684
  # Customize the options with defaults
678
685
  metadata = @config.rpcs.delete_session.metadata.to_h
679
686
 
680
- # Set x-goog-api-client and x-goog-user-project headers
687
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
681
688
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
682
689
  lib_name: @config.lib_name, lib_version: @config.lib_version,
683
690
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
691
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
684
692
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
685
693
 
686
694
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module SessionController
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -33,6 +33,9 @@ module Google
33
33
  # The `SessionController` provides methods to manage interactive sessions.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
38
41
 
@@ -265,12 +268,13 @@ module Google
265
268
  # Customize the options with defaults
266
269
  call_metadata = @config.rpcs.create_session.metadata.to_h
267
270
 
268
- # Set x-goog-api-client and x-goog-user-project headers
271
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
269
272
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
270
273
  lib_name: @config.lib_name, lib_version: @config.lib_version,
271
274
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
272
275
  transports_version_send: [:rest]
273
276
 
277
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
274
278
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
275
279
 
276
280
  options.apply_defaults timeout: @config.rpcs.create_session.timeout,
@@ -344,12 +348,13 @@ module Google
344
348
  # Customize the options with defaults
345
349
  call_metadata = @config.rpcs.get_session.metadata.to_h
346
350
 
347
- # Set x-goog-api-client and x-goog-user-project headers
351
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
348
352
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
349
353
  lib_name: @config.lib_name, lib_version: @config.lib_version,
350
354
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
351
355
  transports_version_send: [:rest]
352
356
 
357
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
353
358
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
354
359
 
355
360
  options.apply_defaults timeout: @config.rpcs.get_session.timeout,
@@ -447,12 +452,13 @@ module Google
447
452
  # Customize the options with defaults
448
453
  call_metadata = @config.rpcs.list_sessions.metadata.to_h
449
454
 
450
- # Set x-goog-api-client and x-goog-user-project headers
455
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
451
456
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
452
457
  lib_name: @config.lib_name, lib_version: @config.lib_version,
453
458
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
454
459
  transports_version_send: [:rest]
455
460
 
461
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
456
462
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
457
463
 
458
464
  options.apply_defaults timeout: @config.rpcs.list_sessions.timeout,
@@ -544,12 +550,13 @@ module Google
544
550
  # Customize the options with defaults
545
551
  call_metadata = @config.rpcs.terminate_session.metadata.to_h
546
552
 
547
- # Set x-goog-api-client and x-goog-user-project headers
553
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
548
554
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
549
555
  lib_name: @config.lib_name, lib_version: @config.lib_version,
550
556
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
551
557
  transports_version_send: [:rest]
552
558
 
559
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
553
560
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
554
561
 
555
562
  options.apply_defaults timeout: @config.rpcs.terminate_session.timeout,
@@ -642,12 +649,13 @@ module Google
642
649
  # Customize the options with defaults
643
650
  call_metadata = @config.rpcs.delete_session.metadata.to_h
644
651
 
645
- # Set x-goog-api-client and x-goog-user-project headers
652
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
646
653
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
647
654
  lib_name: @config.lib_name, lib_version: @config.lib_version,
648
655
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
649
656
  transports_version_send: [:rest]
650
657
 
658
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
651
659
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
652
660
 
653
661
  options.apply_defaults timeout: @config.rpcs.delete_session.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -31,6 +31,9 @@ module Google
31
31
  # The SessionTemplateController provides methods to manage session templates.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
36
39
 
@@ -232,10 +235,11 @@ module Google
232
235
  # Customize the options with defaults
233
236
  metadata = @config.rpcs.create_session_template.metadata.to_h
234
237
 
235
- # Set x-goog-api-client and x-goog-user-project headers
238
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
236
239
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
237
240
  lib_name: @config.lib_name, lib_version: @config.lib_version,
238
241
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
242
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
239
243
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
240
244
 
241
245
  header_params = {}
@@ -317,10 +321,11 @@ module Google
317
321
  # Customize the options with defaults
318
322
  metadata = @config.rpcs.update_session_template.metadata.to_h
319
323
 
320
- # Set x-goog-api-client and x-goog-user-project headers
324
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
321
325
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
322
326
  lib_name: @config.lib_name, lib_version: @config.lib_version,
323
327
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
328
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
324
329
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
325
330
 
326
331
  header_params = {}
@@ -402,10 +407,11 @@ module Google
402
407
  # Customize the options with defaults
403
408
  metadata = @config.rpcs.get_session_template.metadata.to_h
404
409
 
405
- # Set x-goog-api-client and x-goog-user-project headers
410
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
406
411
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
407
412
  lib_name: @config.lib_name, lib_version: @config.lib_version,
408
413
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
414
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
409
415
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
410
416
 
411
417
  header_params = {}
@@ -502,10 +508,11 @@ module Google
502
508
  # Customize the options with defaults
503
509
  metadata = @config.rpcs.list_session_templates.metadata.to_h
504
510
 
505
- # Set x-goog-api-client and x-goog-user-project headers
511
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
506
512
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
507
513
  lib_name: @config.lib_name, lib_version: @config.lib_version,
508
514
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
515
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
509
516
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
510
517
 
511
518
  header_params = {}
@@ -588,10 +595,11 @@ module Google
588
595
  # Customize the options with defaults
589
596
  metadata = @config.rpcs.delete_session_template.metadata.to_h
590
597
 
591
- # Set x-goog-api-client and x-goog-user-project headers
598
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
592
599
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
593
600
  lib_name: @config.lib_name, lib_version: @config.lib_version,
594
601
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
602
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
595
603
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
596
604
 
597
605
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # The SessionTemplateController provides methods to manage session templates.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
38
41
 
@@ -225,12 +228,13 @@ module Google
225
228
  # Customize the options with defaults
226
229
  call_metadata = @config.rpcs.create_session_template.metadata.to_h
227
230
 
228
- # Set x-goog-api-client and x-goog-user-project headers
231
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
229
232
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
230
233
  lib_name: @config.lib_name, lib_version: @config.lib_version,
231
234
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
232
235
  transports_version_send: [:rest]
233
236
 
237
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
234
238
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
235
239
 
236
240
  options.apply_defaults timeout: @config.rpcs.create_session_template.timeout,
@@ -303,12 +307,13 @@ module Google
303
307
  # Customize the options with defaults
304
308
  call_metadata = @config.rpcs.update_session_template.metadata.to_h
305
309
 
306
- # Set x-goog-api-client and x-goog-user-project headers
310
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
307
311
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
308
312
  lib_name: @config.lib_name, lib_version: @config.lib_version,
309
313
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
310
314
  transports_version_send: [:rest]
311
315
 
316
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
312
317
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
313
318
 
314
319
  options.apply_defaults timeout: @config.rpcs.update_session_template.timeout,
@@ -381,12 +386,13 @@ module Google
381
386
  # Customize the options with defaults
382
387
  call_metadata = @config.rpcs.get_session_template.metadata.to_h
383
388
 
384
- # Set x-goog-api-client and x-goog-user-project headers
389
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
385
390
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
386
391
  lib_name: @config.lib_name, lib_version: @config.lib_version,
387
392
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
388
393
  transports_version_send: [:rest]
389
394
 
395
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
390
396
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
391
397
 
392
398
  options.apply_defaults timeout: @config.rpcs.get_session_template.timeout,
@@ -474,12 +480,13 @@ module Google
474
480
  # Customize the options with defaults
475
481
  call_metadata = @config.rpcs.list_session_templates.metadata.to_h
476
482
 
477
- # Set x-goog-api-client and x-goog-user-project headers
483
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
478
484
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
479
485
  lib_name: @config.lib_name, lib_version: @config.lib_version,
480
486
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
481
487
  transports_version_send: [:rest]
482
488
 
489
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
483
490
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
484
491
 
485
492
  options.apply_defaults timeout: @config.rpcs.list_session_templates.timeout,
@@ -553,12 +560,13 @@ module Google
553
560
  # Customize the options with defaults
554
561
  call_metadata = @config.rpcs.delete_session_template.metadata.to_h
555
562
 
556
- # Set x-goog-api-client and x-goog-user-project headers
563
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
557
564
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
558
565
  lib_name: @config.lib_name, lib_version: @config.lib_version,
559
566
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
560
567
  transports_version_send: [:rest]
561
568
 
569
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
562
570
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
563
571
 
564
572
  options.apply_defaults timeout: @config.rpcs.delete_session_template.timeout,
@@ -14,7 +14,7 @@ require 'google/protobuf/empty_pb'
14
14
  require 'google/protobuf/timestamp_pb'
15
15
 
16
16
 
17
- descriptor_data = "\n0google/cloud/dataproc/v1/session_templates.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/dataproc/v1/sessions.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x01\n\x1c\x43reateSessionTemplateRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\x12\'dataproc.googleapis.com/SessionTemplate\x12I\n\x10session_template\x18\x03 \x01(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x04\xe2\x41\x01\x02\"i\n\x1cUpdateSessionTemplateRequest\x12I\n\x10session_template\x18\x01 \x01(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x04\xe2\x41\x01\x02\"[\n\x19GetSessionTemplateRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\"\xa8\x01\n\x1bListSessionTemplatesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\x12\'dataproc.googleapis.com/SessionTemplate\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\x83\x01\n\x1cListSessionTemplatesResponse\x12J\n\x11session_templates\x18\x01 \x03(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x04\xe2\x41\x01\x03\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x1c\x44\x65leteSessionTemplateRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\"\xba\x05\n\x0fSessionTemplate\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64\x65scription\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12H\n\x0fjupyter_session\x18\x03 \x01(\x0b\x32\'.google.cloud.dataproc.v1.JupyterConfigB\x04\xe2\x41\x01\x01H\x00\x12\x15\n\x07\x63reator\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12K\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.cloud.dataproc.v1.SessionTemplate.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x45\n\x0eruntime_config\x18\x07 \x01(\x0b\x32\'.google.cloud.dataproc.v1.RuntimeConfigB\x04\xe2\x41\x01\x01\x12M\n\x12\x65nvironment_config\x18\x08 \x01(\x0b\x32+.google.cloud.dataproc.v1.EnvironmentConfigB\x04\xe2\x41\x01\x01\x12\x35\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x12\n\x04uuid\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:q\xea\x41n\n\'dataproc.googleapis.com/SessionTemplate\x12\x43projects/{project}/locations/{location}/sessionTemplates/{template}B\x10\n\x0esession_config2\xfa\x08\n\x19SessionTemplateController\x12\xe4\x01\n\x15\x43reateSessionTemplate\x12\x36.google.cloud.dataproc.v1.CreateSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"h\xda\x41\x17parent,session_template\x82\xd3\xe4\x93\x02H\"4/v1/{parent=projects/*/locations/*}/sessionTemplates:\x10session_template\x12\xee\x01\n\x15UpdateSessionTemplate\x12\x36.google.cloud.dataproc.v1.UpdateSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"r\xda\x41\x10session_template\x82\xd3\xe4\x93\x02Y2E/v1/{session_template.name=projects/*/locations/*/sessionTemplates/*}:\x10session_template\x12\xb9\x01\n\x12GetSessionTemplate\x12\x33.google.cloud.dataproc.v1.GetSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/sessionTemplates/*}\x12\xcc\x01\n\x14ListSessionTemplates\x12\x35.google.cloud.dataproc.v1.ListSessionTemplatesRequest\x1a\x36.google.cloud.dataproc.v1.ListSessionTemplatesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/sessionTemplates\x12\xac\x01\n\x15\x44\x65leteSessionTemplate\x12\x36.google.cloud.dataproc.v1.DeleteSessionTemplateRequest\x1a\x16.google.protobuf.Empty\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/sessionTemplates/*}\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBt\n\x1c\x63om.google.cloud.dataproc.v1B\x15SessionTemplatesProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
17
+ descriptor_data = "\n0google/cloud/dataproc/v1/session_templates.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/dataproc/v1/sessions.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x01\n\x1c\x43reateSessionTemplateRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dataproc.googleapis.com/SessionTemplate\x12H\n\x10session_template\x18\x03 \x01(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x03\xe0\x41\x02\"h\n\x1cUpdateSessionTemplateRequest\x12H\n\x10session_template\x18\x01 \x01(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x03\xe0\x41\x02\"Z\n\x19GetSessionTemplateRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\"\xa4\x01\n\x1bListSessionTemplatesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dataproc.googleapis.com/SessionTemplate\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x1cListSessionTemplatesResponse\x12I\n\x11session_templates\x18\x01 \x03(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x03\xe0\x41\x03\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x1c\x44\x65leteSessionTemplateRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\"\xb0\x05\n\x0fSessionTemplate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x0fjupyter_session\x18\x03 \x01(\x0b\x32\'.google.cloud.dataproc.v1.JupyterConfigB\x03\xe0\x41\x01H\x00\x12\x14\n\x07\x63reator\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12J\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.cloud.dataproc.v1.SessionTemplate.LabelsEntryB\x03\xe0\x41\x01\x12\x44\n\x0eruntime_config\x18\x07 \x01(\x0b\x32\'.google.cloud.dataproc.v1.RuntimeConfigB\x03\xe0\x41\x01\x12L\n\x12\x65nvironment_config\x18\x08 \x01(\x0b\x32+.google.cloud.dataproc.v1.EnvironmentConfigB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04uuid\x18\x0c \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:q\xea\x41n\n\'dataproc.googleapis.com/SessionTemplate\x12\x43projects/{project}/locations/{location}/sessionTemplates/{template}B\x10\n\x0esession_config2\xfa\x08\n\x19SessionTemplateController\x12\xe4\x01\n\x15\x43reateSessionTemplate\x12\x36.google.cloud.dataproc.v1.CreateSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"h\xda\x41\x17parent,session_template\x82\xd3\xe4\x93\x02H\"4/v1/{parent=projects/*/locations/*}/sessionTemplates:\x10session_template\x12\xee\x01\n\x15UpdateSessionTemplate\x12\x36.google.cloud.dataproc.v1.UpdateSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"r\xda\x41\x10session_template\x82\xd3\xe4\x93\x02Y2E/v1/{session_template.name=projects/*/locations/*/sessionTemplates/*}:\x10session_template\x12\xb9\x01\n\x12GetSessionTemplate\x12\x33.google.cloud.dataproc.v1.GetSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/sessionTemplates/*}\x12\xcc\x01\n\x14ListSessionTemplates\x12\x35.google.cloud.dataproc.v1.ListSessionTemplatesRequest\x1a\x36.google.cloud.dataproc.v1.ListSessionTemplatesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/sessionTemplates\x12\xac\x01\n\x15\x44\x65leteSessionTemplate\x12\x36.google.cloud.dataproc.v1.DeleteSessionTemplateRequest\x1a\x16.google.protobuf.Empty\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/sessionTemplates/*}\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBt\n\x1c\x63om.google.cloud.dataproc.v1B\x15SessionTemplatesProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
@@ -13,7 +13,7 @@ require 'google/longrunning/operations_pb'
13
13
  require 'google/protobuf/timestamp_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n\'google/cloud/dataproc/v1/sessions.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbe\x01\n\x14\x43reateSessionRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x64\x61taproc.googleapis.com/Session\x12\x38\n\x07session\x18\x02 \x01(\x0b\x32!.google.cloud.dataproc.v1.SessionB\x04\xe2\x41\x01\x02\x12\x18\n\nsession_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"K\n\x11GetSessionRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x64\x61taproc.googleapis.com/Session\"\x98\x01\n\x13ListSessionsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x64\x61taproc.googleapis.com/Session\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"j\n\x14ListSessionsResponse\x12\x39\n\x08sessions\x18\x01 \x03(\x0b\x32!.google.cloud.dataproc.v1.SessionB\x04\xe2\x41\x01\x03\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"k\n\x17TerminateSessionRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x64\x61taproc.googleapis.com/Session\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"h\n\x14\x44\x65leteSessionRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x64\x61taproc.googleapis.com/Session\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xe5\t\n\x07Session\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x12\n\x04uuid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12H\n\x0fjupyter_session\x18\x04 \x01(\x0b\x32\'.google.cloud.dataproc.v1.JupyterConfigB\x04\xe2\x41\x01\x01H\x00\x12\x41\n\x0cruntime_info\x18\x06 \x01(\x0b\x32%.google.cloud.dataproc.v1.RuntimeInfoB\x04\xe2\x41\x01\x03\x12<\n\x05state\x18\x07 \x01(\x0e\x32\'.google.cloud.dataproc.v1.Session.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_message\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x12\x34\n\nstate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63reator\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x43\n\x06labels\x18\x0b \x03(\x0b\x32-.google.cloud.dataproc.v1.Session.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x45\n\x0eruntime_config\x18\x0c \x01(\x0b\x32\'.google.cloud.dataproc.v1.RuntimeConfigB\x04\xe2\x41\x01\x01\x12M\n\x12\x65nvironment_config\x18\r \x01(\x0b\x32+.google.cloud.dataproc.v1.EnvironmentConfigB\x04\xe2\x41\x01\x01\x12\x12\n\x04user\x18\x0e \x01(\tB\x04\xe2\x41\x01\x01\x12R\n\rstate_history\x18\x0f \x03(\x0b\x32\x35.google.cloud.dataproc.v1.Session.SessionStateHistoryB\x04\xe2\x41\x01\x03\x12J\n\x10session_template\x18\x10 \x01(\tB0\xe2\x41\x01\x01\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\x1a\xac\x01\n\x13SessionStateHistory\x12<\n\x05state\x18\x01 \x01(\x0e\x32\'.google.cloud.dataproc.v1.Session.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_message\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12:\n\x10state_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"e\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0f\n\x0bTERMINATING\x10\x03\x12\x0e\n\nTERMINATED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05:`\xea\x41]\n\x1f\x64\x61taproc.googleapis.com/Session\x12:projects/{project}/locations/{location}/sessions/{session}B\x10\n\x0esession_config\"\xaa\x01\n\rJupyterConfig\x12\x44\n\x06kernel\x18\x01 \x01(\x0e\x32..google.cloud.dataproc.v1.JupyterConfig.KernelB\x04\xe2\x41\x01\x01\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"7\n\x06Kernel\x12\x16\n\x12KERNEL_UNSPECIFIED\x10\x00\x12\n\n\x06PYTHON\x10\x01\x12\t\n\x05SCALA\x10\x02\x32\xf5\x08\n\x11SessionController\x12\xf9\x01\n\rCreateSession\x12..google.cloud.dataproc.v1.CreateSessionRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41<\n\x07Session\x12\x31google.cloud.dataproc.v1.SessionOperationMetadata\xda\x41\x19parent,session,session_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/sessions:\x07session\x12\x99\x01\n\nGetSession\x12+.google.cloud.dataproc.v1.GetSessionRequest\x1a!.google.cloud.dataproc.v1.Session\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/sessions/*}\x12\xac\x01\n\x0cListSessions\x12-.google.cloud.dataproc.v1.ListSessionsRequest\x1a..google.cloud.dataproc.v1.ListSessionsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/sessions\x12\xee\x01\n\x10TerminateSession\x12\x31.google.cloud.dataproc.v1.TerminateSessionRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41<\n\x07Session\x12\x31google.cloud.dataproc.v1.SessionOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/sessions/*}:terminate:\x01*\x12\xda\x01\n\rDeleteSession\x12..google.cloud.dataproc.v1.DeleteSessionRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41<\n\x07Session\x12\x31google.cloud.dataproc.v1.SessionOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/sessions/*}\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBl\n\x1c\x63om.google.cloud.dataproc.v1B\rSessionsProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
16
+ descriptor_data = "\n\'google/cloud/dataproc/v1/sessions.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x01\n\x14\x43reateSessionRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64\x61taproc.googleapis.com/Session\x12\x37\n\x07session\x18\x02 \x01(\x0b\x32!.google.cloud.dataproc.v1.SessionB\x03\xe0\x41\x02\x12\x17\n\nsession_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"J\n\x11GetSessionRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64\x61taproc.googleapis.com/Session\"\x94\x01\n\x13ListSessionsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64\x61taproc.googleapis.com/Session\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"i\n\x14ListSessionsResponse\x12\x38\n\x08sessions\x18\x01 \x03(\x0b\x32!.google.cloud.dataproc.v1.SessionB\x03\xe0\x41\x03\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n\x17TerminateSessionRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64\x61taproc.googleapis.com/Session\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"f\n\x14\x44\x65leteSessionRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64\x61taproc.googleapis.com/Session\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xd3\t\n\x07Session\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04uuid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x0fjupyter_session\x18\x04 \x01(\x0b\x32\'.google.cloud.dataproc.v1.JupyterConfigB\x03\xe0\x41\x01H\x00\x12@\n\x0cruntime_info\x18\x06 \x01(\x0b\x32%.google.cloud.dataproc.v1.RuntimeInfoB\x03\xe0\x41\x03\x12;\n\x05state\x18\x07 \x01(\x0e\x32\'.google.cloud.dataproc.v1.Session.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07\x63reator\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x0b \x03(\x0b\x32-.google.cloud.dataproc.v1.Session.LabelsEntryB\x03\xe0\x41\x01\x12\x44\n\x0eruntime_config\x18\x0c \x01(\x0b\x32\'.google.cloud.dataproc.v1.RuntimeConfigB\x03\xe0\x41\x01\x12L\n\x12\x65nvironment_config\x18\r \x01(\x0b\x32+.google.cloud.dataproc.v1.EnvironmentConfigB\x03\xe0\x41\x01\x12\x11\n\x04user\x18\x0e \x01(\tB\x03\xe0\x41\x01\x12Q\n\rstate_history\x18\x0f \x03(\x0b\x32\x35.google.cloud.dataproc.v1.Session.SessionStateHistoryB\x03\xe0\x41\x03\x12I\n\x10session_template\x18\x10 \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\x1a\xa9\x01\n\x13SessionStateHistory\x12;\n\x05state\x18\x01 \x01(\x0e\x32\'.google.cloud.dataproc.v1.Session.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x10state_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"e\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0f\n\x0bTERMINATING\x10\x03\x12\x0e\n\nTERMINATED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05:`\xea\x41]\n\x1f\x64\x61taproc.googleapis.com/Session\x12:projects/{project}/locations/{location}/sessions/{session}B\x10\n\x0esession_config\"\xa8\x01\n\rJupyterConfig\x12\x43\n\x06kernel\x18\x01 \x01(\x0e\x32..google.cloud.dataproc.v1.JupyterConfig.KernelB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\"7\n\x06Kernel\x12\x16\n\x12KERNEL_UNSPECIFIED\x10\x00\x12\n\n\x06PYTHON\x10\x01\x12\t\n\x05SCALA\x10\x02\x32\xf5\x08\n\x11SessionController\x12\xf9\x01\n\rCreateSession\x12..google.cloud.dataproc.v1.CreateSessionRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41<\n\x07Session\x12\x31google.cloud.dataproc.v1.SessionOperationMetadata\xda\x41\x19parent,session,session_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/sessions:\x07session\x12\x99\x01\n\nGetSession\x12+.google.cloud.dataproc.v1.GetSessionRequest\x1a!.google.cloud.dataproc.v1.Session\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/sessions/*}\x12\xac\x01\n\x0cListSessions\x12-.google.cloud.dataproc.v1.ListSessionsRequest\x1a..google.cloud.dataproc.v1.ListSessionsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/sessions\x12\xee\x01\n\x10TerminateSession\x12\x31.google.cloud.dataproc.v1.TerminateSessionRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41<\n\x07Session\x12\x31google.cloud.dataproc.v1.SessionOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/sessions/*}:terminate:\x01*\x12\xda\x01\n\rDeleteSession\x12..google.cloud.dataproc.v1.DeleteSessionRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41<\n\x07Session\x12\x31google.cloud.dataproc.v1.SessionOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/sessions/*}\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBl\n\x1c\x63om.google.cloud.dataproc.v1B\rSessionsProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19