google-cloud-ai_platform-v1 0.48.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +3 -1
  3. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +3 -1
  4. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +14 -4
  5. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +14 -4
  6. data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +38 -0
  7. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  8. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -1
  9. data/lib/google/cloud/aiplatform/v1/content_pb.rb +5 -1
  10. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
  11. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +1 -1
  12. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  13. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  14. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +1 -1
  15. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +1 -1
  16. data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +2 -1
  17. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +1 -1
  18. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +1 -1
  19. data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +1 -1
  20. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -1
  21. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +1 -1
  22. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +1 -1
  23. data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
  24. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +1 -1
  25. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
  26. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +1 -1
  27. data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +3 -1
  28. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
  29. data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +3 -1
  30. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +1 -1
  31. data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +1 -1
  32. data/proto_docs/google/api/client.rb +17 -0
  33. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +6 -0
  34. data/proto_docs/google/cloud/aiplatform/v1/content.rb +71 -14
  35. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +15 -3
  36. data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +6 -0
  37. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +6 -0
  38. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +6 -0
  39. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +6 -0
  40. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +6 -0
  41. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +18 -0
  42. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +6 -0
  43. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +6 -0
  44. data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +6 -0
  45. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +6 -0
  46. data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +6 -0
  47. data/proto_docs/google/cloud/aiplatform/v1/index.rb +6 -0
  48. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +6 -0
  49. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +6 -0
  50. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +3 -0
  51. data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +6 -0
  52. data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +5 -0
  53. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +7 -2
  54. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +3 -0
  55. data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +4 -0
  56. data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +5 -0
  57. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +1 -1
  58. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +8 -0
  59. metadata +2 -2
@@ -92,6 +92,12 @@ module Google
92
92
  # Customer-managed encryption key options for a HyperparameterTuningJob.
93
93
  # If this is set, then all resources created by the HyperparameterTuningJob
94
94
  # will be encrypted with the provided encryption key.
95
+ # @!attribute [r] satisfies_pzs
96
+ # @return [::Boolean]
97
+ # Output only. Reserved for future use.
98
+ # @!attribute [r] satisfies_pzi
99
+ # @return [::Boolean]
100
+ # Output only. Reserved for future use.
95
101
  class HyperparameterTuningJob
96
102
  include ::Google::Protobuf::MessageExts
97
103
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -91,6 +91,12 @@ module Google
91
91
  # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
92
92
  # Immutable. Customer-managed encryption key spec for an Index. If set, this
93
93
  # Index and all sub-resources of this Index will be secured by this key.
94
+ # @!attribute [r] satisfies_pzs
95
+ # @return [::Boolean]
96
+ # Output only. Reserved for future use.
97
+ # @!attribute [r] satisfies_pzi
98
+ # @return [::Boolean]
99
+ # Output only. Reserved for future use.
94
100
  class Index
95
101
  include ::Google::Protobuf::MessageExts
96
102
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -108,6 +108,12 @@ module Google
108
108
  # Immutable. Customer-managed encryption key spec for an IndexEndpoint. If
109
109
  # set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be
110
110
  # secured by this key.
111
+ # @!attribute [r] satisfies_pzs
112
+ # @return [::Boolean]
113
+ # Output only. Reserved for future use.
114
+ # @!attribute [r] satisfies_pzi
115
+ # @return [::Boolean]
116
+ # Output only. Reserved for future use.
111
117
  class IndexEndpoint
112
118
  include ::Google::Protobuf::MessageExts
113
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -141,6 +141,12 @@ module Google
141
141
  # @return [::Google::Rpc::Status]
142
142
  # Output only. Only populated when the job's state is `JOB_STATE_FAILED` or
143
143
  # `JOB_STATE_CANCELLED`.
144
+ # @!attribute [r] satisfies_pzs
145
+ # @return [::Boolean]
146
+ # Output only. Reserved for future use.
147
+ # @!attribute [r] satisfies_pzi
148
+ # @return [::Boolean]
149
+ # Output only. Reserved for future use.
144
150
  class ModelDeploymentMonitoringJob
145
151
  include ::Google::Protobuf::MessageExts
146
152
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -39,6 +39,9 @@ module Google
39
39
  # @return [::Boolean]
40
40
  # Optional. Boolean indicates whether the requested model is a Hugging Face
41
41
  # model.
42
+ # @!attribute [rw] hugging_face_token
43
+ # @return [::String]
44
+ # Optional. Token used to access Hugging Face gated models.
42
45
  class GetPublisherModelRequest
43
46
  include ::Google::Protobuf::MessageExts
44
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -76,6 +76,12 @@ module Google
76
76
  # @return [::Boolean]
77
77
  # Optional. Enable a separation of Custom model training
