google-cloud-ai_platform-v1 0.2.0 → 0.3.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 (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +3 -3
  3. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +17 -0
  4. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +3 -0
  5. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  6. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -0
  7. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -0
  8. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +6 -0
  9. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +6 -0
  10. data/lib/google/cloud/aiplatform/v1/study_pb.rb +9 -0
  11. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +13 -0
  12. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +2 -2
  13. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +3 -4
  14. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +6 -9
  15. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +20 -18
  16. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +2 -6
  17. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +4 -4
  18. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +7 -0
  19. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +23 -0
  20. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +3 -3
  21. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +16 -0
  22. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +1 -1
  23. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +17 -0
  24. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +1 -1
  25. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +3 -0
  26. data/proto_docs/google/cloud/aiplatform/v1/study.rb +54 -0
  27. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a26dd5792b3d9b8966c82052879077619c83631fdf8ba9bfa6fd88b2c084b24
4
- data.tar.gz: ff89242e65c90c6c05fd14bc91774d7b3ecd388a9513bbf98250401a1435759a
3
+ metadata.gz: 92bb1527445e2f55160e0cd8aba3b8cd52f4f1625623457ca2844168b2b2e919
4
+ data.tar.gz: 3ee9bc4d1afb89bf136324c385b4252d32eda65d0ae3f5dc8dc34d65eea460a5
5
5
  SHA512:
6
- metadata.gz: 233b3f8cb1ffcf5f8019ac6fe9f8285c076f2481afdd4ffc95d6ff4926b410cdc8f9882eeb8285e318796801bcf873f1e1f65fcbf5cbeadaeba691d0bf365f5e
7
- data.tar.gz: a6cfae28577bce375ea6a9c53359a75f93c71a8f79260b36cfd875af7bb3a37d03c9eeb3656e62b1b35cb62775ecc376b56087e9e987a8cfca7431fb1536376e
6
+ metadata.gz: 3b3d00e88a7d0ba0c2fbc85cca6b36be003c0e5fa4248440a53c2b5105858684b0512d7f51758ebc1e7270f4e87e0fe7f9c6e9f698a460c1c17519b9dd24f772
7
+ data.tar.gz: 623549281af1adb594f95b4a8e916e92dd25a0950c7f50e14dad1a77391b1947dbc347417a4255259b85141c3a4b1887386f6e7131d2b800d5a087ef1854dcc6
@@ -896,7 +896,7 @@ module Google
896
896
  # Format:
897
897
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
898
898
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
899
- # Required. A FieldMask indicating which fields should be updated.
899
+ # Optional. A FieldMask indicating which fields should be updated.
900
900
  # Functionality of this field is not yet supported.
901
901
  # @param allow_missing [::Boolean]
902
902
  # If set to true, and the {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is not found, a new {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is
@@ -1513,7 +1513,7 @@ module Google
1513
1513
  # Format:
1514
1514
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
1515
1515
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1516
- # Required. A FieldMask indicating which fields should be updated.
1516
+ # Optional. A FieldMask indicating which fields should be updated.
1517
1517
  # Functionality of this field is not yet supported.
1518
1518
  # @param allow_missing [::Boolean]
1519
1519
  # If set to true, and the {::Google::Cloud::AIPlatform::V1::Context Context} is not found, a new {::Google::Cloud::AIPlatform::V1::Context Context} is
@@ -2417,7 +2417,7 @@ module Google
2417
2417
  # Format:
2418
2418
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
2419
2419
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2420
- # Required. A FieldMask indicating which fields should be updated.
2420
+ # Optional. A FieldMask indicating which fields should be updated.
2421
2421
  # Functionality of this field is not yet supported.
2422
2422
  # @param allow_missing [::Boolean]
2423
2423
  # If set to true, and the {::Google::Cloud::AIPlatform::V1::Execution Execution} is not found, a new {::Google::Cloud::AIPlatform::V1::Execution Execution}
@@ -486,6 +486,23 @@ module Google
486
486
  #
487
487
  # @param model [::Google::Cloud::AIPlatform::V1::Model, ::Hash]
488
488
  # Required. The Model which replaces the resource on the server.
489
+ # When Model Versioning is enabled, the model.name will be used to determine
490
+ # whether to update the model or model version.
491
+ # 1. model.name with the @ value, e.g. models/123@1, refers to a version
492
+ # specific update.
493
+ # 2. model.name without the @ value, e.g. models/123, refers to a model
494
+ # update.
495
+ # 3. model.name with @-, e.g. models/123@-, refers to a model update.
496
+ # 4. Supported model fields: display_name, description; supported
497
+ # version-specific fields: version_description. Labels are supported in both
498
+ # scenarios. Both the model labels and the version labels are merged when a
499
+ # model is returned. When updating labels, if the request is for
500
+ # model-specific update, model label gets updated. Otherwise, version labels
501
+ # get updated.
502
+ # 5. A model name or model version name fields update mismatch will cause a
503
+ # precondition error.
504
+ # 6. One request cannot update both the model and the version fields. You
505
+ # must update them separately.
489
506
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
490
507
  # Required. The update mask applies to the resource.
491
508
  # For the `FieldMask` definition, see {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
@@ -865,6 +865,9 @@ module Google
865
865
  # * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
866
866
  # Values must be in RFC 3339 format.
867
867
  # * `labels`: Supports key-value equality and key presence.
868
+ # * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard.
869
+ # * `template_metadata.version_name`: Supports `=`, `!=` comparisons, and `:`
870
+ # wildcard.
868
871
  #
869
872
  # Filter expressions can be combined together using logical operators
870
873
  # (`AND` & `OR`).
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -34,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
34
  optional :scheduling, :message, 3, "google.cloud.aiplatform.v1.Scheduling"
35
35
  optional :service_account, :string, 4
36
36
  optional :network, :string, 5
37
+ repeated :reserved_ip_ranges, :string, 13
37
38
  optional :base_output_directory, :message, 6, "google.cloud.aiplatform.v1.GcsDestination"
38
39
  optional :tensorboard, :string, 7
39
40
  optional :enable_web_access, :bool, 10
@@ -41,6 +42,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
42
  add_message "google.cloud.aiplatform.v1.WorkerPoolSpec" do
42
43
  optional :machine_spec, :message, 1, "google.cloud.aiplatform.v1.MachineSpec"
43
44
  optional :replica_count, :int64, 2
45
+ repeated :nfs_mounts, :message, 4, "google.cloud.aiplatform.v1.NfsMount"
44
46
  optional :disk_spec, :message, 5, "google.cloud.aiplatform.v1.DiskSpec"
45
47
  oneof :task do
46
48
  optional :container_spec, :message, 6, "google.cloud.aiplatform.v1.ContainerSpec"
@@ -16,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  value :JOB_STATE_CANCELLED, 7
17
17
  value :JOB_STATE_PAUSED, 8
18
18
  value :JOB_STATE_EXPIRED, 9
19
+ value :JOB_STATE_UPDATING, 10
19
20
  end
20
21
  end
21
22
  end
@@ -34,6 +34,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
34
  optional :boot_disk_type, :string, 1
35
35
  optional :boot_disk_size_gb, :int32, 2
36
36
  end
37
+ add_message "google.cloud.aiplatform.v1.NfsMount" do
38
+ optional :server, :string, 1
39
+ optional :path, :string, 2
40
+ optional :mount_point, :string, 3
41
+ end
37
42
  add_message "google.cloud.aiplatform.v1.AutoscalingMetricSpec" do
38
43
  optional :metric_name, :string, 1
39
44
  optional :target, :int32, 2
@@ -51,6 +56,7 @@ module Google
51
56
  BatchDedicatedResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchDedicatedResources").msgclass
52
57
  ResourcesConsumed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourcesConsumed").msgclass
53
58
  DiskSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DiskSpec").msgclass
59
+ NfsMount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NfsMount").msgclass
54
60
  AutoscalingMetricSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AutoscalingMetricSpec").msgclass
55
61
  end
56
62
  end
@@ -22,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  optional :endpoint, :string, 3
23
23
  optional :state, :enum, 4, "google.cloud.aiplatform.v1.JobState"
24
24
  optional :schedule_state, :enum, 5, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.MonitoringScheduleState"
25
+ optional :latest_monitoring_pipeline_metadata, :message, 25, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LatestMonitoringPipelineMetadata"
25
26
  repeated :model_deployment_monitoring_objective_configs, :message, 6, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveConfig"
26
27
  optional :model_deployment_monitoring_schedule_config, :message, 7, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig"
27
28
  optional :logging_sampling_strategy, :message, 8, "google.cloud.aiplatform.v1.SamplingStrategy"
@@ -40,6 +41,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
40
41
  optional :enable_monitoring_pipeline_logs, :bool, 22
41
42
  optional :error, :message, 23, "google.rpc.Status"
42
43
  end
44
+ add_message "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LatestMonitoringPipelineMetadata" do
45
+ optional :run_time, :message, 1, "google.protobuf.Timestamp"
46
+ optional :status, :message, 2, "google.rpc.Status"
47
+ end
43
48
  add_enum "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.MonitoringScheduleState" do
44
49
  value :MONITORING_SCHEDULE_STATE_UNSPECIFIED, 0
45
50
  value :PENDING, 1
@@ -95,6 +100,7 @@ module Google
95
100
  module AIPlatform
96
101
  module V1
97
102
  ModelDeploymentMonitoringJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob").msgclass
103
+ ModelDeploymentMonitoringJob::LatestMonitoringPipelineMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LatestMonitoringPipelineMetadata").msgclass
98
104
  ModelDeploymentMonitoringJob::MonitoringScheduleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.MonitoringScheduleState").enummodule
99
105
  ModelDeploymentMonitoringBigQueryTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable").msgclass
100
106
  ModelDeploymentMonitoringBigQueryTable::LogSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogSource").enummodule
@@ -59,6 +59,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
59
  oneof :automated_stopping_spec do
60
60
  optional :decay_curve_stopping_spec, :message, 4, "google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec"
61
61
  optional :median_automated_stopping_spec, :message, 5, "google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec"
62
+ optional :convex_automated_stopping_spec, :message, 9, "google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec"
62
63
  end
63
64
  end
64
65
  add_message "google.cloud.aiplatform.v1.StudySpec.MetricSpec" do
@@ -128,6 +129,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
128
129
  add_message "google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec" do
129
130
  optional :use_elapsed_duration, :bool, 1
130
131
  end
132
+ add_message "google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec" do
133
+ optional :max_step_count, :int64, 1
134
+ optional :min_step_count, :int64, 2
135
+ optional :min_measurement_count, :int64, 3
136
+ optional :learning_rate_parameter_name, :string, 4
137
+ optional :use_elapsed_duration, :bool, 5
138
+ end
131
139
  add_enum "google.cloud.aiplatform.v1.StudySpec.Algorithm" do
132
140
  value :ALGORITHM_UNSPECIFIED, 0
133
141
  value :GRID_SEARCH, 2
@@ -179,6 +187,7 @@ module Google
179
187
  StudySpec::ParameterSpec::ScaleType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType").enummodule
180
188
  StudySpec::DecayCurveAutomatedStoppingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec").msgclass
181
189
  StudySpec::MedianAutomatedStoppingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec").msgclass
190
+ StudySpec::ConvexAutomatedStoppingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec").msgclass
182
191
  StudySpec::Algorithm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.Algorithm").enummodule
183
192
  StudySpec::ObservationNoise = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.ObservationNoise").enummodule
184
193
  StudySpec::MeasurementSelectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType").enummodule
@@ -139,6 +139,16 @@ module Google
139
139
  # AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
140
140
  #
141
141
  # If this field is left unspecified, the job is not peered with any network.
142
+ # @!attribute [rw] reserved_ip_ranges
143
+ # @return [::Array<::String>]
144
+ # Optional. A list of names for the reserved ip ranges under the VPC network
145
+ # that can be used for this job.
146
+ #
147
+ # If set, we will deploy the job within the provided ip ranges. Otherwise,
148
+ # the job will be deployed to any ip ranges under the provided VPC
149
+ # network.
150
+ #
151
+ # Example: ['vertex-ai-ip-range'].
142
152
  # @!attribute [rw] base_output_directory
143
153
  # @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
144
154
  # The Cloud Storage location to store the output of this CustomJob or
@@ -195,6 +205,9 @@ module Google
195
205
  # @!attribute [rw] replica_count
196
206
  # @return [::Integer]
197
207
  # Optional. The number of worker replicas to use for this worker pool.
208
+ # @!attribute [rw] nfs_mounts
209
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::NfsMount>]
210
+ # Optional. List of NFS mount spec.
198
211
  # @!attribute [rw] disk_spec
