google-cloud-ai_platform-v1 1.19.0 → 1.21.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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/ai_platform/v1/bindings_override.rb +3 -30
  5. data/lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb +500 -0
  6. data/lib/google/cloud/ai_platform/v1/data_foundry_service/credentials.rb +47 -0
  7. data/lib/google/cloud/ai_platform/v1/data_foundry_service/paths.rb +50 -0
  8. data/lib/google/cloud/ai_platform/v1/data_foundry_service/rest/client.rb +476 -0
  9. data/lib/google/cloud/ai_platform/v1/data_foundry_service/rest/service_stub.rb +143 -0
  10. data/lib/google/cloud/ai_platform/v1/data_foundry_service/rest.rb +53 -0
  11. data/lib/google/cloud/ai_platform/v1/data_foundry_service.rb +55 -0
  12. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +5 -3
  13. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +5 -3
  14. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +87 -0
  15. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +0 -1
  16. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +0 -1
  17. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +8 -2
  18. data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +19 -0
  19. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +8 -2
  20. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/paths.rb +19 -0
  21. data/lib/google/cloud/ai_platform/v1/rest.rb +2 -1
  22. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  23. data/lib/google/cloud/ai_platform/v1.rb +3 -2
  24. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  25. data/lib/google/cloud/aiplatform/v1/content_pb.rb +4 -1
  26. data/lib/google/cloud/aiplatform/v1/data_foundry_service_pb.rb +55 -0
  27. data/lib/google/cloud/aiplatform/v1/data_foundry_service_services_pb.rb +45 -0
  28. data/lib/google/cloud/aiplatform/v1/deployment_stage_pb.rb +42 -0
  29. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -1
  30. data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +3 -3
  31. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +10 -1
  32. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +4 -0
  33. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +1 -1
  34. data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
  35. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
  36. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  37. data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +5 -1
  38. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +2 -1
  39. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  40. data/proto_docs/google/cloud/aiplatform/v1/content.rb +59 -13
  41. data/proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb +127 -0
  42. data/proto_docs/google/cloud/aiplatform/v1/deployment_stage.rb +56 -0
  43. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +9 -0
  44. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +81 -0
  45. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +5 -3
  46. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +0 -1
  47. data/proto_docs/google/cloud/aiplatform/v1/index.rb +3 -0
  48. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +12 -0
  49. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +46 -5
  50. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +7 -0
  51. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb +46 -1
  52. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +19 -0
  53. metadata +15 -3
@@ -45,7 +45,8 @@ module Google
45
45
  # @!attribute [rw] agent_framework
46
46
  # @return [::String]
47
47
  # Optional. The OSS agent framework used to develop the agent.
48
- # Currently supported values: "langchain", "langgraph", "ag2", "custom".
48
+ # Currently supported values: "google-adk", "langchain", "langgraph", "ag2",
49
+ # "llama-index", "custom".
49
50
  class ReasoningEngineSpec
50
51
  include ::Google::Protobuf::MessageExts
51
52
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -82,9 +83,46 @@ module Google
82
83
  # To use this feature, add 'Secret Manager Secret Accessor' role
83
84
  # (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
84
85
  # Service Agent.
86
+ # @!attribute [rw] psc_interface_config
87
+ # @return [::Google::Cloud::AIPlatform::V1::PscInterfaceConfig]
88
+ # Optional. Configuration for PSC-I.
89
+ # @!attribute [rw] min_instances
90
+ # @return [::Integer]
91
+ # Optional. The minimum number of application instances that will be kept
92
+ # running at all times. Defaults to 1. Range: [0, 10].
93
+ # @!attribute [rw] max_instances
94
+ # @return [::Integer]
95
+ # Optional. The maximum number of application instances that can be
96
+ # launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
97
+ #
98
+ # If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
99
+ # @!attribute [rw] resource_limits
100
+ # @return [::Google::Protobuf::Map{::String => ::String}]
101
+ # Optional. Resource limits for each container. Only 'cpu' and 'memory'
102
+ # keys are supported. Defaults to \\{"cpu": "4", "memory": "4Gi"}.
103
+ #
104
+ # * The only supported values for CPU are '1', '2', '4', '6' and '8'. For
105
+ # more information, go to
106
+ # https://cloud.google.com/run/docs/configuring/cpu.
107
+ # * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
108
+ # * For required cpu on different memory values, go to
109
+ # https://cloud.google.com/run/docs/configuring/memory-limits
110
+ # @!attribute [rw] container_concurrency
111
+ # @return [::Integer]
112
+ # Optional. Concurrency for each container and agent server. Recommended
113
+ # value: 2 * cpu + 1. Defaults to 9.
85
114
  class DeploymentSpec
86
115
  include ::Google::Protobuf::MessageExts
87
116
  extend ::Google::Protobuf::MessageExts::ClassMethods
117
+
118
+ # @!attribute [rw] key
119
+ # @return [::String]
120
+ # @!attribute [rw] value
121
+ # @return [::String]
122
+ class ResourceLimitsEntry
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
+ end
88
126
  end
89
127
  end
90
128
 
@@ -93,6 +131,8 @@ module Google
93
131
  # @!attribute [rw] name
94
132
  # @return [::String]
95
133
  # Identifier. The resource name of the ReasoningEngine.
134
+ # Format:
135
+ # `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
96
136
  # @!attribute [rw] display_name
97
137
  # @return [::String]
98
138
  # Required. The display name of the ReasoningEngine.
@@ -112,6 +152,11 @@ module Google
112
152
  # @return [::String]
113
153
  # Optional. Used to perform consistent read-modify-write updates. If not set,
114
154
  # a blind "overwrite" update happens.
