google-cloud-ai_platform-v1 0.13.0 → 0.15.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 (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +6 -2
  3. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +9 -4
  4. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -4
  5. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  6. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -0
  7. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -0
  8. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +1 -0
  9. data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -0
  10. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +2 -0
  11. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +1 -0
  12. data/proto_docs/google/api/client.rb +318 -0
  13. data/proto_docs/google/api/launch_stage.rb +71 -0
  14. data/proto_docs/google/cloud/aiplatform/v1/artifact.rb +1 -0
  15. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +9 -0
  16. data/proto_docs/google/cloud/aiplatform/v1/context.rb +1 -0
  17. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +18 -0
  18. data/proto_docs/google/cloud/aiplatform/v1/execution.rb +1 -0
  19. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +4 -2
  20. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -1
  21. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +1 -1
  22. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +9 -4
  23. data/proto_docs/google/cloud/aiplatform/v1/model.rb +7 -2
  24. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +13 -2
  25. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +4 -4
  26. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +3 -0
  27. data/proto_docs/google/cloud/aiplatform/v1/user_action_reference.rb +2 -2
  28. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f902b8c33ab6a8356d2271fa266775882e3f6b4352a77b9619d915dd057b3669
4
- data.tar.gz: c345efacea4673cd9c82e147ec8f99d97c934a573f056680e4ab6bedac6b6fb6
3
+ metadata.gz: fec07cb88ed843442c56042d5870bcc796bf1df48c833721ed6371aa3ee55edb
4
+ data.tar.gz: 0ba1012707451c007cabf7181b93edc3f57701570f878397330aff29a134a906
5
5
  SHA512:
6
- metadata.gz: 4ed990ba9cc2364f1a4fac8683124300b7b28ab4380a979c8a4a20282491e5c0274b17d5c4b941d373b641bc2ab8e7423d1320dfb9e38aee2300293e499e5daa
7
- data.tar.gz: 988cbdf0ec08ff19ea3046f104c674281fa4aecbb2694525655556524dfed74205e80cc55956024aa8848968b117b0ce862272b89409261f78004869786adf79
6
+ metadata.gz: 948ae208928bdf72481e5a8717c124e651a4abe93985f798e2631d38fbec82035a51d2185bb32372811647180d7a713165ae458b3b5e90d4871954dbf415507b
7
+ data.tar.gz: 7d23e21a73d60fd11f1dfc4d85b1101867fe8ac387b8d2688b9b143991da71481798bddc6e7ef5f1b22f990910da628bc268b39995a6cfdfc057b4d3759df6ec
@@ -1286,7 +1286,7 @@ module Google
1286
1286
  # Required. The ID to use for the Feature, which will become the final component of
1287
1287
  # the Feature's resource name.
1288
1288
  #
1289
- # This value may be up to 60 characters, and valid characters are
1289
+ # This value may be up to 128 characters, and valid characters are
1290
1290
  # `[a-z0-9_]`. The first character cannot be a number.
1291
1291
  #
1292
1292
  # The value must be unique within an EntityType.
@@ -2052,7 +2052,7 @@ module Google
2052
2052
  # @param options [::Gapic::CallOptions, ::Hash]
2053
2053
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2054
2054
  #
2055
- # @overload batch_read_feature_values(csv_read_instances: nil, bigquery_read_instances: nil, featurestore: nil, destination: nil, pass_through_fields: nil, entity_type_specs: nil)
2055
+ # @overload batch_read_feature_values(csv_read_instances: nil, bigquery_read_instances: nil, featurestore: nil, destination: nil, pass_through_fields: nil, entity_type_specs: nil, start_time: nil)
2056
2056
  # Pass arguments to `batch_read_feature_values` via keyword arguments. Note that at
2057
2057
  # least one keyword argument is required. To specify no parameters, or to keep all
2058
2058
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2104,6 +2104,10 @@ module Google
2104
2104
  # [BatchReadFeatureValuesRequest.entity_type_specs] must have a column
2105
2105
  # specifying entity IDs in the EntityType in
2106
2106
  # [BatchReadFeatureValuesRequest.request][] .
2107
+ # @param start_time [::Google::Protobuf::Timestamp, ::Hash]
2108
+ # Optional. Excludes Feature values with feature generation timestamp before this
2109
+ # timestamp. If not set, retrieve oldest values kept in Feature Store.
2110
+ # Timestamp, if present, must not have higher than millisecond precision.
2107
2111
  #
2108
2112
  # @yield [response, operation] Access the result along with the RPC operation
2109
2113
  # @yieldparam response [::Gapic::Operation]
@@ -824,7 +824,8 @@ module Google
824
824
  # `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
825
825
  #
826
826
  # Each of the above supported filter types can be combined together using
827
- # logical operators (`AND` & `OR`).
827
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
828
+ # is 5.
828
829
  #
829
830
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
830
831
  # @param order_by [::String]
@@ -1448,7 +1449,8 @@ module Google
1448
1449
  # ```
1449
1450
  #
1450
1451
  # Each of the above supported filters can be combined together using
1451
- # logical operators (`AND` & `OR`).
1452
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
1453
+ # is 5.
1452
1454
  #
1453
1455
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
1454
1456
  # @param order_by [::String]
@@ -2452,7 +2454,9 @@ module Google
2452
2454
  # `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
2453
2455
  #
2454
2456
  # Each of the above supported filters can be combined together using
2455
- # logical operators (`AND` & `OR`).
2457
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
2458
+ # is 5.
2459
+ #
2456
2460
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
2457
2461
  # @param order_by [::String]
2458
2462
  # How the list of messages is ordered. Specify the values to order by and an
@@ -3359,7 +3363,8 @@ module Google
3359
3363
  # For example: `metadata.field_1.number_value = 10.0`
3360
3364
  #
3361
3365
  # Each of the above supported filter types can be combined together using
3362
- # logical operators (`AND` & `OR`).
3366
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
3367
+ # is 5.
3363
3368
  #
3364
3369
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
3365
3370
  #
@@ -975,7 +975,7 @@ module Google
975
975
  # @param parent [::String]
976
976
  # Required. The resource name of the Tensorboard to list TensorboardExperiments.
977
977
  # Format:
978
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}'
978
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
979
979
  # @param filter [::String]
980
980
  # Lists the TensorboardExperiments that match the filter expression.
981
981
  # @param page_size [::Integer]
@@ -1551,7 +1551,7 @@ module Google
1551
1551
  # @param parent [::String]
1552
1552
  # Required. The resource name of the TensorboardExperiment to list TensorboardRuns.
1553
1553
  # Format:
1554
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}/experiments/\\{experiment}'
1554
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
1555
1555
  # @param filter [::String]
1556
1556
  # Lists the TensorboardRuns that match the filter expression.
1557
1557
  # @param page_size [::Integer]
@@ -2130,7 +2130,7 @@ module Google
2130
2130
  # @param parent [::String]
2131
2131
  # Required. The resource name of the TensorboardRun to list TensorboardTimeSeries.
2132
2132
  # Format:
2133
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}/experiments/\\{experiment}/runs/\\{run}'
2133
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
2134
2134
  # @param filter [::String]
2135
2135
  # Lists the TensorboardTimeSeries that match the filter expression.
2136
2136
  # @param page_size [::Integer]
@@ -2535,7 +2535,7 @@ module Google
2535
2535
  # @param time_series [::String]
2536
2536
  # Required. The resource name of the TensorboardTimeSeries to list Blobs.
2537
2537
  # Format:
2538
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}/experiments/\\{experiment}/runs/\\{run}/timeSeries/\\{time_series}'
2538
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
2539
2539
  # @param blob_ids [::Array<::String>]
2540
2540
  # IDs of the blobs to read.
2541
2541
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end
@@ -29,6 +29,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
29
  optional :model_parameters, :message, 5, "google.protobuf.Value"
30
30
  optional :output_config, :message, 6, "google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig"
31
31
  optional :dedicated_resources, :message, 7, "google.cloud.aiplatform.v1.BatchDedicatedResources"
32
+ optional :service_account, :string, 29
32
33
  optional :manual_batch_tuning_parameters, :message, 8, "google.cloud.aiplatform.v1.ManualBatchTuningParameters"
33
34
  optional :generate_explanation, :bool, 23
34
35
  optional :explanation_spec, :message, 25, "google.cloud.aiplatform.v1.ExplanationSpec"
@@ -26,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
26
  end
27
27
  add_message "google.cloud.aiplatform.v1.ImportDataConfig" do
28
28
  map :data_item_labels, :string, :string, 2
29
+ map :annotation_labels, :string, :string, 3
29
30
  optional :import_schema_uri, :string, 4
30
31
  oneof :source do
31
32
  optional :gcs_source, :message, 1, "google.cloud.aiplatform.v1.GcsSource"
@@ -79,6 +79,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
79
79
  optional :destination, :message, 4, "google.cloud.aiplatform.v1.FeatureValueDestination"
80
80
  repeated :pass_through_fields, :message, 8, "google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.PassThroughField"
81
81
  repeated :entity_type_specs, :message, 7, "google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpec"
82
+ optional :start_time, :message, 11, "google.protobuf.Timestamp"
82
83
  oneof :read_option do
83
84
  optional :csv_read_instances, :message, 3, "google.cloud.aiplatform.v1.CsvSource"
84
85
  optional :bigquery_read_instances, :message, 5, "google.cloud.aiplatform.v1.BigQuerySource"
@@ -41,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
41
  map :labels, :string, :string, 17
42
42
  optional :encryption_spec, :message, 24, "google.cloud.aiplatform.v1.EncryptionSpec"
43
43
  optional :model_source_info, :message, 38, "google.cloud.aiplatform.v1.ModelSourceInfo"
44
+ optional :metadata_artifact, :string, 44
44
45
  end
45
46
  add_message "google.cloud.aiplatform.v1.Model.ExportFormat" do
46
47
  optional :id, :string, 1
@@ -101,6 +101,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
101
101
  add_message "google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.ContainerDetail" do
102
102
  optional :main_job, :string, 1
103
103
  optional :pre_caching_check_job, :string, 2
104
+ repeated :failed_main_jobs, :string, 3
105
+ repeated :failed_pre_caching_check_jobs, :string, 4
104
106
  end
105
107
  add_message "google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail" do
106
108
  optional :job, :string, 1
@@ -39,6 +39,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
39
39
  optional :annotations_filter, :string, 6
40
40
  optional :annotation_schema_uri, :string, 9
41
41
  optional :saved_query_id, :string, 7
42
+ optional :persist_ml_use_assignment, :bool, 11
42
43
  oneof :split do
43
44
  optional :fraction_split, :message, 2, "google.cloud.aiplatform.v1.FractionSplit"
44
45
  optional :filter_split, :message, 3, "google.cloud.aiplatform.v1.FilterSplit"
@@ -0,0 +1,318 @@
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 Api
22
+ # Required information for every language.
23
+ # @!attribute [rw] reference_docs_uri
24
+ # @return [::String]
25
+ # Link to automatically generated reference documentation. Example:
26
+ # https://cloud.google.com/nodejs/docs/reference/asset/latest
27
+ # @!attribute [rw] destinations
28
+ # @return [::Array<::Google::Api::ClientLibraryDestination>]
29
+ # The destination where API teams want this client library to be published.
30
+ class CommonLanguageSettings
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Details about how and where to publish client libraries.
36
+ # @!attribute [rw] version
37
+ # @return [::String]
38
+ # Version of the API to apply these settings to.
39
+ # @!attribute [rw] launch_stage
40
+ # @return [::Google::Api::LaunchStage]
41
+ # Launch stage of this version of the API.
42
+ # @!attribute [rw] rest_numeric_enums
43
+ # @return [::Boolean]
44
+ # When using transport=rest, the client request will encode enums as
45
+ # numbers rather than strings.
46
+ # @!attribute [rw] java_settings
47
+ # @return [::Google::Api::JavaSettings]
48
+ # Settings for legacy Java features, supported in the Service YAML.
49
+ # @!attribute [rw] cpp_settings
50
+ # @return [::Google::Api::CppSettings]
51
+ # Settings for C++ client libraries.
52
+ # @!attribute [rw] php_settings
53
+ # @return [::Google::Api::PhpSettings]
54
+ # Settings for PHP client libraries.
55
+ # @!attribute [rw] python_settings
56
+ # @return [::Google::Api::PythonSettings]
57
+ # Settings for Python client libraries.
58
+ # @!attribute [rw] node_settings
59
+ # @return [::Google::Api::NodeSettings]
60
+ # Settings for Node client libraries.
61
+ # @!attribute [rw] dotnet_settings
62
+ # @return [::Google::Api::DotnetSettings]
63
+ # Settings for .NET client libraries.
64
+ # @!attribute [rw] ruby_settings
65
+ # @return [::Google::Api::RubySettings]
66
+ # Settings for Ruby client libraries.
67
+ # @!attribute [rw] go_settings
68
+ # @return [::Google::Api::GoSettings]
69
+ # Settings for Go client libraries.
70
+ class ClientLibrarySettings
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # This message configures the settings for publishing [Google Cloud Client
76
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
77
+ # generated from the service config.
78
+ # @!attribute [rw] method_settings
79
+ # @return [::Array<::Google::Api::MethodSettings>]
80
+ # A list of API method settings, e.g. the behavior for methods that use the
81
+ # long-running operation pattern.
82
+ # @!attribute [rw] new_issue_uri
83
+ # @return [::String]
84
+ # Link to a place that API users can report issues. Example:
85
+ # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
+ # @!attribute [rw] documentation_uri
87
+ # @return [::String]
88
+ # Link to product home page. Example:
89
+ # https://cloud.google.com/asset-inventory/docs/overview
90
+ # @!attribute [rw] api_short_name
91
+ # @return [::String]
92
+ # Used as a tracking tag when collecting data about the APIs developer
93
+ # relations artifacts like docs, packages delivered to package managers,
94
+ # etc. Example: "speech".
95
+ # @!attribute [rw] github_label
96
+ # @return [::String]
97
+ # GitHub label to apply to issues and pull requests opened for this API.
98
+ # @!attribute [rw] codeowner_github_teams
99
+ # @return [::Array<::String>]
100
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub
101
+ # containing source code for the client libraries for this API.
102
+ # @!attribute [rw] doc_tag_prefix
103
+ # @return [::String]
104
+ # A prefix used in sample code when demarking regions to be included in
105
+ # documentation.
106
+ # @!attribute [rw] organization
107
+ # @return [::Google::Api::ClientLibraryOrganization]
108
+ # For whom the client library is being published.
109
+ # @!attribute [rw] library_settings
110
+ # @return [::Array<::Google::Api::ClientLibrarySettings>]
111
+ # Client library settings. If the same version string appears multiple
112
+ # times in this list, then the last one wins. Settings from earlier
113
+ # settings with the same version string are discarded.
114
+ class Publishing
115
+ include ::Google::Protobuf::MessageExts
116
+ extend ::Google::Protobuf::MessageExts::ClassMethods
117
+ end
118
+
119
+ # Settings for Java client libraries.
120
+ # @!attribute [rw] library_package
121
+ # @return [::String]
122
+ # The package name to use in Java. Clobbers the java_package option
123
+ # set in the protobuf. This should be used **only** by APIs
124
+ # who have already set the language_settings.java.package_name" field
125
+ # in gapic.yaml. API teams should use the protobuf java_package option
126
+ # where possible.
127
+ #
128
+ # Example of a YAML configuration::
129
+ #
130
+ # publishing:
131
+ # java_settings:
132
+ # library_package: com.google.cloud.pubsub.v1
133
+ # @!attribute [rw] service_class_names
134
+ # @return [::Google::Protobuf::Map{::String => ::String}]
135
+ # Configure the Java class name to use instead of the service's for its
136
+ # corresponding generated GAPIC client. Keys are fully-qualified
137
+ # service names as they appear in the protobuf (including the full
138
+ # the language_settings.java.interface_names" field in gapic.yaml. API
139
+ # teams should otherwise use the service name as it appears in the
140
+ # protobuf.
141
+ #
142
+ # Example of a YAML configuration::
143
+ #
144
+ # publishing:
145
+ # java_settings:
146
+ # service_class_names:
147
+ # - google.pubsub.v1.Publisher: TopicAdmin
148
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
149
+ # @!attribute [rw] common
150
+ # @return [::Google::Api::CommonLanguageSettings]
151
+ # Some settings.
152
+ class JavaSettings
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
+
156
+ # @!attribute [rw] key
157
+ # @return [::String]
158
+ # @!attribute [rw] value
159
+ # @return [::String]
160
+ class ServiceClassNamesEntry
161
+ include ::Google::Protobuf::MessageExts
162
+ extend ::Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+ end
165
+
166
+ # Settings for C++ client libraries.
167
+ # @!attribute [rw] common
168
+ # @return [::Google::Api::CommonLanguageSettings]
169
+ # Some settings.
170
+ class CppSettings
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+ end
174
+
175
+ # Settings for Php client libraries.
176
+ # @!attribute [rw] common
177
+ # @return [::Google::Api::CommonLanguageSettings]
178
+ # Some settings.
179
+ class PhpSettings
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Settings for Python client libraries.
185
+ # @!attribute [rw] common
186
+ # @return [::Google::Api::CommonLanguageSettings]
187
+ # Some settings.
188
+ class PythonSettings
189
+ include ::Google::Protobuf::MessageExts
190
+ extend ::Google::Protobuf::MessageExts::ClassMethods
191
+ end
192
+
193
+ # Settings for Node client libraries.
194
+ # @!attribute [rw] common
195
+ # @return [::Google::Api::CommonLanguageSettings]
196
+ # Some settings.
197
+ class NodeSettings
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # Settings for Dotnet client libraries.
203
+ # @!attribute [rw] common
204
+ # @return [::Google::Api::CommonLanguageSettings]
205
+ # Some settings.
206
+ class DotnetSettings
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+
211
+ # Settings for Ruby client libraries.
212
+ # @!attribute [rw] common
213
+ # @return [::Google::Api::CommonLanguageSettings]
214
+ # Some settings.
215
+ class RubySettings
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # Settings for Go client libraries.
221
+ # @!attribute [rw] common
222
+ # @return [::Google::Api::CommonLanguageSettings]
223
+ # Some settings.
224
+ class GoSettings
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+
229
+ # Describes the generator configuration for a method.
230
+ # @!attribute [rw] selector
231
+ # @return [::String]
232
+ # The fully qualified name of the method, for which the options below apply.
233
+ # This is used to find the method to apply the options.
234
+ # @!attribute [rw] long_running
235
+ # @return [::Google::Api::MethodSettings::LongRunning]
236
+ # Describes settings to use for long-running operations when generating
237
+ # API methods for RPCs. Complements RPCs that use the annotations in
238
+ # google/longrunning/operations.proto.
239
+ #
240
+ # Example of a YAML configuration::
241
+ #
242
+ # publishing:
243
+ # method_behavior:
244
+ # - selector: CreateAdDomain
245
+ # long_running:
246
+ # initial_poll_delay:
247
+ # seconds: 60 # 1 minute
248
+ # poll_delay_multiplier: 1.5
249
+ # max_poll_delay:
250
+ # seconds: 360 # 6 minutes
251
+ # total_poll_timeout:
252
+ # seconds: 54000 # 90 minutes
253
+ class MethodSettings
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+
257
+ # Describes settings to use when generating API methods that use the
258
+ # long-running operation pattern.
259
+ # All default values below are from those used in the client library
260
+ # generators (e.g.
261
+ # [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
262
+ # @!attribute [rw] initial_poll_delay
263
+ # @return [::Google::Protobuf::Duration]
264
+ # Initial delay after which the first poll request will be made.
265
+ # Default value: 5 seconds.
266
+ # @!attribute [rw] poll_delay_multiplier
267
+ # @return [::Float]
268
+ # Multiplier to gradually increase delay between subsequent polls until it
269
+ # reaches max_poll_delay.
270
+ # Default value: 1.5.
271
+ # @!attribute [rw] max_poll_delay
272
+ # @return [::Google::Protobuf::Duration]
273
+ # Maximum time between two subsequent poll requests.
274
+ # Default value: 45 seconds.
275
+ # @!attribute [rw] total_poll_timeout
276
+ # @return [::Google::Protobuf::Duration]
277
+ # Total polling timeout.
278
+ # Default value: 5 minutes.
279
+ class LongRunning
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+ end
284
+
285
+ # The organization for which the client libraries are being published.
286
+ # Affects the url where generated docs are published, etc.
287
+ module ClientLibraryOrganization
288
+ # Not useful.
289
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
290
+
291
+ # Google Cloud Platform Org.
292
+ CLOUD = 1
293
+
294
+ # Ads (Advertising) Org.
295
+ ADS = 2
296
+
297
+ # Photos Org.
298
+ PHOTOS = 3
299
+
300
+ # Street View Org.
301
+ STREET_VIEW = 4
302
+ end
303
+
304
+ # To where should client libraries be published?
305
+ module ClientLibraryDestination
306
+ # Client libraries will neither be generated nor published to package
307
+ # managers.
308
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
309
+
310
+ # Generate the client library in a repo under github.com/googleapis,
311
+ # but don't publish it to package managers.
312
+ GITHUB = 10
313
+
314
+ # Publish the library to package managers like nuget.org and npmjs.com.
315
+ PACKAGE_MANAGER = 20
316
+ end
317
+ end
318
+ end
@@ -0,0 +1,71 @@
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 Api
22
+ # The launch stage as defined by [Google Cloud Platform
23
+ # Launch Stages](https://cloud.google.com/terms/launch-stages).
24
+ module LaunchStage
25
+ # Do not use this default value.
26
+ LAUNCH_STAGE_UNSPECIFIED = 0
27
+
28
+ # The feature is not yet implemented. Users can not use it.
29
+ UNIMPLEMENTED = 6
30
+
31
+ # Prelaunch features are hidden from users and are only visible internally.
32
+ PRELAUNCH = 7
33
+
34
+ # Early Access features are limited to a closed group of testers. To use
35
+ # these features, you must sign up in advance and sign a Trusted Tester
36
+ # agreement (which includes confidentiality provisions). These features may
37
+ # be unstable, changed in backward-incompatible ways, and are not
38
+ # guaranteed to be released.
39
+ EARLY_ACCESS = 1
40
+
41
+ # Alpha is a limited availability test for releases before they are cleared
42
+ # for widespread use. By Alpha, all significant design issues are resolved
43
+ # and we are in the process of verifying functionality. Alpha customers
44
+ # need to apply for access, agree to applicable terms, and have their
45
+ # projects allowlisted. Alpha releases don't have to be feature complete,
46
+ # no SLAs are provided, and there are no technical support obligations, but
47
+ # they will be far enough along that customers can actually use them in
48
+ # test environments or for limited-use tests -- just like they would in
49
+ # normal production cases.
50
+ ALPHA = 2
51
+
52
+ # Beta is the point at which we are ready to open a release for any
53
+ # customer to use. There are no SLA or technical support obligations in a
54
+ # Beta release. Products will be complete from a feature perspective, but
55
+ # may have some open outstanding issues. Beta releases are suitable for
56
+ # limited production use cases.
57
+ BETA = 3
58
+
59
+ # GA features are open to all developers and are considered stable and
60
+ # fully qualified for production use.
61
+ GA = 4
62
+
63
+ # Deprecated features are scheduled to be shut down and removed. For more
64
+ # information, see the "Deprecation Policy" section of our [Terms of
65
+ # Service](https://cloud.google.com/terms/)
66
+ # and the [Google Cloud Platform Subject to the Deprecation
67
+ # Policy](https://cloud.google.com/terms/deprecation) documentation.
68
+ DEPRECATED = 5
69
+ end
70
+ end
71
+ end
@@ -75,6 +75,7 @@ module Google
75
75
  # @!attribute [rw] metadata
76
76
  # @return [::Google::Protobuf::Struct]
77
77
  # Properties of the Artifact.
78
+ # Top level metadata keys' heading and trailing spaces will be trimmed.
78
79
  # The size of this field should not exceed 200KB.
79
80
  # @!attribute [rw] description
80
81
  # @return [::String]
@@ -79,6 +79,15 @@ module Google
79
79
  # DEDICATED_RESOURCES this config may be provided (and the job will use these
80
80
  # resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config
81
81
  # must be provided.
82
+ # @!attribute [rw] service_account
83
+ # @return [::String]
84
+ # The service account that the DeployedModel's container runs as. If not
85
+ # specified, a system generated one will be used, which
86
+ # has minimal permissions and the custom container, if used, may not have
87
+ # enough permission to access other GCP resources.
88
+ #
89
+ # Users deploying the Model must have the `iam.serviceAccounts.actAs`
90
+ # permission on this service account.
82
91
  # @!attribute [rw] manual_batch_tuning_parameters
83
92
  # @return [::Google::Cloud::AIPlatform::V1::ManualBatchTuningParameters]
84
93
  # Immutable. Parameters configuring the batch behavior. Currently only applicable when
@@ -69,6 +69,7 @@ module Google
69
69
  # @!attribute [rw] metadata
70
70
  # @return [::Google::Protobuf::Struct]
71
71
  # Properties of the Context.
72
+ # Top level metadata keys' heading and trailing spaces will be trimmed.
72
73
  # The size of this field should not exceed 200KB.
73
74
  # @!attribute [rw] description
74
75
  # @return [::String]
@@ -105,6 +105,15 @@ module Google
105
105
  # or pdf bytes).
106
106
  # These labels will be overridden by Annotation labels specified inside index
107
107
  # file referenced by {::Google::Cloud::AIPlatform::V1::ImportDataConfig#import_schema_uri import_schema_uri}, e.g. jsonl file.
108
+ # @!attribute [rw] annotation_labels
109
+ # @return [::Google::Protobuf::Map{::String => ::String}]
110
+ # Labels that will be applied to newly imported Annotations. If two
111
+ # Annotations are identical, one of them will be deduped. Two Annotations are
112
+ # considered identical if their {::Google::Cloud::AIPlatform::V1::Annotation#payload payload},
113
+ # {::Google::Cloud::AIPlatform::V1::Annotation#payload_schema_uri payload_schema_uri} and all of their
114
+ # {::Google::Cloud::AIPlatform::V1::Annotation#labels labels} are the same.
115
+ # These labels will be overridden by Annotation labels specified inside index
116
+ # file referenced by {::Google::Cloud::AIPlatform::V1::ImportDataConfig#import_schema_uri import_schema_uri}, e.g. jsonl file.
108
117
  # @!attribute [rw] import_schema_uri
109
118
  # @return [::String]
110
119
  # Required. Points to a YAML file stored on Google Cloud Storage describing the import
@@ -123,6 +132,15 @@ module Google
123
132
  include ::Google::Protobuf::MessageExts
124
133
  extend ::Google::Protobuf::MessageExts::ClassMethods
125
134
  end
135
+
136
+ # @!attribute [rw] key
137
+ # @return [::String]
138
+ # @!attribute [rw] value
139
+ # @return [::String]
140
+ class AnnotationLabelsEntry
141
+ include ::Google::Protobuf::MessageExts
142
+ extend ::Google::Protobuf::MessageExts::ClassMethods
143
+ end
126
144
  end
127
145
 
128
146
  # Describes what part of the Dataset is to be exported, the destination of
@@ -71,6 +71,7 @@ module Google
71
71
  # @!attribute [rw] metadata
72
72
  # @return [::Google::Protobuf::Struct]
73
73
  # Properties of the Execution.
74
+ # Top level metadata keys' heading and trailing spaces will be trimmed.
74
75
  # The size of this field should not exceed 200KB.
75
76
  # @!attribute [rw] description
76
77
  # @return [::String]
@@ -53,8 +53,10 @@ module Google
53
53
  # and are immutable.
54
54
  # @!attribute [rw] online_serving_config
55
55
  # @return [::Google::Cloud::AIPlatform::V1::Featurestore::OnlineServingConfig]
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.
56
+ # Optional. Config for online storage resources. The field should not co-exist with the
57
+ # field of `OnlineStoreReplicationConfig`. If both of it and
58
+ # OnlineStoreReplicationConfig are unset, the feature store will not have an
59
+ # online store and cannot be used for online serving.
58
60
  # @!attribute [r] state
59
61
  # @return [::Google::Cloud::AIPlatform::V1::Featurestore::State]
60
62
  # Output only. State of the featurestore.
@@ -310,6 +310,11 @@ module Google
310
310
  # [BatchReadFeatureValuesRequest.entity_type_specs] must have a column
311
311
  # specifying entity IDs in the EntityType in
312
312
  # [BatchReadFeatureValuesRequest.request][] .