199
212
  # @return [::Google::Cloud::AIPlatform::V1::DiskSpec]
200
213
  # Disk spec.
@@ -92,7 +92,7 @@ module Google
92
92
  # network name.
93
93
  # @!attribute [rw] enable_private_service_connect
94
94
  # @return [::Boolean]
95
- # If true, expose the Endpoint via private service connect.
95
+ # Deprecated: If true, expose the Endpoint via private service connect.
96
96
  #
97
97
  # Only one of the fields, {::Google::Cloud::AIPlatform::V1::Endpoint#network network} or
98
98
  # {::Google::Cloud::AIPlatform::V1::Endpoint#enable_private_service_connect enable_private_service_connect},
@@ -236,7 +236,7 @@ module Google
236
236
  # @!attribute [rw] bigquery_destination
237
237
  # @return [::Google::Cloud::AIPlatform::V1::BigQueryDestination]
238
238
  # BigQuery table for logging.
239
- # If only given project, a new dataset will be created with name
239
+ # If only given a project, a new dataset will be created with name
240
240
  # `logging_<endpoint-display-name>_<endpoint-id>` where
241
241
  # <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
242
242
  # most special characters will become underscores). If no table name is
@@ -62,10 +62,9 @@ module Google
62
62
  # "overwrite" update happens.