155
+ # @!attribute [rw] encryption_spec
156
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
157
+ # Customer-managed encryption key spec for a ReasoningEngine. If set, this
158
+ # ReasoningEngine and all sub-resources of this ReasoningEngine will be
159
+ # secured by this key.
115
160
  class ReasoningEngine
116
161
  include ::Google::Protobuf::MessageExts
117
162
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,6 +53,10 @@ module Google
53
53
  # @return [::Google::Cloud::AIPlatform::V1::GoogleSearchRetrieval]
54
54
  # Optional. GoogleSearchRetrieval tool type.
55
55
  # Specialized retrieval tool that is powered by Google search.
56
+ # @!attribute [rw] google_maps
57
+ # @return [::Google::Cloud::AIPlatform::V1::GoogleMaps]
58
+ # Optional. GoogleMaps tool type.
59
+ # Tool to support Google Maps in Model.
56
60
  # @!attribute [rw] enterprise_web_search
57
61
  # @return [::Google::Cloud::AIPlatform::V1::EnterpriseWebSearch]
58
62
  # Optional. Tool to support searching public web data, powered by Vertex AI
@@ -75,6 +79,11 @@ module Google
75
79
 
76
80
  # GoogleSearch tool type.
77
81
  # Tool to support Google Search in Model. Powered by Google.
82
+ # @!attribute [rw] exclude_domains
83
+ # @return [::Array<::String>]
84
+ # Optional. List of domains to be excluded from the search results.
85
+ # The default limit is 2000 domains.
86
+ # Example: ["amazon.com", "facebook.com"].
78
87
  class GoogleSearch
79
88
  include ::Google::Protobuf::MessageExts
80
89
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -393,8 +402,18 @@ module Google
393
402
  extend ::Google::Protobuf::MessageExts::ClassMethods
394
403
  end
395
404
 
405
+ # Tool to retrieve public maps data for grounding, powered by Google.
406
+ class GoogleMaps
407
+ include ::Google::Protobuf::MessageExts
408
+ extend ::Google::Protobuf::MessageExts::ClassMethods
409
+ end
410
+
396
411
  # Tool to search public web data, powered by Vertex AI Search and Sec4
397
412
  # compliance.
413
+ # @!attribute [rw] exclude_domains
414
+ # @return [::Array<::String>]
415
+ # Optional. List of domains to be excluded from the search results.
416
+ # The default limit is 2000 domains.
398
417
  class EnterpriseWebSearch
399
418
  include ::Google::Protobuf::MessageExts
400
419
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-ai_platform-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.1'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.1'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -82,6 +82,13 @@ files:
82
82
  - lib/google-cloud-ai_platform-v1.rb
83
83
  - lib/google/cloud/ai_platform/v1.rb
84
84
  - lib/google/cloud/ai_platform/v1/bindings_override.rb
85
+ - lib/google/cloud/ai_platform/v1/data_foundry_service.rb
86
+ - lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb
87
+ - lib/google/cloud/ai_platform/v1/data_foundry_service/credentials.rb
88
+ - lib/google/cloud/ai_platform/v1/data_foundry_service/paths.rb
89
+ - lib/google/cloud/ai_platform/v1/data_foundry_service/rest.rb
90
+ - lib/google/cloud/ai_platform/v1/data_foundry_service/rest/client.rb
91
+ - lib/google/cloud/ai_platform/v1/data_foundry_service/rest/service_stub.rb
85
92
  - lib/google/cloud/ai_platform/v1/dataset_service.rb
86
93
  - lib/google/cloud/ai_platform/v1/dataset_service/client.rb
87
94
  - lib/google/cloud/ai_platform/v1/dataset_service/credentials.rb
@@ -365,6 +372,8 @@ files:
365
372
  - lib/google/cloud/aiplatform/v1/content_pb.rb
366
373
  - lib/google/cloud/aiplatform/v1/context_pb.rb
367
374
  - lib/google/cloud/aiplatform/v1/custom_job_pb.rb
375
+ - lib/google/cloud/aiplatform/v1/data_foundry_service_pb.rb
376
+ - lib/google/cloud/aiplatform/v1/data_foundry_service_services_pb.rb
368
377
  - lib/google/cloud/aiplatform/v1/data_item_pb.rb
369
378
  - lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb
370
379
  - lib/google/cloud/aiplatform/v1/dataset_pb.rb
@@ -376,6 +385,7 @@ files:
376
385
  - lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb
377
386
  - lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_pb.rb
378
387
  - lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_services_pb.rb
388
+ - lib/google/cloud/aiplatform/v1/deployment_stage_pb.rb
379
389
  - lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb
380
390
  - lib/google/cloud/aiplatform/v1/endpoint_pb.rb
381
391
  - lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb
@@ -522,6 +532,7 @@ files:
522
532
  - proto_docs/google/cloud/aiplatform/v1/content.rb
523
533
  - proto_docs/google/cloud/aiplatform/v1/context.rb
524
534
  - proto_docs/google/cloud/aiplatform/v1/custom_job.rb
535
+ - proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb
525
536
  - proto_docs/google/cloud/aiplatform/v1/data_item.rb
526
537
  - proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb
527
538
  - proto_docs/google/cloud/aiplatform/v1/dataset.rb
@@ -531,6 +542,7 @@ files:
531
542
  - proto_docs/google/cloud/aiplatform/v1/deployed_model_ref.rb
532
543
  - proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb
533
544
  - proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool_service.rb
545
+ - proto_docs/google/cloud/aiplatform/v1/deployment_stage.rb
534
546
  - proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb
535
547
  - proto_docs/google/cloud/aiplatform/v1/endpoint.rb
536
548
  - proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb