google-cloud-ai_platform-v1 0.2.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -0
  3. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +3 -3
  4. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +17 -0
  5. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +3 -0
  6. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  7. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +2 -1
  8. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +2 -1
  9. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +2 -1
  10. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +2 -1
  11. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +2 -1
  12. data/lib/google/cloud/aiplatform/v1/context_pb.rb +2 -1
  13. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +4 -1
  14. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +2 -1
  15. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +2 -1
  16. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +2 -1
  17. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +2 -1
  18. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +2 -1
  19. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +2 -1
  20. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +2 -1
  21. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +2 -1
  22. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -1
  23. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +2 -1
  24. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +2 -1
  25. data/lib/google/cloud/aiplatform/v1/event_pb.rb +2 -1
  26. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +2 -1
  27. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +3 -1
  28. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +2 -1
  29. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +2 -1
  30. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +2 -1
  31. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +2 -1
  32. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +2 -1
  33. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +8 -1
  34. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +2 -1
  35. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +2 -1
  36. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -1
  37. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +2 -1
  38. data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
  39. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +2 -1
  40. data/lib/google/cloud/aiplatform/v1/io_pb.rb +2 -1
  41. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +2 -1
  42. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -0
  43. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +2 -1
  44. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +8 -1
  45. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +2 -1
  46. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +2 -1
  47. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +2 -1
  48. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
  49. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +2 -1
  50. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +2 -1
  51. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +8 -1
  52. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +4 -1
  53. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +2 -1
  54. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +2 -1
  55. data/lib/google/cloud/aiplatform/v1/model_pb.rb +2 -1
  56. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -1
  57. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +2 -1
  58. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -0
  59. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +10 -1
  60. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +2 -1
  61. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +2 -1
  62. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +2 -1
  63. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +2 -1
  64. data/lib/google/cloud/aiplatform/v1/study_pb.rb +11 -1
  65. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +2 -1
  66. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +2 -1
  67. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +2 -1
  68. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +2 -1
  69. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +2 -1
  70. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +2 -1
  71. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +2 -1
  72. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +2 -1
  73. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +2 -1
  74. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +13 -0
  75. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +4 -4
  76. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +3 -4
  77. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +3 -0
  78. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +6 -9
  79. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +39 -16
  80. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +2 -6
  81. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +1 -1
  82. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +4 -4
  83. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +7 -0
  84. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +23 -0
  85. data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +1 -1
  86. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +3 -3
  87. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +16 -0
  88. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +9 -0
  89. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +3 -1
  90. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +17 -0
  91. data/proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb +45 -0
  92. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +33 -1
  93. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +3 -0
  94. data/proto_docs/google/cloud/aiplatform/v1/study.rb +54 -0
  95. data/proto_docs/google/protobuf/any.rb +3 -3
  96. data/proto_docs/google/protobuf/struct.rb +2 -2
  97. metadata +5 -3
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/unmanaged_container_model.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/aiplatform/v1/model_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/aiplatform/v1/unmanaged_container_model.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/vizier_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/cloud/aiplatform/v1/study_pb'
10
12
  require 'google/longrunning/operations_pb'
11
13
  require 'google/protobuf/empty_pb'
12
14
  require 'google/protobuf/timestamp_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/aiplatform/v1/vizier_service.proto", :syntax => :proto3) do
@@ -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},
@@ -146,8 +146,8 @@ module Google
146
146
  # This value should be 1-10 characters, and valid characters are /[0-9]/.
147
147
  # @!attribute [rw] model
148
148
  # @return [::String]
149
- # Required. The name of the Model that this is the deployment of. Note that the Model
150
- # may be in a different location than the DeployedModel's Endpoint.
149
+ # Required. The resource name of the Model that this is the deployment of. Note that
150
+ # the Model may be in a different location than the DeployedModel's Endpoint.
151
151
  # @!attribute [rw] display_name
152
152
  # @return [::String]
153
153
  # The display name of the DeployedModel. If not provided upon creation,
@@ -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
@@ -59,6 +59,9 @@ module Google
59
59
  # Note: The URI given on output may be different, including the URI scheme,
60
60
  # than the one given on input. The output URI will point to a location where
61
61
  # the user only has a read access.
62
+ # @!attribute [rw] latent_space_source
63
+ # @return [::String]
64
+ # Name of the source to generate embeddings for example based explanations.
62
65
  class ExplanationMetadata
63
66
  include ::Google::Protobuf::MessageExts