63
63
  # @!attribute [rw] monitoring_config
64
64
  # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig]
65
- # Optional. The default monitoring configuration for all Features with value
66
- # type
67
- # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL,
68
- # STRING, DOUBLE or INT64 under this EntityType.
65
+ # Optional. The default monitoring configuration for all Features with value type
66
+ # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL, STRING, DOUBLE or INT64 under this
67
+ # EntityType.
69
68
  #
70
69
  # If this is populated with
71
70
  # [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
@@ -65,17 +65,16 @@ module Google
65
65
  # "overwrite" update happens.
66
66
  # @!attribute [rw] disable_monitoring
67
67
  # @return [::Boolean]
68
- # Optional. If not set, use the monitoring_config defined for the EntityType
69
- # this Feature belongs to. Only Features with type
70
- # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL,
71
- # STRING, DOUBLE or INT64 can enable monitoring.
68
+ # Optional. If not set, use the monitoring_config defined for the EntityType this
69
+ # Feature belongs to.
70
+ # Only Features with type ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL, STRING, DOUBLE or
71
+ # INT64 can enable monitoring.
72
72
  #
73
73
  # If set to true, all types of data monitoring are disabled despite the
74
74
  # config on EntityType.
75
75
  # @!attribute [r] monitoring_stats_anomalies