313
+ # @!attribute [rw] start_time
314
+ # @return [::Google::Protobuf::Timestamp]
315
+ # Optional. Excludes Feature values with feature generation timestamp before this
316
+ # timestamp. If not set, retrieve oldest values kept in Feature Store.
317
+ # Timestamp, if present, must not have higher than millisecond precision.
313
318
  class BatchReadFeatureValuesRequest
314
319
  include ::Google::Protobuf::MessageExts
315
320
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -626,7 +631,7 @@ module Google
626
631
  # Required. The ID to use for the Feature, which will become the final component of
627
632
  # the Feature's resource name.
628
633
  #
629
- # This value may be up to 60 characters, and valid characters are
634
+ # This value may be up to 128 characters, and valid characters are
630
635
  # `[a-z0-9_]`. The first character cannot be a number.
631
636
  #
632
637
  # The value must be unique within an EntityType.
@@ -73,7 +73,7 @@ module Google
73
73
  # are mutually exclusive.
74
74
  #
75
75
  # [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
76
- # projects/\\{project}/global/networks/\\{network}.
76
+ # `projects/{project}/global/networks/{network}`.
77
77
  # Where \\{project} is a project number, as in '12345', and \\{network} is
78
78
  # network name.
79
79
  # @!attribute [rw] enable_private_service_connect
@@ -206,7 +206,8 @@ module Google
206
206
  # `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
207
207
  #
208
208
  # Each of the above supported filter types can be combined together using
209
- # logical operators (`AND` & `OR`).
209
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
210
+ # is 5.
210
211
  #
211
212
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
212
213
  # @!attribute [rw] order_by
@@ -400,7 +401,8 @@ module Google
400
401
  # ```
401
402
  #
402
403
  # Each of the above supported filters can be combined together using
403
- # logical operators (`AND` & `OR`).
404
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
405
+ # is 5.
404
406
  #
405
407
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
406
408
  # @!attribute [rw] order_by
@@ -685,7 +687,9 @@ module Google
685
687
  # `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
686
688
  #
687
689
  # Each of the above supported filters can be combined together using
688
- # logical operators (`AND` & `OR`).
690
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
691
+ # is 5.
692
+ #
689
693
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
690
694
  # @!attribute [rw] order_by
691
695
  # @return [::String]
@@ -945,7 +949,8 @@ module Google
945
949
  # For example: `metadata.field_1.number_value = 10.0`
946
950
  #
947
951
  # Each of the above supported filter types can be combined together using
948
- # logical operators (`AND` & `OR`).
952
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
953
+ # is 5.
949
954
  #
950
955
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
951
956
  class QueryArtifactLineageSubgraphRequest
@@ -35,9 +35,9 @@ module Google
35
35
  # @return [::Array<::String>]
36
36
  # User provided version aliases so that a model version can be referenced via
37
37
  # alias (i.e.
38
- # projects/\\{project}/locations/\\{location}/models/\\{model_id}@\\{version_alias}
38
+ # `projects/{project}/locations/{location}/models/{model_id}@{version_alias}`
39
39
  # instead of auto-generated version id (i.e.
40
- # projects/\\{project}/locations/\\{location}/models/\\{model_id}@\\{version_id}).
40
+ # `projects/{project}/locations/{location}/models/{model_id}@{version_id})`.
41
41
  # The format is [a-z][a-zA-Z0-9-]\\{0,126}[a-z0-9] to distinguish from
42
42
  # version_id. A default version alias will be created for the first version
43
43
  # of the model, and there must be exactly one default version alias for a
@@ -243,6 +243,11 @@ module Google
243
243
  # @return [::Google::Cloud::AIPlatform::V1::ModelSourceInfo]
244
244
  # Output only. Source of a model. It can either be automl training pipeline, custom
245
245
  # training pipeline, BigQuery ML, or existing Vertex AI Model.
246
+ # @!attribute [r] metadata_artifact
247
+ # @return [::String]
248
+ # Output only. The resource name of the Artifact that was created in MetadataStore when
249
+ # creating the Model. The Artifact resource name pattern is
250
+ # `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
246
251
  class Model
247
252
  include ::Google::Protobuf::MessageExts
248
253
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -154,8 +154,8 @@ module Google
154
154
  # @!attribute [rw] artifact_id
155
155
  # @return [::String]
156
156
  # Artifact resource id from MLMD. Which is the last portion of an
157
- # artifact resource
158
- # name(projects/\\{project}/locations/\\{location}/metadataStores/default/artifacts/\\{artifact_id}).
157
+ # artifact resource name:
158
+ # `projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}`.
159
159
  # The artifact must stay within the same project, location and default
160
160
  # metadatastore as the pipeline.
161
161
  class InputArtifact
@@ -385,6 +385,17 @@ module Google
385
385
  # execution. This job will be available if the
386
386
  # {::Google::Cloud::AIPlatform::V1::PipelineJob#pipeline_spec PipelineJob.pipeline_spec} specifies the `pre_caching_check` hook in
