google-cloud-ai_platform-v1 1.8.0 → 1.10.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 (117) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +2 -2
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +2 -2
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +1 -1
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +1 -1
  6. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +2 -2
  7. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +2 -2
  8. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +1 -1
  9. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +1 -1
  10. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +2 -2
  11. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +2 -2
  12. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +1 -1
  13. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +1 -1
  14. data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +2 -2
  15. data/lib/google/cloud/ai_platform/v1/evaluation_service/rest/client.rb +1 -1
  16. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +2 -2
  17. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +2 -2
  18. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +1 -1
  19. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +1 -1
  20. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +2 -2
  21. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +1 -1
  22. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +2 -2
  23. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +2 -2
  24. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +1 -1
  25. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +1 -1
  26. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +2 -2
  27. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +1 -1
  28. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -2
  29. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +2 -2
  30. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +1 -1
  31. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +1 -1
  32. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +2 -2
  33. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest/client.rb +1 -1
  34. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +2 -2
  35. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +2 -2
  36. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +1 -1
  37. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +1 -1
  38. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +2 -2
  39. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +2 -2
  40. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +1 -1
  41. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +1 -1
  42. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +2 -2
  43. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +2 -2
  44. data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +1 -1
  45. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +1 -1
  46. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +2 -2
  47. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +2 -2
  48. data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +1 -1
  49. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +1 -1
  50. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +2 -2
  51. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +1 -1
  52. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +2 -2
  53. data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +1 -1
  54. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +2 -2
  55. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +2 -2
  56. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +1 -1
  57. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +1 -1
  58. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +2 -2
  59. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +2 -2
  60. data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +1 -1
  61. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +1 -1
  62. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +2 -2
  63. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +1 -1
  64. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +2 -2
  65. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +2 -2
  66. data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +1 -1
  67. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +1 -1
  68. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +2 -2
  69. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +2 -2
  70. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +1 -1
  71. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +1 -1
  72. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +2 -2
  73. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +2 -2
  74. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +1 -1
  75. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +1 -1
  76. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +2 -2
  77. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +2 -2
  78. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +1 -1
  79. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +1 -1
  80. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +2 -2
  81. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +1 -1
  82. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +2 -2
  83. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/client.rb +1 -1
  84. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +2 -2
  85. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +2 -2
  86. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/client.rb +1 -1
  87. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/operations.rb +1 -1
  88. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +2 -2
  89. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +2 -2
  90. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +1 -1
  91. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +1 -1
  92. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +2 -2
  93. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +2 -2
  94. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +1 -1
  95. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +1 -1
  96. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +2 -2
  97. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +2 -2
  98. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +1 -1
  99. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +1 -1
  100. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  101. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +2 -2
  102. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +2 -2
  103. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +1 -1
  104. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +1 -1
  105. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +2 -2
  106. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/client.rb +1 -1
  107. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +2 -2
  108. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +2 -2
  109. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +1 -1
  110. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +1 -1
  111. data/lib/google/cloud/aiplatform/v1/cached_content_pb.rb +3 -1
  112. data/lib/google/cloud/aiplatform/v1/content_pb.rb +2 -1
  113. data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +1 -1
  114. data/proto_docs/google/cloud/aiplatform/v1/cached_content.rb +9 -4
  115. data/proto_docs/google/cloud/aiplatform/v1/content.rb +16 -0
  116. data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +36 -0
  117. metadata +3 -3
@@ -571,7 +571,7 @@ module Google
571
571
 
572
572
  config_attr :endpoint, nil, ::String, nil
573
573
  config_attr :credentials, nil do |value|
574
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
574
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
575
575
  allowed.any? { |klass| klass === value }
576
576
  end
577
577
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1752,8 +1752,8 @@ module Google
1752
1752
 
1753
1753
  config_attr :endpoint, nil, ::String, nil
1754
1754
  config_attr :credentials, nil do |value|
1755
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1756
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1755
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1756
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1757
1757
  allowed.any? { |klass| klass === value }
1758
1758
  end
1759
1759
  config_attr :scope, nil, ::String, ::Array, nil
@@ -709,8 +709,8 @@ module Google
709
709
 
710
710
  config_attr :endpoint, nil, ::String, nil
711
711
  config_attr :credentials, nil do |value|
712
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
713
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
712
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
713
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
714
714
  allowed.any? { |klass| klass === value }
715
715
  end
716
716
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1633,7 +1633,7 @@ module Google
1633
1633
 
1634
1634
  config_attr :endpoint, nil, ::String, nil
1635
1635
  config_attr :credentials, nil do |value|
1636
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1636
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1637
1637
  allowed.any? { |klass| klass === value }
1638
1638
  end
1639
1639
  config_attr :scope, nil, ::String, ::Array, nil
@@ -655,7 +655,7 @@ module Google
655
655
 
656
656
  config_attr :endpoint, nil, ::String, nil
657
657
  config_attr :credentials, nil do |value|
658
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
658
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
659
659
  allowed.any? { |klass| klass === value }
660
660
  end
661
661
  config_attr :scope, nil, ::String, ::Array, nil
@@ -7,12 +7,13 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
  require 'google/cloud/aiplatform/v1/content_pb'
10
+ require 'google/cloud/aiplatform/v1/encryption_spec_pb'
10
11
  require 'google/cloud/aiplatform/v1/tool_pb'
11
12
  require 'google/protobuf/duration_pb'
12
13
  require 'google/protobuf/timestamp_pb'
13
14
 
14
15
 