76
76
  # @return [::Array<::Google::Cloud::AIPlatform::V1::Feature::MonitoringStatsAnomaly>]
77
- # Output only. The list of historical stats and anomalies with specified
78
- # objectives.
77
+ # Output only. The list of historical stats and anomalies with specified objectives.
79
78
  class Feature
80
79
  include ::Google::Protobuf::MessageExts
81
80
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -83,9 +82,7 @@ module Google
83
82
  # A list of historical [Snapshot
84
83
  # Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
85
84
  # Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
86
- # requested by user, sorted by
87
- # {::Google::Cloud::AIPlatform::V1::FeatureStatsAnomaly#start_time FeatureStatsAnomaly.start_time}
88
- # descending.
85
+ # requested by user, sorted by {::Google::Cloud::AIPlatform::V1::FeatureStatsAnomaly#start_time FeatureStatsAnomaly.start_time} descending.
89
86
  # @!attribute [r] objective
90
87
  # @return [::Google::Cloud::AIPlatform::V1::Feature::MonitoringStatsAnomaly::Objective]
91
88
  # Output only. The objective for each stats.
@@ -53,7 +53,8 @@ module Google
53
53
  # and are immutable.
54
54
  # @!attribute [rw] online_serving_config
55
55
  # @return [::Google::Cloud::AIPlatform::V1::Featurestore::OnlineServingConfig]
56
- # Required. Config for online serving resources.
56
+ # Optional. Config for online storage resources. If unset, the featurestore will
57
+ # not have an online store and cannot be used for online serving.
57
58
  # @!attribute [r] state