64
67
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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,14 +70,34 @@ 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.
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
+ # @!attribute [rw] scaling
78
+ # @return [::Google::Cloud::AIPlatform::V1::Featurestore::OnlineServingConfig::Scaling]
79
+ # Online serving scaling configuration.
75
80
  # Only one of `fixed_node_count` and `scaling` can be set. Setting one will
76
81
  # reset the other.
77
82
  class OnlineServingConfig
78
83
  include ::Google::Protobuf::MessageExts
79
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
85
+
86
+ # Online serving scaling configuration. If min_node_count and
87
+ # max_node_count are set to the same value, the cluster will be configured
88
+ # with the fixed number of node (no auto-scaling).
89
+ # @!attribute [rw] min_node_count
90
+ # @return [::Integer]
91
+ # Required. The minimum number of nodes to scale down to. Must be greater than or
92
+ # equal to 1.
93
+ # @!attribute [rw] max_node_count
94
+ # @return [::Integer]
95
+ # The maximum number of nodes to scale up to. Must be greater than
96
+ # min_node_count, and less than or equal to 10 times of 'min_node_count'.
97
+ class Scaling
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+ end
80
101
  end
81
102
 
82
103
  # @!attribute [rw] key
@@ -88,24 +109,26 @@ module Google
88
109
  extend ::Google::Protobuf::MessageExts::ClassMethods
89
110
  end
90
111
 
91
- # Possible states a Featurestore can have.
112
+ # Possible states a featurestore can have.
92
113
  module State
93
114
  # Default value. This value is unused.
94
115
  STATE_UNSPECIFIED = 0
95
116
 
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.
117
+ # State when the featurestore configuration is not being updated and the
118
+ # fields reflect the current configuration of the featurestore. The
119
+ # featurestore is usable in this state.
99
120
  STABLE = 1
100
121
 
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.
122
+ # The state of the featurestore configuration when it is being updated.
123
+ # During an update, the fields reflect either the original configuration
124
+ # or the updated configuration of the featurestore. For example,
125
+ # `online_serving_config.fixed_node_count` can take minutes to update.
126
+ # While the update is in progress, the featurestore is in the UPDATING
127
+ # state, and the value of `fixed_node_count` can be the original value or
128
+ # the updated value, depending on the progress of the operation. Until the
129
+ # update completes, the actual number of nodes can still be the original
130
+ # value of `fixed_node_count`. The featurestore is still usable in this
131
+ # state.
109
132
  UPDATING = 2
110
133
  end
111
134
  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
@@ -139,7 +139,7 @@ module Google
139
139
  end
140
140
 
141
141
  # Value for a feature.
142
- # NEXT ID: 15
142
+ # (-- NEXT ID: 15 --)
143
143
  # @!attribute [rw] bool_value
144
144
  # @return [::Boolean]
145
145
  # Bool type feature value.
@@ -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.
@@ -30,7 +30,7 @@ module Google
30
30
  # speeds up the batch operation's execution, but too high value will result
31
31
  # in a whole batch not fitting in a machine's memory, and the whole
32
32
  # operation will fail.
33
- # The default value is 4.
33
+ # The default value is 64.
34
34
  class ManualBatchTuningParameters
35
35
  include ::Google::Protobuf::MessageExts
36
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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
@@ -26,6 +26,9 @@ module Google
26
26
  # @!attribute [r] name
27
27
  # @return [::String]
28
28
  # Output only. The resource name of the ModelEvaluation.
29
+ # @!attribute [rw] display_name
30
+ # @return [::String]
31
+ # The display name of the ModelEvaluation.
29
32
  # @!attribute [rw] metrics_schema_uri
30
33
  # @return [::String]
31
34
  # Points to a YAML file stored on Google Cloud Storage describing the
@@ -76,6 +79,12 @@ module Google
76
79
  # @return [::Array<::Google::Cloud::AIPlatform::V1::ModelEvaluation::ModelEvaluationExplanationSpec>]
77
80
  # Describes the values of {::Google::Cloud::AIPlatform::V1::ExplanationSpec ExplanationSpec} that are used for explaining
78
81
  # the predicted values on the evaluated data.
82
+ # @!attribute [rw] metadata
83
+ # @return [::Google::Protobuf::Value]
84
+ # The metadata of the ModelEvaluation.
85
+ # For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a
86
+ # structured value with keys of "pipeline_job_id", "evaluation_dataset_type",
87
+ # "evaluation_dataset_path".
79
88
  class ModelEvaluation