15
- descriptor_data = "\n/google/cloud/aiplatform/v1/cached_content.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc9\x07\n\rCachedContent\x12\x31\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12-\n\x03ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x04H\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x05\x12\x1c\n\x0c\x64isplay_name\x18\x0b \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x12\n\x05model\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12J\n\x12system_instruction\x18\x03 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12@\n\x08\x63ontents\x18\x04 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12:\n\x05tools\x18\x05 \x03(\x0b\x32 .google.cloud.aiplatform.v1.ToolB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12\x46\n\x0btool_config\x18\x06 \x01(\x0b\x32&.google.cloud.aiplatform.v1.ToolConfigB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0eusage_metadata\x18\x0c \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.CachedContent.UsageMetadataB\x03\xe0\x41\x03\x1a\x93\x01\n\rUsageMetadata\x12\x19\n\x11total_token_count\x18\x01 \x01(\x05\x12\x12\n\ntext_count\x18\x02 \x01(\x05\x12\x13\n\x0bimage_count\x18\x03 \x01(\x05\x12\x1e\n\x16video_duration_seconds\x18\x04 \x01(\x05\x12\x1e\n\x16\x61udio_duration_seconds\x18\x05 \x01(\x05:\x95\x01\xea\x41\x91\x01\n\'aiplatform.googleapis.com/CachedContent\x12Gprojects/{project}/locations/{location}/cachedContents/{cached_content}*\x0e\x63\x61\x63hedContents2\rcachedContentB\x0c\n\nexpirationB\xd0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x12\x43\x61\x63hedContentProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
16
+ descriptor_data = "\n/google/cloud/aiplatform/v1/cached_content.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x08\n\rCachedContent\x12\x31\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12-\n\x03ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x04H\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x05\x12\x1c\n\x0c\x64isplay_name\x18\x0b \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x12\n\x05model\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12J\n\x12system_instruction\x18\x03 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12@\n\x08\x63ontents\x18\x04 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12:\n\x05tools\x18\x05 \x03(\x0b\x32 .google.cloud.aiplatform.v1.ToolB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12\x46\n\x0btool_config\x18\x06 \x01(\x0b\x32&.google.cloud.aiplatform.v1.ToolConfigB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0eusage_metadata\x18\x0c \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.CachedContent.UsageMetadataB\x03\xe0\x41\x03\x12K\n\x0f\x65ncryption_spec\x18\r \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x06\xe0\x41\x04\xe0\x41\x05\x1a\x93\x01\n\rUsageMetadata\x12\x19\n\x11total_token_count\x18\x01 \x01(\x05\x12\x12\n\ntext_count\x18\x02 \x01(\x05\x12\x13\n\x0bimage_count\x18\x03 \x01(\x05\x12\x1e\n\x16video_duration_seconds\x18\x04 \x01(\x05\x12\x1e\n\x16\x61udio_duration_seconds\x18\x05 \x01(\x05:\x95\x01\xea\x41\x91\x01\n\'aiplatform.googleapis.com/CachedContent\x12Gprojects/{project}/locations/{location}/cachedContents/{cached_content}*\x0e\x63\x61\x63hedContents2\rcachedContentB\x0c\n\nexpirationB\xd0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x12\x43\x61\x63hedContentProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
16
17
 
17
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
19
 
@@ -31,6 +32,7 @@ rescue TypeError
31
32
  ["google.protobuf.Duration", "google/protobuf/duration.proto"],
32
33
  ["google.cloud.aiplatform.v1.Content", "google/cloud/aiplatform/v1/content.proto"],
33
34
  ["google.cloud.aiplatform.v1.Tool", "google/cloud/aiplatform/v1/tool.proto"],
35
+ ["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
34
36
  ]
35
37
  imports.each do |type_name, expected_filename|
36
38
  import_file = pool.lookup(type_name).file_descriptor