58
59
  # @return [::Google::Cloud::AIPlatform::V1::Featurestore::State]
59
60
  # Output only. State of the featurestore.
@@ -69,11 +70,10 @@ module Google
69
70
  # resources.
70
71
  # @!attribute [rw] fixed_node_count
71
72
  # @return [::Integer]
72
- # The number of nodes for each cluster. The number of nodes will not
73
- # scale automatically but can be scaled manually by providing different
74
- # values when updating.
75
- # Only one of `fixed_node_count` and `scaling` can be set. Setting one will
76
- # reset the other.
73
+ # The number of nodes for the online store. The number of nodes doesn't
74
+ # scale automatically, but you can manually update the number of
75
+ # nodes. If set to 0, the featurestore will not have an
76
+ # online store and cannot be used for online serving.
77
77
  class OnlineServingConfig
78
78
  include ::Google::Protobuf::MessageExts
79
79
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -88,24 +88,26 @@ module Google
88
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
89
89
  end
90
90
 
91
- # Possible states a Featurestore can have.
91
+ # Possible states a featurestore can have.
92
92
  module State
93
93
  # Default value. This value is unused.
94
94
  STATE_UNSPECIFIED = 0
95
95
 
96
- # State when the Featurestore configuration is not being updated and the
97
- # fields reflect the current configuration of the Featurestore. The
98
- # Featurestore is usable in this state.
96
+ # State when the featurestore configuration is not being updated and the
97
+ # fields reflect the current configuration of the featurestore. The
98
+ # featurestore is usable in this state.
99
99
  STABLE = 1
100
100
 
101
- # State when the Featurestore configuration is being updated and the fields
102
- # reflect the updated configuration of the Featurestore, not the current
103
- # one. For example, `online_serving_config.fixed_node_count` can take
104
- # minutes to update. While the update is in progress, the Featurestore
105
- # will be in the UPDATING state and the value of `fixed_node_count` will be
106
- # the updated value. Until the update completes, the actual number of nodes
107
- # can still be the original value of `fixed_node_count`. The Featurestore
108
- # is still usable in this state.
101
+ # The state of the featurestore configuration when it is being updated.
102
+ # During an update, the fields reflect either the original configuration
103
+ # or the updated configuration of the featurestore. For example,
104
+ # `online_serving_config.fixed_node_count` can take minutes to update.
105
+ # While the update is in progress, the featurestore is in the UPDATING
106
+ # state, and the value of `fixed_node_count` can be the original value or
107
+ # the updated value, depending on the progress of the operation. Until the
108
+ # update completes, the actual number of nodes can still be the original
109
+ # value of `fixed_node_count`. The featurestore is still usable in this
110
+ # state.
109
111
  UPDATING = 2
110
112
  end
111
113
  end
@@ -32,16 +32,12 @@ module Google
32
32
  # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ThresholdConfig]
33
33
  # Threshold for numerical features of anomaly detection.
34
34
  # This is shared by all objectives of Featurestore Monitoring for numerical
35
- # features (i.e. Features with type
36
- # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) DOUBLE
37
- # or INT64).
35
+ # features (i.e. Features with type ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) DOUBLE or INT64).
38
36
  # @!attribute [rw] categorical_threshold_config
39
37
  # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ThresholdConfig]
40
38
  # Threshold for categorical features of anomaly detection.
41
39
  # This is shared by all types of Featurestore Monitoring for categorical
42
- # features (i.e. Features with type
43
- # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL or
44
- # STRING).
40
+ # features (i.e. Features with type ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL or STRING).
45
41
  class FeaturestoreMonitoringConfig
46
42
  include ::Google::Protobuf::MessageExts
47
43
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -68,9 +68,9 @@ module Google
68
68
  # Private services access must already be configured for the network. If left
69
69
  # unspecified, the Endpoint is not peered with any network.
70
70
  #
71
- # Only one of the fields, {::Google::Cloud::AIPlatform::V1::IndexEndpoint#network network} or
72
- # {::Google::Cloud::AIPlatform::V1::IndexEndpoint#enable_private_service_connect enable_private_service_connect},
73
- # can be set.
71
+ # {::Google::Cloud::AIPlatform::V1::IndexEndpoint#network network} and
72
+ # [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
73
+ # are mutually exclusive.
74
74
  #
75
75
  # [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