80
89
  include ::Google::Protobuf::MessageExts
81
90
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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
@@ -62,6 +62,8 @@ module Google
62
62
  #
63
63
  # "csv"
64
64
  # The source file is a CSV file.
65
+ # "jsonl"
66
+ # The source file is a JSONL file.
65
67
  # @!attribute [rw] target_field
66
68
  # @return [::String]
67
69
  # The target field name the model is to predict.
@@ -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.
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # Represents the failure policy of a pipeline. Currently, the default of a
25
+ # pipeline is that the pipeline will continue to run until no more tasks can be
26
+ # executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
27
+ # pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling
28
+ # any new tasks when a task has failed. Any scheduled tasks will continue to
29
+ # completion.
30
+ module PipelineFailurePolicy
31
+ # Default value, and follows fail slow behavior.
32
+ PIPELINE_FAILURE_POLICY_UNSPECIFIED = 0
33
+
34
+ # Indicates that the pipeline should continue to run until all possible
35
+ # tasks have been scheduled and completed.
36
+ PIPELINE_FAILURE_POLICY_FAIL_SLOW = 1
37
+
38
+ # Indicates that the pipeline should stop scheduling new tasks after a task
39
+ # has failed.
40
+ PIPELINE_FAILURE_POLICY_FAIL_FAST = 2
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -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.
@@ -97,6 +97,14 @@ module Google
97
97
  # being launched, if applied, such as Vertex AI
98
98
  # Training or Dataflow job. If left unspecified, the workload is not peered
99
99
  # with any network.
100
+ # @!attribute [rw] template_uri
101
+ # @return [::String]
102
+ # A template uri from where the {::Google::Cloud::AIPlatform::V1::PipelineJob#pipeline_spec PipelineJob.pipeline_spec}, if empty, will
103
+ # be downloaded.
104
+ # @!attribute [r] template_metadata
105
+ # @return [::Google::Cloud::AIPlatform::V1::PipelineTemplateMetadata]
106
+ # Output only. Pipeline template metadata. Will fill up fields if
107
+ # {::Google::Cloud::AIPlatform::V1::PipelineJob#template_uri PipelineJob.template_uri} is from supported template registry.
100
108
  class PipelineJob
101
109
  include ::Google::Protobuf::MessageExts
102
110
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -126,6 +134,14 @@ module Google
126
134
  # at runtime. This field is used by pipelines built using
127
135
  # `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built
128
136
  # using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
137
+ # @!attribute [rw] failure_policy
138
+ # @return [::Google::Cloud::AIPlatform::V1::PipelineFailurePolicy]
139
+ # Represents the failure policy of a pipeline. Currently, the default of a
140
+ # pipeline is that the pipeline will continue to run until no more tasks
141
+ # can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW.
142
+ # However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it
143
+ # will stop scheduling any new tasks when a task has failed. Any scheduled
144
+ # tasks will continue to completion.
129
145
  class RuntimeConfig
130
146
  include ::Google::Protobuf::MessageExts
131
147
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -159,6 +175,22 @@ module Google
159
175
  end
160
176
  end
161
177
 
178
+ # Pipeline template metadata if {::Google::Cloud::AIPlatform::V1::PipelineJob#template_uri PipelineJob.template_uri} is from supported
179
+ # template registry. Currently, the only supported registry is Artifact
180
+ # Registry.
181
+ # @!attribute [rw] version
182
+ # @return [::String]
183
+ # The version_name in artifact registry.
184
+ #
185
+ # Will always be presented in output if the {::Google::Cloud::AIPlatform::V1::PipelineJob#template_uri PipelineJob.template_uri} is
186
+ # from supported template registry.
187
+ #
188
+ # Format is "sha256:abcdef123456...".
189
+ class PipelineTemplateMetadata
190
+ include ::Google::Protobuf::MessageExts
191
+ extend ::Google::Protobuf::MessageExts::ClassMethods
192
+ end
193
+
162
194
  # The runtime detail of PipelineJob.
163
195
  # @!attribute [r] pipeline_context
164
196
  # @return [::Google::Cloud::AIPlatform::V1::Context]
@@ -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`: Supports `=`, `!=` comparisons, and `:`
180
+ # wildcard.
178
181
  #
179
182
  # Filter expressions can be combined together using logical operators
180
183
  # (`AND` & `OR`).