78
78
  # and restricted image training for tenant project.
79
+ # @!attribute [r] satisfies_pzs
80
+ # @return [::Boolean]
81
+ # Output only. Reserved for future use.
82
+ # @!attribute [r] satisfies_pzi
83
+ # @return [::Boolean]
84
+ # Output only. Reserved for future use.
79
85
  class NasJob
80
86
  include ::Google::Protobuf::MessageExts
81
87
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -87,6 +87,11 @@ module Google
87
87
  # See https://goo.gl/xmQnxf for more information and examples of labels.
88
88
  # System reserved label keys are prefixed with "aiplatform.googleapis.com/"
89
89
  # and are immutable.
90
+ # @!attribute [rw] encryption_spec
91
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
92
+ # Customer-managed encryption key spec for the notebook execution job.
93
+ # This field is auto-populated if the
94
+ # [NotebookService.NotebookRuntimeTemplate][] has an encryption spec.
90
95
  class NotebookExecutionJob
91
96
  include ::Google::Protobuf::MessageExts
92
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -475,9 +475,14 @@ module Google
475
475
  # Request message for [PredictionService.GenerateContent].
476
476
  # @!attribute [rw] model
477
477
  # @return [::String]
478
- # Required. The name of the publisher model requested to serve the
479
- # prediction. Format:
478
+ # Required. The fully qualified name of the publisher model or tuned model
479
+ # endpoint to use.
480
+ #
481
+ # Publisher model format:
480
482
  # `projects/{project}/locations/{location}/publishers/*/models/*`
483
+ #
484
+ # Tuned model endpoint format:
485
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
481
486
  # @!attribute [rw] contents
482
487
  # @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
483
488
  # Required. The content of the current conversation with the model.
@@ -252,6 +252,9 @@ module Google
252
252
  # @return [::Google::Protobuf::Map{::String => ::String}]
253
253
  # Optional. Labels for the deployment. For managing deployment config
254
254
  # like verifying, source of deployment config, etc.
255
+ # @!attribute [rw] sample_request
256
+ # @return [::String]
257
+ # Optional. Sample request for deployed endpoint.
255
258
  class DeployMetadata
256
259
  include ::Google::Protobuf::MessageExts
257
260
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -37,6 +37,10 @@ module Google
37
37
  # {::Google::Cloud::AIPlatform::V1::PipelineService::Client#create_pipeline_job PipelineService.CreatePipelineJob}.
38
38
  # CreatePipelineJobRequest.parent field is required (format:
39
39
  # projects/\\{project}/locations/\\{location}).
40
+ # @!attribute [rw] create_notebook_execution_job_request
41
+ # @return [::Google::Cloud::AIPlatform::V1::CreateNotebookExecutionJobRequest]
42
+ # Request for
43
+ # {::Google::Cloud::AIPlatform::V1::NotebookService::Client#create_notebook_execution_job NotebookService.CreateNotebookExecutionJob}.
40
44
  # @!attribute [rw] name
41
45
  # @return [::String]
42
46
  # Immutable. The resource name of the Schedule.
@@ -29,6 +29,11 @@ module Google
29
29
  # @return [::Array<::String>]
30
30
  # A list of Projects from which the forwarding rule will target the service
31
31
  # attachment.
32
+ # @!attribute [r] service_attachment
33
+ # @return [::String]
34
+ # Output only. The name of the generated service attachment resource.
35
+ # This is only populated if the endpoint is deployed with
36
+ # PrivateServiceConnect.
32
37
  class PrivateServiceConnectConfig
33
38
  include ::Google::Protobuf::MessageExts
34
39
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -180,7 +180,7 @@ module Google
180
180
  MODE_UNSPECIFIED = 0
181
181
 
182
182
  # Default model behavior, model decides to predict either a function call
183
- # or a natural language repspose.
183
+ # or a natural language response.
184
184
  AUTO = 1
185
185
 
186
186
  # Model is constrained to always predicting a function call only.
@@ -203,6 +203,14 @@ module Google
203
203
  # @!attribute [r] user_dataset_examples
204
204
  # @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
205
205
  # Output only. Sample user messages in the training dataset uri.
206
+ # @!attribute [rw] total_truncated_example_count
207
+ # @return [::Integer]
208
+ # The number of examples in the dataset that have been truncated by any
209
+ # amount.
210
+ # @!attribute [rw] truncated_example_indices
211
+ # @return [::Array<::Integer>]
212
+ # A partial sample of the indices (starting from 1) of the truncated
213
+ # examples.
206
214
  class SupervisedTuningDataStats
207
215
  include ::Google::Protobuf::MessageExts
208
216
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-ai_platform-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-08 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common