76
76
  # projects/\\{project}/global/networks/\\{network}.
@@ -78,7 +78,7 @@ module Google
78
78
  # network name.
79
79
  # @!attribute [rw] enable_private_service_connect
80
80
  # @return [::Boolean]
81
- # Optional. If true, expose the IndexEndpoint via private service connect.
81
+ # Optional. Deprecated: If true, expose the IndexEndpoint via private service connect.
82
82
  #
83
83
  # Only one of the fields, {::Google::Cloud::AIPlatform::V1::IndexEndpoint#network network} or
84
84
  # {::Google::Cloud::AIPlatform::V1::IndexEndpoint#enable_private_service_connect enable_private_service_connect},
@@ -53,6 +53,13 @@ module Google
53
53
 
54
54
  # The job has expired.
55
55
  JOB_STATE_EXPIRED = 9
56
+
57
+ # The job is being updated. The job is only able to be updated at RUNNING
58
+ # state; if the update operation succeeds, job goes back to RUNNING state; if
59
+ # the update operation fails, the job goes back to RUNNING state with error
60
+ # messages written to [ModelDeploymentMonitoringJob.partial_errors][] field
61
+ # if it is a ModelDeploymentMonitoringJob.
62
+ JOB_STATE_UPDATING = 10
56
63
  end
57
64
  end
58
65
  end
@@ -70,6 +70,11 @@ module Google
70
70
  # replicas at maximum may handle, a portion of the traffic will be dropped.
71
71
  # If this value is not provided, will use {::Google::Cloud::AIPlatform::V1::DedicatedResources#min_replica_count min_replica_count} as the
72
72
  # default value.
73
+ #
74
+ # The value of this field impacts the charge against Vertex CPU and GPU
75
+ # quotas. Specifically, you will be charged for (max_replica_count *
76
+ # number of cores in the selected machine type) and (max_replica_count *
77
+ # number of GPUs per replica in the selected machine type).
73
78
  # @!attribute [rw] autoscaling_metric_specs
74
79
  # @return [::Array<::Google::Cloud::AIPlatform::V1::AutoscalingMetricSpec>]
75
80
  # Immutable. The metric specifications that overrides a resource
@@ -167,6 +172,24 @@ module Google
167
172
  extend ::Google::Protobuf::MessageExts::ClassMethods
168
173
  end
169
174
 
175
+ # Represents a mount configuration for Network File System (NFS) to mount.
176
+ # @!attribute [rw] server
177
+ # @return [::String]
178
+ # Required. IP address of the NFS server.
179
+ # @!attribute [rw] path
180
+ # @return [::String]
181
+ # Required. Source path exported from NFS server.
182
+ # Has to start with '/', and combined with the ip address, it indicates
183
+ # the source mount path in the form of `server:path`
184
+ # @!attribute [rw] mount_point
185
+ # @return [::String]
186
+ # Required. Destination mount path. The NFS will be mounted for the user under
187
+ # /mnt/nfs/<mount_point>
188
+ class NfsMount
189
+ include ::Google::Protobuf::MessageExts
190
+ extend ::Google::Protobuf::MessageExts::ClassMethods
191
+ end
192
+
170
193
  # The metric specification that defines the target resource utilization
171
194
  # (CPU utilization, accelerator's duty cycle, and so on) for calculating the
172
195
  # desired replica count.
@@ -238,7 +238,7 @@ module Google
238
238
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
239
239
  # @!attribute [rw] update_mask
240
240
  # @return [::Google::Protobuf::FieldMask]
241
- # Required. A FieldMask indicating which fields should be updated.
241
+ # Optional. A FieldMask indicating which fields should be updated.
242
242
  # Functionality of this field is not yet supported.
243
243
  # @!attribute [rw] allow_missing
244
244
  # @return [::Boolean]
@@ -424,7 +424,7 @@ module Google
424
424
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
425
425
  # @!attribute [rw] update_mask
426
426
  # @return [::Google::Protobuf::FieldMask]
427
- # Required. A FieldMask indicating which fields should be updated.
427
+ # Optional. A FieldMask indicating which fields should be updated.
428
428
  # Functionality of this field is not yet supported.
429
429
  # @!attribute [rw] allow_missing
430
430
  # @return [::Boolean]