387
387
  # the lifecycle events.
388
+ # @!attribute [r] failed_main_jobs
389
+ # @return [::Array<::String>]
390
+ # Output only. The names of the previously failed {::Google::Cloud::AIPlatform::V1::CustomJob CustomJob} for the main container
391
+ # executions. The list includes the all attempts in chronological order.
392
+ # @!attribute [r] failed_pre_caching_check_jobs
393
+ # @return [::Array<::String>]
394
+ # Output only. The names of the previously failed {::Google::Cloud::AIPlatform::V1::CustomJob CustomJob} for the
395
+ # pre-caching-check container executions. This job will be available if the
396
+ # {::Google::Cloud::AIPlatform::V1::PipelineJob#pipeline_spec PipelineJob.pipeline_spec} specifies the `pre_caching_check` hook in
397
+ # the lifecycle events.
398
+ # The list includes the all attempts in chronological order.
388
399
  class ContainerDetail
389
400
  include ::Google::Protobuf::MessageExts
390
401
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -161,7 +161,7 @@ module Google
161
161
  # @return [::String]
162
162
  # Required. The resource name of the Tensorboard to list TensorboardExperiments.
163
163
  # Format:
164
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}'
164
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
165
165
  # @!attribute [rw] filter
166
166
  # @return [::String]
167
167
  # Lists the TensorboardExperiments that match the filter expression.
@@ -298,7 +298,7 @@ module Google
298
298
  # @return [::String]
299
299
  # Required. The resource name of the TensorboardTimeSeries to list Blobs.
300
300
  # Format:
301
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}/experiments/\\{experiment}/runs/\\{run}/timeSeries/\\{time_series}'
301
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
302
302
  # @!attribute [rw] blob_ids
303
303
  # @return [::Array<::String>]
304
304
  # IDs of the blobs to read.
@@ -321,7 +321,7 @@ module Google
321
321
  # @return [::String]
322
322
  # Required. The resource name of the TensorboardExperiment to list TensorboardRuns.
323
323
  # Format:
324
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}/experiments/\\{experiment}'
324
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
325
325
  # @!attribute [rw] filter
326
326
  # @return [::String]
327
327
  # Lists the TensorboardRuns that match the filter expression.
@@ -460,7 +460,7 @@ module Google
460
460
  # @return [::String]
461
461
  # Required. The resource name of the TensorboardRun to list TensorboardTimeSeries.
462
462
  # Format:
463
- # 'projects/\\{project}/locations/\\{location}/tensorboards/\\{tensorboard}/experiments/\\{experiment}/runs/\\{run}'
463
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
464
464
  # @!attribute [rw] filter
465
465
  # @return [::String]
466
466
  # Lists the TensorboardTimeSeries that match the filter expression.
@@ -262,6 +262,9 @@ module Google
262
262
  #
263
263
  # Only one of {::Google::Cloud::AIPlatform::V1::InputDataConfig#saved_query_id saved_query_id} and {::Google::Cloud::AIPlatform::V1::InputDataConfig#annotation_schema_uri annotation_schema_uri} should be
264
264
  # specified as both of them represent the same thing: problem type.
265
+ # @!attribute [rw] persist_ml_use_assignment
266
+ # @return [::Boolean]
267
+ # Whether to persist the ML use assignment to data item system labels.
265
268
  class InputDataConfig
266
269
  include ::Google::Protobuf::MessageExts
267
270
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -28,13 +28,13 @@ module Google
28
28
  # For API calls that return a long running operation.
29
29
  # Resource name of the long running operation.
30
30
  # Format:
31
- # 'projects/\\{project}/locations/\\{location}/operations/\\{operation}'
31
+ # `projects/{project}/locations/{location}/operations/{operation}`
32
32
  # @!attribute [rw] data_labeling_job
33
33
  # @return [::String]
34
34
  # For API calls that start a LabelingJob.
35
35
  # Resource name of the LabelingJob.
36
36
  # Format:
37
- # 'projects/\\{project}/locations/\\{location}/dataLabelingJobs/\\{data_labeling_job}'
37
+ # `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
38
38
  # @!attribute [rw] method
39
39
  # @return [::String]
40
40
  # The method name of the API RPC call. For example,
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.13.0
4
+ version: 0.15.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-09-28 00:00:00.000000000 Z
11
+ date: 2022-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -376,8 +376,10 @@ files:
376
376
  - lib/google/cloud/aiplatform/v1/vizier_service_pb.rb
377
377
  - lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb
378
378
  - proto_docs/README.md
379
+ - proto_docs/google/api/client.rb
379
380
  - proto_docs/google/api/field_behavior.rb
380
381
  - proto_docs/google/api/httpbody.rb
382
+ - proto_docs/google/api/launch_stage.rb
381
383
  - proto_docs/google/api/resource.rb
382
384
  - proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb
383
385
  - proto_docs/google/cloud/aiplatform/v1/annotation.rb