@@ -12,7 +12,7 @@ require 'google/protobuf/duration_pb'
12
12
  require 'google/type/date_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n(google/cloud/aiplatform/v1/content.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a\x30google/cloud/aiplatform/v1/vertex_rag_data.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x16google/type/date.proto\"R\n\x07\x43ontent\x12\x11\n\x04role\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x05parts\x18\x02 \x03(\x0b\x32 .google.cloud.aiplatform.v1.PartB\x03\xe0\x41\x02\"\xb2\x04\n\x04Part\x12\x13\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12<\n\x0binline_data\x18\x02 \x01(\x0b\x32 .google.cloud.aiplatform.v1.BlobB\x03\xe0\x41\x01H\x00\x12>\n\tfile_data\x18\x03 \x01(\x0b\x32$.google.cloud.aiplatform.v1.FileDataB\x03\xe0\x41\x01H\x00\x12\x46\n\rfunction_call\x18\x05 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FunctionCallB\x03\xe0\x41\x01H\x00\x12N\n\x11\x66unction_response\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.FunctionResponseB\x03\xe0\x41\x01H\x00\x12J\n\x0f\x65xecutable_code\x18\x08 \x01(\x0b\x32*.google.cloud.aiplatform.v1.ExecutableCodeB\x03\xe0\x41\x01H\x00\x12U\n\x15\x63ode_execution_result\x18\t \x01(\x0b\x32/.google.cloud.aiplatform.v1.CodeExecutionResultB\x03\xe0\x41\x01H\x00\x12H\n\x0evideo_metadata\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.VideoMetadataB\x03\xe0\x41\x01H\x01\x42\x06\n\x04\x64\x61taB\n\n\x08metadata\"1\n\x04\x42lob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"9\n\x08\x46ileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\"y\n\rVideoMetadata\x12\x34\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x32\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\xc1\n\n\x10GenerationConfig\x12\x1d\n\x0btemperature\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x17\n\x05top_p\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12!\n\x0f\x63\x61ndidate_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12#\n\x11max_output_tokens\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\x1b\n\x0estop_sequences\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12#\n\x11response_logprobs\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x1a\n\x08logprobs\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01H\x06\x88\x01\x01\x12\"\n\x10presence_penalty\x18\x08 \x01(\x02\x42\x03\xe0\x41\x01H\x07\x88\x01\x01\x12#\n\x11\x66requency_penalty\x18\t \x01(\x02\x42\x03\xe0\x41\x01H\x08\x88\x01\x01\x12\x16\n\x04seed\x18\x0c \x01(\x05\x42\x03\xe0\x41\x01H\t\x88\x01\x01\x12\x1f\n\x12response_mime_type\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0fresponse_schema\x18\x10 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01H\n\x88\x01\x01\x12\\\n\x0erouting_config\x18\x11 \x01(\x0b\x32:.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfigB\x03\xe0\x41\x01H\x0b\x88\x01\x01\x1a\xc2\x04\n\rRoutingConfig\x12_\n\tauto_mode\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingModeH\x00\x12\x63\n\x0bmanual_mode\x18\x02 \x01(\x0b\x32L.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingModeH\x00\x1a\x9b\x02\n\x0f\x41utoRoutingMode\x12\x88\x01\n\x18model_routing_preference\x18\x01 \x01(\x0e\x32\x61.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreferenceH\x00\x88\x01\x01\"`\n\x16ModelRoutingPreference\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x16\n\x12PRIORITIZE_QUALITY\x10\x01\x12\x0c\n\x08\x42\x41LANCED\x10\x02\x12\x13\n\x0fPRIORITIZE_COST\x10\x03\x42\x1b\n\x19_model_routing_preference\x1a;\n\x11ManualRoutingMode\x12\x17\n\nmodel_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_model_nameB\x10\n\x0erouting_configB\x0e\n\x0c_temperatureB\x08\n\x06_top_pB\x08\n\x06_top_kB\x12\n\x10_candidate_countB\x14\n\x12_max_output_tokensB\x14\n\x12_response_logprobsB\x0b\n\t_logprobsB\x13\n\x11_presence_penaltyB\x14\n\x12_frequency_penaltyB\x07\n\x05_seedB\x12\n\x10_response_schemaB\x11\n\x0f_routing_config\"\xeb\x03\n\rSafetySetting\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x02\x12T\n\tthreshold\x18\x02 \x01(\x0e\x32<.google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\x03\xe0\x41\x02\x12N\n\x06method\x18\x04 \x01(\x0e\x32\x39.google.cloud.aiplatform.v1.SafetySetting.HarmBlockMethodB\x03\xe0\x41\x01\"\x9d\x01\n\x12HarmBlockThreshold\x12$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x01\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\n\x0f\x42LOCK_ONLY_HIGH\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04\x12\x07\n\x03OFF\x10\x05\"S\n\x0fHarmBlockMethod\x12!\n\x1dHARM_BLOCK_METHOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08SEVERITY\x10\x01\x12\x0f\n\x0bPROBABILITY\x10\x02\"\xbf\x04\n\x0cSafetyRating\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x03\x12R\n\x0bprobability\x18\x02 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.SafetyRating.HarmProbabilityB\x03\xe0\x41\x03\x12\x1e\n\x11probability_score\x18\x05 \x01(\x02\x42\x03\xe0\x41\x03\x12L\n\x08severity\x18\x06 \x01(\x0e\x32\x35.google.cloud.aiplatform.v1.SafetyRating.HarmSeverityB\x03\xe0\x41\x03\x12\x1b\n\x0eseverity_score\x18\x07 \x01(\x02\x42\x03\xe0\x41\x03\x12\x14\n\x07\x62locked\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\"b\n\x0fHarmProbability\x12 \n\x1cHARM_PROBABILITY_UNSPECIFIED\x10\x00\x12\x0e\n\nNEGLIGIBLE\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x08\n\x04HIGH\x10\x04\"\x94\x01\n\x0cHarmSeverity\x12\x1d\n\x19HARM_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18HARM_SEVERITY_NEGLIGIBLE\x10\x01\x12\x15\n\x11HARM_SEVERITY_LOW\x10\x02\x12\x18\n\x14HARM_SEVERITY_MEDIUM\x10\x03\x12\x16\n\x12HARM_SEVERITY_HIGH\x10\x04\"P\n\x10\x43itationMetadata\x12<\n\tcitations\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.CitationB\x03\xe0\x41\x03\"\xaa\x01\n\x08\x43itation\x12\x18\n\x0bstart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07license\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x30\n\x10publication_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\"\xfc\x05\n\tCandidate\x12\x12\n\x05index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x39\n\x07\x63ontent\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x03\x12\x12\n\x05score\x18\x08 \x01(\x01\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x61vg_logprobs\x18\t \x01(\x01\x42\x03\xe0\x41\x03\x12H\n\x0flogprobs_result\x18\n \x01(\x0b\x32*.google.cloud.aiplatform.v1.LogprobsResultB\x03\xe0\x41\x03\x12N\n\rfinish_reason\x18\x03 \x01(\x0e\x32\x32.google.cloud.aiplatform.v1.Candidate.FinishReasonB\x03\xe0\x41\x03\x12\x45\n\x0esafety_ratings\x18\x04 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xe0\x41\x03\x12 \n\x0e\x66inish_message\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12L\n\x11\x63itation_metadata\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.CitationMetadataB\x03\xe0\x41\x03\x12N\n\x12grounding_metadata\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.GroundingMetadataB\x03\xe0\x41\x03\"\xbc\x01\n\x0c\x46inishReason\x12\x1d\n\x19\x46INISH_REASON_UNSPECIFIED\x10\x00\x12\x08\n\x04STOP\x10\x01\x12\x0e\n\nMAX_TOKENS\x10\x02\x12\n\n\x06SAFETY\x10\x03\x12\x0e\n\nRECITATION\x10\x04\x12\t\n\x05OTHER\x10\x05\x12\r\n\tBLOCKLIST\x10\x06\x12\x16\n\x12PROHIBITED_CONTENT\x10\x07\x12\x08\n\x04SPII\x10\x08\x12\x1b\n\x17MALFORMED_FUNCTION_CALL\x10\tB\x11\n\x0f_finish_message\"\x8f\x03\n\x0eLogprobsResult\x12P\n\x0etop_candidates\x18\x01 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.LogprobsResult.TopCandidates\x12O\n\x11\x63hosen_candidates\x18\x02 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.LogprobsResult.Candidate\x1a\x7f\n\tCandidate\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08token_id\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12\x1c\n\x0flog_probability\x18\x02 \x01(\x02H\x02\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_token_idB\x12\n\x10_log_probability\x1aY\n\rTopCandidates\x12H\n\ncandidates\x18\x01 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.LogprobsResult.Candidate\"g\n\x07Segment\x12\x17\n\npart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xad\x03\n\x0eGroundingChunk\x12=\n\x03web\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.GroundingChunk.WebH\x00\x12X\n\x11retrieved_context\x18\x02 \x01(\x0b\x32;.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContextH\x00\x1a=\n\x03Web\x12\x10\n\x03uri\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05title\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_uriB\x08\n\x06_title\x1a\xb4\x01\n\x10RetrievedContext\x12\x39\n\trag_chunk\x18\x04 \x01(\x0b\x32$.google.cloud.aiplatform.v1.RagChunkH\x00\x12\x10\n\x03uri\x18\x01 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05title\x18\x02 \x01(\tH\x02\x88\x01\x01\x12\x11\n\x04text\x18\x03 \x01(\tH\x03\x88\x01\x01\x42\x11\n\x0f\x63ontext_detailsB\x06\n\x04_uriB\x08\n\x06_titleB\x07\n\x05_textB\x0c\n\nchunk_type\"\x95\x01\n\x10GroundingSupport\x12\x39\n\x07segment\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.SegmentH\x00\x88\x01\x01\x12\x1f\n\x17grounding_chunk_indices\x18\x02 \x03(\x05\x12\x19\n\x11\x63onfidence_scores\x18\x03 \x03(\x02\x42\n\n\x08_segment\"\xa3\x03\n\x11GroundingMetadata\x12\x1f\n\x12web_search_queries\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12R\n\x12search_entry_point\x18\x04 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SearchEntryPointB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x44\n\x10grounding_chunks\x18\x05 \x03(\x0b\x32*.google.cloud.aiplatform.v1.GroundingChunk\x12M\n\x12grounding_supports\x18\x06 \x03(\x0b\x32,.google.cloud.aiplatform.v1.GroundingSupportB\x03\xe0\x41\x01\x12V\n\x12retrieval_metadata\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.RetrievalMetadataB\x06\xe0\x41\x01\xe0\x41\x03H\x01\x88\x01\x01\x42\x15\n\x13_search_entry_pointB\x15\n\x13_retrieval_metadata\"H\n\x10SearchEntryPoint\x12\x1d\n\x10rendered_content\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08sdk_blob\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\"G\n\x11RetrievalMetadata\x12\x32\n%google_search_dynamic_retrieval_score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"a\n\x12ModalityTokenCount\x12\x36\n\x08modality\x18\x01 \x01(\x0e\x32$.google.cloud.aiplatform.v1.Modality\x12\x13\n\x0btoken_count\x18\x02 \x01(\x05*\xd7\x01\n\x0cHarmCategory\x12\x1d\n\x19HARM_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19HARM_CATEGORY_HATE_SPEECH\x10\x01\x12#\n\x1fHARM_CATEGORY_DANGEROUS_CONTENT\x10\x02\x12\x1c\n\x18HARM_CATEGORY_HARASSMENT\x10\x03\x12#\n\x1fHARM_CATEGORY_SEXUALLY_EXPLICIT\x10\x04\x12!\n\x1dHARM_CATEGORY_CIVIC_INTEGRITY\x10\x05*]\n\x08Modality\x12\x18\n\x14MODALITY_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05IMAGE\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\t\n\x05\x41UDIO\x10\x04\x12\x0c\n\x08\x44OCUMENT\x10\x05\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x43ontentProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