@@ -678,7 +678,7 @@ module Google
678
678
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
679
679
  # @!attribute [rw] update_mask
680
680
  # @return [::Google::Protobuf::FieldMask]
681
- # Required. A FieldMask indicating which fields should be updated.
681
+ # Optional. A FieldMask indicating which fields should be updated.
682
682
  # Functionality of this field is not yet supported.
683
683
  # @!attribute [rw] allow_missing
684
684
  # @return [::Boolean]
@@ -47,6 +47,9 @@ module Google
47
47
  # @!attribute [r] schedule_state
48
48
  # @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob::MonitoringScheduleState]
49
49
  # Output only. Schedule state when the monitoring job is in Running state.
50
+ # @!attribute [r] latest_monitoring_pipeline_metadata
51
+ # @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob::LatestMonitoringPipelineMetadata]
52
+ # Output only. Latest triggered monitoring pipeline metadata.
50
53
  # @!attribute [rw] model_deployment_monitoring_objective_configs
51
54
  # @return [::Array<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringObjectiveConfig>]
52
55
  # Required. The config for monitoring objectives. This is a per DeployedModel config.
@@ -139,6 +142,19 @@ module Google
139
142
  include ::Google::Protobuf::MessageExts
140
143
  extend ::Google::Protobuf::MessageExts::ClassMethods
141
144
 
145
+ # All metadata of most recent monitoring pipelines.
146
+ # @!attribute [rw] run_time
147
+ # @return [::Google::Protobuf::Timestamp]
148
+ # The time that most recent monitoring pipelines that is related to this
149
+ # run.
150
+ # @!attribute [rw] status
151
+ # @return [::Google::Rpc::Status]
152
+ # The status of the most recent monitoring pipeline.
153
+ class LatestMonitoringPipelineMetadata
154
+ include ::Google::Protobuf::MessageExts
155
+ extend ::Google::Protobuf::MessageExts::ClassMethods
156
+ end
157
+
142
158
  # @!attribute [rw] key
143
159
  # @return [::String]
144
160
  # @!attribute [rw] value
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- # Next ID: 7
24
+ # Next ID: 8
25
25
  # @!attribute [rw] training_dataset
26
26
  # @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::TrainingDataset]
27
27
  # Training dataset for models. This field has to be set only if
@@ -129,6 +129,23 @@ module Google
129
129
  # @!attribute [rw] model
130
130
  # @return [::Google::Cloud::AIPlatform::V1::Model]
131
131
  # Required. The Model which replaces the resource on the server.
132
+ # When Model Versioning is enabled, the model.name will be used to determine
133
+ # whether to update the model or model version.
134
+ # 1. model.name with the @ value, e.g. models/123@1, refers to a version
135
+ # specific update.
136
+ # 2. model.name without the @ value, e.g. models/123, refers to a model
137
+ # update.
138
+ # 3. model.name with @-, e.g. models/123@-, refers to a model update.
139
+ # 4. Supported model fields: display_name, description; supported
140
+ # version-specific fields: version_description. Labels are supported in both
141
+ # scenarios. Both the model labels and the version labels are merged when a
142
+ # model is returned. When updating labels, if the request is for
143
+ # model-specific update, model label gets updated. Otherwise, version labels
144
+ # get updated.
145
+ # 5. A model name or model version name fields update mismatch will cause a
146
+ # precondition error.
147
+ # 6. One request cannot update both the model and the version fields. You
148
+ # must update them separately.
132
149
  # @!attribute [rw] update_mask
133
150
  # @return [::Google::Protobuf::FieldMask]
134
151
  # Required. The update mask applies to the resource.
@@ -44,7 +44,7 @@ module Google
44
44
  # Output only. Timestamp when this PipelineJob was most recently updated.
45
45
  # @!attribute [rw] pipeline_spec
46
46
  # @return [::Google::Protobuf::Struct]
47
- # Required. The spec of the pipeline.
47
+ # The spec of the pipeline.
48
48
  # @!attribute [r] state
49
49
  # @return [::Google::Cloud::AIPlatform::V1::PipelineState]
50
50
  # Output only. The detailed state of the job.
@@ -175,6 +175,9 @@ module Google
175
175
  # * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
176
176
  # Values must be in RFC 3339 format.
177
177
  # * `labels`: Supports key-value equality and key presence.
178
+ # * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard.
179
+ # * `template_metadata.version_name`: Supports `=`, `!=` comparisons, and `:`
180
+ # wildcard.
178
181
  #
179
182
  # Filter expressions can be combined together using logical operators
180
183
  # (`AND` & `OR`).
@@ -187,6 +187,9 @@ module Google
187
187
  # @!attribute [rw] median_automated_stopping_spec
188
188
  # @return [::Google::Cloud::AIPlatform::V1::StudySpec::MedianAutomatedStoppingSpec]
189
189
  # The automated early stopping spec using median rule.
190
+ # @!attribute [rw] convex_automated_stopping_spec
191
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ConvexAutomatedStoppingSpec]
192
+ # The automated early stopping spec using convex stopping rule.
190
193
  # @!attribute [rw] metrics
191
194
  # @return [::Array<::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec>]
192
195
  # Required. Metric specs for the Study.
@@ -448,6 +451,57 @@ module Google
448
451
  extend ::Google::Protobuf::MessageExts::ClassMethods
449
452
  end
450
453
 
454
+ # Configuration for ConvexAutomatedStoppingSpec.
455
+ # When there are enough completed trials (configured by
456
+ # min_measurement_count), for pending trials with enough measurements and
457
+ # steps, the policy first computes an overestimate of the objective value at
458
+ # max_num_steps according to the slope of the incomplete objective value
459
+ # curve. No prediction can be made if the curve is completely flat. If the
460
+ # overestimation is worse than the best objective value of the completed
461
+ # trials, this pending trial will be early-stopped, but a last measurement
462
+ # will be added to the pending trial with max_num_steps and predicted
463
+ # objective value from the autoregression model.
464
+ # @!attribute [rw] max_step_count
465
+ # @return [::Integer]
466
+ # Steps used in predicting the final objective for early stopped trials. In
467
+ # general, it's set to be the same as the defined steps in training /
468
+ # tuning. If not defined, it will learn it from the completed trials. When
469
+ # use_steps is false, this field is set to the maximum elapsed seconds.
470
+ # @!attribute [rw] min_step_count
471
+ # @return [::Integer]
472
+ # Minimum number of steps for a trial to complete. Trials which do not have
473
+ # a measurement with step_count > min_step_count won't be considered for
474
+ # early stopping. It's ok to set it to 0, and a trial can be early stopped
475
+ # at any stage. By default, min_step_count is set to be one-tenth of the
476
+ # max_step_count.
477
+ # When use_elapsed_duration is true, this field is set to the minimum
478
+ # elapsed seconds.
479
+ # @!attribute [rw] min_measurement_count
480
+ # @return [::Integer]
481
+ # The minimal number of measurements in a Trial. Early-stopping checks
482
+ # will not trigger if less than min_measurement_count+1 completed trials or
483
+ # pending trials with less than min_measurement_count measurements. If not
484
+ # defined, the default value is 5.
485
+ # @!attribute [rw] learning_rate_parameter_name
486
+ # @return [::String]
487
+ # The hyper-parameter name used in the tuning job that stands for learning
488
+ # rate. Leave it blank if learning rate is not in a parameter in tuning.
489
+ # The learning_rate is used to estimate the objective value of the ongoing
490
+ # trial.
491
+ # @!attribute [rw] use_elapsed_duration
492
+ # @return [::Boolean]
493
+ # This bool determines whether or not the rule is applied based on
494
+ # elapsed_secs or steps. If use_elapsed_duration==false, the early stopping
495
+ # decision is made according to the predicted objective values according to
496
+ # the target steps. If use_elapsed_duration==true, elapsed_secs is used
497
+ # instead of steps. Also, in this case, the parameters max_num_steps and
498
+ # min_num_steps are overloaded to contain max_elapsed_seconds and
499
+ # min_elapsed_seconds.
500
+ class ConvexAutomatedStoppingSpec
501
+ include ::Google::Protobuf::MessageExts
502
+ extend ::Google::Protobuf::MessageExts::ClassMethods
503
+ end
504
+
451
505
  # The available search algorithms for the Study.
452
506
  module Algorithm
453
507
  # The default algorithm used by Vertex AI for [hyperparameter
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.2.0
4
+ version: 0.3.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: 2022-03-30 00:00:00.000000000 Z
11
+ date: 2022-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common