15
+ descriptor_data = "\n(google/cloud/aiplatform/v1/content.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a\x30google/cloud/aiplatform/v1/vertex_rag_data.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x16google/type/date.proto\"R\n\x07\x43ontent\x12\x11\n\x04role\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x05parts\x18\x02 \x03(\x0b\x32 .google.cloud.aiplatform.v1.PartB\x03\xe0\x41\x02\"\xb2\x04\n\x04Part\x12\x13\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12<\n\x0binline_data\x18\x02 \x01(\x0b\x32 .google.cloud.aiplatform.v1.BlobB\x03\xe0\x41\x01H\x00\x12>\n\tfile_data\x18\x03 \x01(\x0b\x32$.google.cloud.aiplatform.v1.FileDataB\x03\xe0\x41\x01H\x00\x12\x46\n\rfunction_call\x18\x05 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FunctionCallB\x03\xe0\x41\x01H\x00\x12N\n\x11\x66unction_response\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.FunctionResponseB\x03\xe0\x41\x01H\x00\x12J\n\x0f\x65xecutable_code\x18\x08 \x01(\x0b\x32*.google.cloud.aiplatform.v1.ExecutableCodeB\x03\xe0\x41\x01H\x00\x12U\n\x15\x63ode_execution_result\x18\t \x01(\x0b\x32/.google.cloud.aiplatform.v1.CodeExecutionResultB\x03\xe0\x41\x01H\x00\x12H\n\x0evideo_metadata\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.VideoMetadataB\x03\xe0\x41\x01H\x01\x42\x06\n\x04\x64\x61taB\n\n\x08metadata\"1\n\x04\x42lob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"9\n\x08\x46ileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\"y\n\rVideoMetadata\x12\x34\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x32\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\xe5\x0b\n\x10GenerationConfig\x12\x1d\n\x0btemperature\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x17\n\x05top_p\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12!\n\x0f\x63\x61ndidate_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12#\n\x11max_output_tokens\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\x1b\n\x0estop_sequences\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12#\n\x11response_logprobs\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x1a\n\x08logprobs\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01H\x06\x88\x01\x01\x12\"\n\x10presence_penalty\x18\x08 \x01(\x02\x42\x03\xe0\x41\x01H\x07\x88\x01\x01\x12#\n\x11\x66requency_penalty\x18\t \x01(\x02\x42\x03\xe0\x41\x01H\x08\x88\x01\x01\x12\x16\n\x04seed\x18\x0c \x01(\x05\x42\x03\xe0\x41\x01H\t\x88\x01\x01\x12\x1f\n\x12response_mime_type\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0fresponse_schema\x18\x10 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01H\n\x88\x01\x01\x12\\\n\x0erouting_config\x18\x11 \x01(\x0b\x32:.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfigB\x03\xe0\x41\x01H\x0b\x88\x01\x01\x12Y\n\x0fthinking_config\x18\x19 \x01(\x0b\x32;.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfigB\x03\xe0\x41\x01\x1a\xc2\x04\n\rRoutingConfig\x12_\n\tauto_mode\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingModeH\x00\x12\x63\n\x0bmanual_mode\x18\x02 \x01(\x0b\x32L.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingModeH\x00\x1a\x9b\x02\n\x0f\x41utoRoutingMode\x12\x88\x01\n\x18model_routing_preference\x18\x01 \x01(\x0e\x32\x61.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreferenceH\x00\x88\x01\x01\"`\n\x16ModelRoutingPreference\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x16\n\x12PRIORITIZE_QUALITY\x10\x01\x12\x0c\n\x08\x42\x41LANCED\x10\x02\x12\x13\n\x0fPRIORITIZE_COST\x10\x03\x42\x1b\n\x19_model_routing_preference\x1a;\n\x11ManualRoutingMode\x12\x17\n\nmodel_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_model_nameB\x10\n\x0erouting_config\x1aG\n\x0eThinkingConfig\x12!\n\x0fthinking_budget\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x12\n\x10_thinking_budgetB\x0e\n\x0c_temperatureB\x08\n\x06_top_pB\x08\n\x06_top_kB\x12\n\x10_candidate_countB\x14\n\x12_max_output_tokensB\x14\n\x12_response_logprobsB\x0b\n\t_logprobsB\x13\n\x11_presence_penaltyB\x14\n\x12_frequency_penaltyB\x07\n\x05_seedB\x12\n\x10_response_schemaB\x11\n\x0f_routing_config\"\xeb\x03\n\rSafetySetting\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x02\x12T\n\tthreshold\x18\x02 \x01(\x0e\x32<.google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\x03\xe0\x41\x02\x12N\n\x06method\x18\x04 \x01(\x0e\x32\x39.google.cloud.aiplatform.v1.SafetySetting.HarmBlockMethodB\x03\xe0\x41\x01\"\x9d\x01\n\x12HarmBlockThreshold\x12$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x01\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\n\x0f\x42LOCK_ONLY_HIGH\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04\x12\x07\n\x03OFF\x10\x05\"S\n\x0fHarmBlockMethod\x12!\n\x1dHARM_BLOCK_METHOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08SEVERITY\x10\x01\x12\x0f\n\x0bPROBABILITY\x10\x02\"\xbf\x04\n\x0cSafetyRating\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x03\x12R\n\x0bprobability\x18\x02 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.SafetyRating.HarmProbabilityB\x03\xe0\x41\x03\x12\x1e\n\x11probability_score\x18\x05 \x01(\x02\x42\x03\xe0\x41\x03\x12L\n\x08severity\x18\x06 \x01(\x0e\x32\x35.google.cloud.aiplatform.v1.SafetyRating.HarmSeverityB\x03\xe0\x41\x03\x12\x1b\n\x0eseverity_score\x18\x07 \x01(\x02\x42\x03\xe0\x41\x03\x12\x14\n\x07\x62locked\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\"b\n\x0fHarmProbability\x12 \n\x1cHARM_PROBABILITY_UNSPECIFIED\x10\x00\x12\x0e\n\nNEGLIGIBLE\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x08\n\x04HIGH\x10\x04\"\x94\x01\n\x0cHarmSeverity\x12\x1d\n\x19HARM_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18HARM_SEVERITY_NEGLIGIBLE\x10\x01\x12\x15\n\x11HARM_SEVERITY_LOW\x10\x02\x12\x18\n\x14HARM_SEVERITY_MEDIUM\x10\x03\x12\x16\n\x12HARM_SEVERITY_HIGH\x10\x04\"P\n\x10\x43itationMetadata\x12<\n\tcitations\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.CitationB\x03\xe0\x41\x03\"\xaa\x01\n\x08\x43itation\x12\x18\n\x0bstart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07license\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x30\n\x10publication_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\"\xfc\x05\n\tCandidate\x12\x12\n\x05index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x39\n\x07\x63ontent\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x03\x12\x12\n\x05score\x18\x08 \x01(\x01\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x61vg_logprobs\x18\t \x01(\x01\x42\x03\xe0\x41\x03\x12H\n\x0flogprobs_result\x18\n \x01(\x0b\x32*.google.cloud.aiplatform.v1.LogprobsResultB\x03\xe0\x41\x03\x12N\n\rfinish_reason\x18\x03 \x01(\x0e\x32\x32.google.cloud.aiplatform.v1.Candidate.FinishReasonB\x03\xe0\x41\x03\x12\x45\n\x0esafety_ratings\x18\x04 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xe0\x41\x03\x12 \n\x0e\x66inish_message\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12L\n\x11\x63itation_metadata\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.CitationMetadataB\x03\xe0\x41\x03\x12N\n\x12grounding_metadata\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.GroundingMetadataB\x03\xe0\x41\x03\"\xbc\x01\n\x0c\x46inishReason\x12\x1d\n\x19\x46INISH_REASON_UNSPECIFIED\x10\x00\x12\x08\n\x04STOP\x10\x01\x12\x0e\n\nMAX_TOKENS\x10\x02\x12\n\n\x06SAFETY\x10\x03\x12\x0e\n\nRECITATION\x10\x04\x12\t\n\x05OTHER\x10\x05\x12\r\n\tBLOCKLIST\x10\x06\x12\x16\n\x12PROHIBITED_CONTENT\x10\x07\x12\x08\n\x04SPII\x10\x08\x12\x1b\n\x17MALFORMED_FUNCTION_CALL\x10\tB\x11\n\x0f_finish_message\"\x8f\x03\n\x0eLogprobsResult\x12P\n\x0etop_candidates\x18\x01 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.LogprobsResult.TopCandidates\x12O\n\x11\x63hosen_candidates\x18\x02 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.LogprobsResult.Candidate\x1a\x7f\n\tCandidate\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08token_id\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12\x1c\n\x0flog_probability\x18\x02 \x01(\x02H\x02\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_token_idB\x12\n\x10_log_probability\x1aY\n\rTopCandidates\x12H\n\ncandidates\x18\x01 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.LogprobsResult.Candidate\"g\n\x07Segment\x12\x17\n\npart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xad\x03\n\x0eGroundingChunk\x12=\n\x03web\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.GroundingChunk.WebH\x00\x12X\n\x11retrieved_context\x18\x02 \x01(\x0b\x32;.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContextH\x00\x1a=\n\x03Web\x12\x10\n\x03uri\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05title\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_uriB\x08\n\x06_title\x1a\xb4\x01\n\x10RetrievedContext\x12\x39\n\trag_chunk\x18\x04 \x01(\x0b\x32$.google.cloud.aiplatform.v1.RagChunkH\x00\x12\x10\n\x03uri\x18\x01 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05title\x18\x02 \x01(\tH\x02\x88\x01\x01\x12\x11\n\x04text\x18\x03 \x01(\tH\x03\x88\x01\x01\x42\x11\n\x0f\x63ontext_detailsB\x06\n\x04_uriB\x08\n\x06_titleB\x07\n\x05_textB\x0c\n\nchunk_type\"\x95\x01\n\x10GroundingSupport\x12\x39\n\x07segment\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.SegmentH\x00\x88\x01\x01\x12\x1f\n\x17grounding_chunk_indices\x18\x02 \x03(\x05\x12\x19\n\x11\x63onfidence_scores\x18\x03 \x03(\x02\x42\n\n\x08_segment\"\xa3\x03\n\x11GroundingMetadata\x12\x1f\n\x12web_search_queries\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12R\n\x12search_entry_point\x18\x04 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SearchEntryPointB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x44\n\x10grounding_chunks\x18\x05 \x03(\x0b\x32*.google.cloud.aiplatform.v1.GroundingChunk\x12M\n\x12grounding_supports\x18\x06 \x03(\x0b\x32,.google.cloud.aiplatform.v1.GroundingSupportB\x03\xe0\x41\x01\x12V\n\x12retrieval_metadata\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.RetrievalMetadataB\x06\xe0\x41\x01\xe0\x41\x03H\x01\x88\x01\x01\x42\x15\n\x13_search_entry_pointB\x15\n\x13_retrieval_metadata\"H\n\x10SearchEntryPoint\x12\x1d\n\x10rendered_content\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08sdk_blob\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\"G\n\x11RetrievalMetadata\x12\x32\n%google_search_dynamic_retrieval_score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"a\n\x12ModalityTokenCount\x12\x36\n\x08modality\x18\x01 \x01(\x0e\x32$.google.cloud.aiplatform.v1.Modality\x12\x13\n\x0btoken_count\x18\x02 \x01(\x05*\xdb\x01\n\x0cHarmCategory\x12\x1d\n\x19HARM_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19HARM_CATEGORY_HATE_SPEECH\x10\x01\x12#\n\x1fHARM_CATEGORY_DANGEROUS_CONTENT\x10\x02\x12\x1c\n\x18HARM_CATEGORY_HARASSMENT\x10\x03\x12#\n\x1fHARM_CATEGORY_SEXUALLY_EXPLICIT\x10\x04\x12%\n\x1dHARM_CATEGORY_CIVIC_INTEGRITY\x10\x05\x1a\x02\x08\x01*]\n\x08Modality\x12\x18\n\x14MODALITY_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05IMAGE\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\t\n\x05\x41UDIO\x10\x04\x12\x0c\n\x08\x44OCUMENT\x10\x05\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x43ontentProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
@@ -57,6 +57,7 @@ module Google
57
57
  GenerationConfig::RoutingConfig::AutoRoutingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode").msgclass
58
58
  GenerationConfig::RoutingConfig::AutoRoutingMode::ModelRoutingPreference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference").enummodule
59
59
  GenerationConfig::RoutingConfig::ManualRoutingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingMode").msgclass
60
+ GenerationConfig::ThinkingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig").msgclass
60
61
  SafetySetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SafetySetting").msgclass
61
62
  SafetySetting::HarmBlockThreshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SafetySetting.HarmBlockThreshold").enummodule
62
63
  SafetySetting::HarmBlockMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SafetySetting.HarmBlockMethod").enummodule
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/struct_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n(google/cloud/aiplatform/v1/openapi.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb0\x06\n\x06Schema\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32 .google.cloud.aiplatform.v1.TypeB\x03\xe0\x41\x01\x12\x13\n\x06\x66ormat\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05title\x18\x18 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08nullable\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x07\x64\x65\x66\x61ult\x18\x17 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x36\n\x05items\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x16\n\tmin_items\x18\x15 \x01(\x03\x42\x03\xe0\x41\x01\x12\x16\n\tmax_items\x18\x16 \x01(\x03\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65num\x18\t \x03(\tB\x03\xe0\x41\x01\x12K\n\nproperties\x18\x03 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.Schema.PropertiesEntryB\x03\xe0\x41\x01\x12\x1e\n\x11property_ordering\x18\x19 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08required\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0emin_properties\x18\x0e \x01(\x03\x42\x03\xe0\x41\x01\x12\x1b\n\x0emax_properties\x18\x0f \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07minimum\x18\x10 \x01(\x01\x42\x03\xe0\x41\x01\x12\x14\n\x07maximum\x18\x11 \x01(\x01\x42\x03\xe0\x41\x01\x12\x17\n\nmin_length\x18\x12 \x01(\x03\x42\x03\xe0\x41\x01\x12\x17\n\nmax_length\x18\x13 \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07pattern\x18\x14 \x01(\tB\x03\xe0\x41\x01\x12,\n\x07\x65xample\x18\x04 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x37\n\x06\x61ny_of\x18\x0b \x03(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x1aU\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Schema:\x02\x38\x01*e\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\t\n\x05\x41RRAY\x10\x05\x12\n\n\x06OBJECT\x10\x06\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0cOpenApiProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
11
+ descriptor_data = "\n(google/cloud/aiplatform/v1/openapi.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd4\x07\n\x06Schema\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32 .google.cloud.aiplatform.v1.TypeB\x03\xe0\x41\x01\x12\x13\n\x06\x66ormat\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05title\x18\x18 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08nullable\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x07\x64\x65\x66\x61ult\x18\x17 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x36\n\x05items\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x16\n\tmin_items\x18\x15 \x01(\x03\x42\x03\xe0\x41\x01\x12\x16\n\tmax_items\x18\x16 \x01(\x03\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65num\x18\t \x03(\tB\x03\xe0\x41\x01\x12K\n\nproperties\x18\x03 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.Schema.PropertiesEntryB\x03\xe0\x41\x01\x12\x1e\n\x11property_ordering\x18\x19 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08required\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0emin_properties\x18\x0e \x01(\x03\x42\x03\xe0\x41\x01\x12\x1b\n\x0emax_properties\x18\x0f \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07minimum\x18\x10 \x01(\x01\x42\x03\xe0\x41\x01\x12\x14\n\x07maximum\x18\x11 \x01(\x01\x42\x03\xe0\x41\x01\x12\x17\n\nmin_length\x18\x12 \x01(\x03\x42\x03\xe0\x41\x01\x12\x17\n\nmax_length\x18\x13 \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07pattern\x18\x14 \x01(\tB\x03\xe0\x41\x01\x12,\n\x07\x65xample\x18\x04 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x37\n\x06\x61ny_of\x18\x0b \x03(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x10\n\x03ref\x18\x1b \x01(\tB\x03\xe0\x41\x01\x12?\n\x04\x64\x65\x66s\x18\x1c \x03(\x0b\x32,.google.cloud.aiplatform.v1.Schema.DefsEntryB\x03\xe0\x41\x01\x1aU\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Schema:\x02\x38\x01\x1aO\n\tDefsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Schema:\x02\x38\x01*e\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\t\n\x05\x41RRAY\x10\x05\x12\n\n\x06OBJECT\x10\x06\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0cOpenApiProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -47,9 +47,9 @@ module Google
47
47
  # cached content.
48
48
  # @!attribute [rw] model
49
49
  # @return [::String]
50
- # Immutable. The name of the publisher model to use for cached content.
51
- # Format:
52
- # projects/\\{project}/locations/\\{location}/publishers/\\{publisher}/models/\\{model}
50
+ # Immutable. The name of the `Model` to use for cached content. Currently,
51
+ # only the published Gemini base models are supported, in form of
52
+ # projects/\\{PROJECT}/locations/\\{LOCATION}/publishers/google/models/\\{MODEL}
53
53
  # @!attribute [rw] system_instruction
54
54
  # @return [::Google::Cloud::AIPlatform::V1::Content]
55
55
  # Optional. Input only. Immutable. Developer set system instruction.
@@ -67,13 +67,18 @@ module Google
67
67
  # tools
68
68
  # @!attribute [r] create_time
69
69
  # @return [::Google::Protobuf::Timestamp]
70
- # Output only. Creatation time of the cache entry.
70
+ # Output only. Creation time of the cache entry.
71
71
  # @!attribute [r] update_time
72
72
  # @return [::Google::Protobuf::Timestamp]
73
73
  # Output only. When the cache entry was last updated in UTC time.
74
74
  # @!attribute [r] usage_metadata
75
75
  # @return [::Google::Cloud::AIPlatform::V1::CachedContent::UsageMetadata]
76
76
  # Output only. Metadata on the usage of the cached content.
77
+ # @!attribute [rw] encryption_spec
78
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
79
+ # Input only. Immutable. Customer-managed encryption key spec for a
80
+ # `CachedContent`. If set, this `CachedContent` and all its sub-resources
81
+ # will be secured by this key.
77
82
  class CachedContent
78
83
  include ::Google::Protobuf::MessageExts
79
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -191,6 +191,11 @@ module Google
191
191
  # @!attribute [rw] routing_config
192
192
  # @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig]
193
193
  # Optional. Routing configuration.
194
+ # @!attribute [rw] thinking_config
195
+ # @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::ThinkingConfig]
196
+ # Optional. Config for thinking features.
197
+ # An error will be returned if this field is set for models that don't
198
+ # support thinking.
194
199
  class GenerationConfig
195
200
  include ::Google::Protobuf::MessageExts
196
201
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -246,6 +251,16 @@ module Google
246
251
  extend ::Google::Protobuf::MessageExts::ClassMethods
247
252
  end
248
253
  end
254
+
255
+ # Config for thinking features.
256
+ # @!attribute [rw] thinking_budget
257
+ # @return [::Integer]
258
+ # Optional. Indicates the thinking budget in tokens.
259
+ # This is only applied when enable_thinking is true.
260
+ class ThinkingConfig
261
+ include ::Google::Protobuf::MessageExts
262
+ extend ::Google::Protobuf::MessageExts::ClassMethods
263
+ end
249
264
  end
250
265
 
251
266
  # Safety settings.
@@ -672,6 +687,7 @@ module Google
672
687
  # The harm category is sexually explicit content.
673
688
  HARM_CATEGORY_SEXUALLY_EXPLICIT = 4
674
689
 
690
+ # Deprecated: Election filter is not longer supported.
675
691
  # The harm category is civic integrity.
676
692
  HARM_CATEGORY_CIVIC_INTEGRITY = 5
677
693
  end
@@ -109,6 +109,33 @@ module Google
109
109
  # @return [::Array<::Google::Cloud::AIPlatform::V1::Schema>]
110
110
  # Optional. The value should be validated against any (one or more) of the
111
111
  # subschemas in the list.
112
+ # @!attribute [rw] ref
113
+ # @return [::String]
114
+ # Optional. Allows indirect references between schema nodes. The value should
115
+ # be a valid reference to a child of the root `defs`.
116
+ #
117
+ # For example, the following schema defines a reference to a schema node
118
+ # named "Pet":
119
+ #
120
+ # type: object
121
+ # properties:
122
+ # pet:
123
+ # ref: #/defs/Pet
124
+ # defs:
125
+ # Pet:
126
+ # type: object
127
+ # properties:
128
+ # name:
129
+ # type: string
130
+ #
131
+ # The value of the "pet" property is a reference to the schema node
132
+ # named "Pet".
133
+ # See details in
134
+ # https://json-schema.org/understanding-json-schema/structuring
135
+ # @!attribute [rw] defs
136
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::Schema}]
137
+ # Optional. A map of definitions for use by `ref`
138
+ # Only allowed at the root of the schema.
112
139
  class Schema
113
140
  include ::Google::Protobuf::MessageExts
114
141
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -121,6 +148,15 @@ module Google
121
148
  include ::Google::Protobuf::MessageExts
122
149
  extend ::Google::Protobuf::MessageExts::ClassMethods
123
150
  end
151
+
152
+ # @!attribute [rw] key
153
+ # @return [::String]
154
+ # @!attribute [rw] value
155
+ # @return [::Google::Cloud::AIPlatform::V1::Schema]
156
+ class DefsEntry
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
+ end
124
160
  end
125
161
 
126
162
  # Type contains the list of OpenAPI data types as defined by
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-ai_platform-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-25 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -714,7 +714,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
714
714
  - !ruby/object:Gem::Version
715
715
  version: '0'
716
716
  requirements: []
717
- rubygems_version: 3.6.5
717
+ rubygems_version: 3.6.8
718
718
  specification_version: 4
719
719
  summary: Train high-quality custom machine learning models with minimal machine learning
720
720
  expertise and effort.