google-cloud-ai_platform-v1 0.12.0 → 0.14.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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +6 -2
  4. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +25 -0
  5. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +132 -7
  6. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +3 -0
  7. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -4
  8. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  9. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -0
  10. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +3 -0
  11. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +11 -0
  12. data/lib/google/cloud/aiplatform/v1/metadata_service_services_pb.rb +4 -0
  13. data/lib/google/cloud/aiplatform/v1/model_pb.rb +13 -0
  14. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +2 -0
  15. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +1 -0
  16. data/proto_docs/google/cloud/aiplatform/v1/artifact.rb +1 -0
  17. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +1 -1
  18. data/proto_docs/google/cloud/aiplatform/v1/context.rb +1 -0
  19. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +0 -1
  20. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +18 -0
  21. data/proto_docs/google/cloud/aiplatform/v1/execution.rb +1 -0
  22. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +4 -2
  23. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +14 -1
  24. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +1 -1
  25. data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +25 -0
  26. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +55 -4
  27. data/proto_docs/google/cloud/aiplatform/v1/model.rb +35 -2
  28. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +13 -2
  29. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +3 -0
  30. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +4 -4
  31. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +3 -0
  32. data/proto_docs/google/cloud/aiplatform/v1/user_action_reference.rb +2 -2
  33. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e0f0901e313ad5a36849d8860a23ab471ed9d3cf26e0cc26013c91d6f00225d
4
- data.tar.gz: 77fed0c78f95acfbf3f4a09c016fc4bdea3c2279545272a7376ece04915327b5
3
+ metadata.gz: e79a3a2efa15a0d271bc2a109641f3dbef05ff5e891ca4ad601e1121b17d3ec7
4
+ data.tar.gz: 3793cb6f87e9ff8a1cf0d84f2119cd0220cd667ef01009f38386a02554159345
5
5
  SHA512:
6
- metadata.gz: 2425933e026298ed84a4929c64ce202e01e8a142f5b6b7ae1b318de8111a1e173cc8753bd4a5691f534c2b984835cbbcc0142b3a412304c9799922fbb1ed6fb5
7
- data.tar.gz: 27824c873457b05039a76ab8f3343e7a2421158dae41f7d8eaa9d0ad1fd5c1d5b66c63a9ae182a03b75a287ae192695720770d1e38212fcc82f7c76ce533c4e5
6
+ metadata.gz: 7dd1efb01ceaae47bab4e89331f7527d0da887333192d6c3b844ed4a07c1b439e85fbfad3875c46a7f65786b1b6f46f4ba0f0bbf8ea10ab676d66c9e0e784888
7
+ data.tar.gz: 7a2a5404e027609893d2be2d50529df8925fb145ae89f721ecbdf45d1b07d7dcef85dc01bf4e9d85e082aba9b31661a908612fe32e75fbc36b98997646088617
data/AUTHENTICATION.md CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
@@ -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]
@@ -391,6 +391,9 @@ module Google
391
391
  # * `state` supports `=`, `!=` comparisons.
392
392
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
393
393
  # `create_time` must be in RFC 3339 format.
394
+ # * `labels` supports general map functions that is:
395
+ # `labels.key=value` - key:value equality
396
+ # `labels.key:* - key existence
394
397
  #
395
398
  # Some examples of using the filter are:
396
399
  #
@@ -398,6 +401,8 @@ module Google
398
401
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
399
402
  # * `NOT display_name="my_job"`
400
403
  # * `create_time>"2021-05-18T00:00:00Z"`
404
+ # * `labels.keyA=valueA`
405
+ # * `labels.keyB:*`
401
406
  # @param page_size [::Integer]
402
407
  # The standard list page size.
403
408
  # @param page_token [::String]
@@ -875,6 +880,9 @@ module Google
875
880
  # * `state` supports `=`, `!=` comparisons.
876
881
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
877
882
  # `create_time` must be in RFC 3339 format.
883
+ # * `labels` supports general map functions that is:
884
+ # `labels.key=value` - key:value equality
885
+ # `labels.key:* - key existence
878
886
  #
879
887
  # Some examples of using the filter are:
880
888
  #
@@ -882,6 +890,8 @@ module Google
882
890
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
883
891
  # * `NOT display_name="my_job"`
884
892
  # * `create_time>"2021-05-18T00:00:00Z"`
893
+ # * `labels.keyA=valueA`
894
+ # * `labels.keyB:*`
885
895
  # @param page_size [::Integer]
886
896
  # The standard list page size.
887
897
  # @param page_token [::String]
@@ -1354,6 +1364,9 @@ module Google
1354
1364
  # * `state` supports `=`, `!=` comparisons.
1355
1365
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
1356
1366
  # `create_time` must be in RFC 3339 format.
1367
+ # * `labels` supports general map functions that is:
1368
+ # `labels.key=value` - key:value equality
1369
+ # `labels.key:* - key existence
1357
1370
  #
1358
1371
  # Some examples of using the filter are:
1359
1372
  #
@@ -1361,6 +1374,8 @@ module Google
1361
1374
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
1362
1375
  # * `NOT display_name="my_job"`
1363
1376
  # * `create_time>"2021-05-18T00:00:00Z"`
1377
+ # * `labels.keyA=valueA`
1378
+ # * `labels.keyB:*`
1364
1379
  # @param page_size [::Integer]
1365
1380
  # The standard list page size.
1366
1381
  # @param page_token [::String]
@@ -1840,6 +1855,9 @@ module Google
1840
1855
  # * `state` supports `=`, `!=` comparisons.
1841
1856
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
1842
1857
  # `create_time` must be in RFC 3339 format.
1858
+ # * `labels` supports general map functions that is:
1859
+ # `labels.key=value` - key:value equality
1860
+ # `labels.key:* - key existence
1843
1861
  #
1844
1862
  # Some examples of using the filter are:
1845
1863
  #
@@ -1847,6 +1865,8 @@ module Google
1847
1865
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
1848
1866
  # * `NOT display_name="my_job"`
1849
1867
  # * `create_time>"2021-05-18T00:00:00Z"`
1868
+ # * `labels.keyA=valueA`
1869
+ # * `labels.keyB:*`
1850
1870
  # @param page_size [::Integer]
1851
1871
  # The standard list page size.
1852
1872
  # @param page_token [::String]
@@ -2442,6 +2462,9 @@ module Google
2442
2462
  # * `state` supports `=`, `!=` comparisons.
2443
2463
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
2444
2464
  # `create_time` must be in RFC 3339 format.
2465
+ # * `labels` supports general map functions that is:
2466
+ # `labels.key=value` - key:value equality
2467
+ # `labels.key:* - key existence
2445
2468
  #
2446
2469
  # Some examples of using the filter are:
2447
2470
  #
@@ -2449,6 +2472,8 @@ module Google
2449
2472
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
2450
2473
  # * `NOT display_name="my_job"`
2451
2474
  # * `create_time>"2021-05-18T00:00:00Z"`
2475
+ # * `labels.keyA=valueA`
2476
+ # * `labels.keyB:*`
2452
2477
  # @param page_size [::Integer]
2453
2478
  # The standard list page size.
2454
2479
  # @param page_token [::String]
@@ -780,7 +780,7 @@ module Google
780
780
  # @param options [::Gapic::CallOptions, ::Hash]
781
781
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
782
782
  #
783
- # @overload list_artifacts(parent: nil, page_size: nil, page_token: nil, filter: nil)
783
+ # @overload list_artifacts(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
784
784
  # Pass arguments to `list_artifacts` via keyword arguments. Note that at
785
785
  # least one keyword argument is required. To specify no parameters, or to keep all
786
786
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -824,9 +824,17 @@ 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`.
831
+ # @param order_by [::String]
832
+ # How the list of messages is ordered. Specify the values to order by and an
833
+ # ordering operation. The default sorting order is ascending. To specify
834
+ # descending order for a field, users append a " desc" suffix; for example:
835
+ # "foo desc, bar".
836
+ # Subfields are specified with a `.` character, such as foo.bar.
837
+ # see https://google.aip.dev/132#ordering for more details.
830
838
  #
831
839
  # @yield [response, operation] Access the result along with the RPC operation
832
840
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::Artifact>]
@@ -1393,7 +1401,7 @@ module Google
1393
1401
  # @param options [::Gapic::CallOptions, ::Hash]
1394
1402
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1395
1403
  #
1396
- # @overload list_contexts(parent: nil, page_size: nil, page_token: nil, filter: nil)
1404
+ # @overload list_contexts(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
1397
1405
  # Pass arguments to `list_contexts` via keyword arguments. Note that at
1398
1406
  # least one keyword argument is required. To specify no parameters, or to keep all
1399
1407
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1441,9 +1449,17 @@ module Google
1441
1449
  # ```
1442
1450
  #
1443
1451
  # Each of the above supported filters can be combined together using
1444
- # logical operators (`AND` & `OR`).
1452
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
1453
+ # is 5.
1445
1454
  #
1446
1455
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
1456
+ # @param order_by [::String]
1457
+ # How the list of messages is ordered. Specify the values to order by and an
1458
+ # ordering operation. The default sorting order is ascending. To specify
1459
+ # descending order for a field, users append a " desc" suffix; for example:
1460
+ # "foo desc, bar".
1461
+ # Subfields are specified with a `.` character, such as foo.bar.
1462
+ # see https://google.aip.dev/132#ordering for more details.
1447
1463
  #
1448
1464
  # @yield [response, operation] Access the result along with the RPC operation
1449
1465
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::Context>]
@@ -2010,6 +2026,98 @@ module Google
2010
2026
  raise ::Google::Cloud::Error.from_error(e)
2011
2027
  end
2012
2028
 
2029
+ ##
2030
+ # Remove a set of children contexts from a parent Context. If any of the
2031
+ # child Contexts were NOT added to the parent Context, they are
2032
+ # simply skipped.
2033
+ #
2034
+ # @overload remove_context_children(request, options = nil)
2035
+ # Pass arguments to `remove_context_children` via a request object, either of type
2036
+ # {::Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest} or an equivalent Hash.
2037
+ #
2038
+ # @param request [::Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest, ::Hash]
2039
+ # A request object representing the call parameters. Required. To specify no
2040
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2041
+ # @param options [::Gapic::CallOptions, ::Hash]
2042
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2043
+ #
2044
+ # @overload remove_context_children(context: nil, child_contexts: nil)
2045
+ # Pass arguments to `remove_context_children` via keyword arguments. Note that at
2046
+ # least one keyword argument is required. To specify no parameters, or to keep all
2047
+ # the default parameter values, pass an empty Hash as a request object (see above).
2048
+ #
2049
+ # @param context [::String]
2050
+ # Required. The resource name of the parent Context.
2051
+ #
2052
+ # Format:
2053
+ # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
2054
+ # @param child_contexts [::Array<::String>]
2055
+ # The resource names of the child Contexts.
2056
+ #
2057
+ # @yield [response, operation] Access the result along with the RPC operation
2058
+ # @yieldparam response [::Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse]
2059
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2060
+ #
2061
+ # @return [::Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse]
2062
+ #
2063
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2064
+ #
2065
+ # @example Basic example
2066
+ # require "google/cloud/ai_platform/v1"
2067
+ #
2068
+ # # Create a client object. The client can be reused for multiple calls.
2069
+ # client = Google::Cloud::AIPlatform::V1::MetadataService::Client.new
2070
+ #
2071
+ # # Create a request. To set request fields, pass in keyword arguments.
2072
+ # request = Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest.new
2073
+ #
2074
+ # # Call the remove_context_children method.
2075
+ # result = client.remove_context_children request
2076
+ #
2077
+ # # The returned object is of type Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse.
2078
+ # p result
2079
+ #
2080
+ def remove_context_children request, options = nil
2081
+ raise ::ArgumentError, "request must be provided" if request.nil?
2082
+
2083
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest
2084
+
2085
+ # Converts hash and nil to an options object
2086
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2087
+
2088
+ # Customize the options with defaults
2089
+ metadata = @config.rpcs.remove_context_children.metadata.to_h
2090
+
2091
+ # Set x-goog-api-client and x-goog-user-project headers
2092
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2093
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2094
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2095
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2096
+
2097
+ header_params = {}
2098
+ if request.context
2099
+ header_params["context"] = request.context
2100
+ end
2101
+
2102
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2103
+ metadata[:"x-goog-request-params"] ||= request_params_header
2104
+
2105
+ options.apply_defaults timeout: @config.rpcs.remove_context_children.timeout,
2106
+ metadata: metadata,
2107
+ retry_policy: @config.rpcs.remove_context_children.retry_policy
2108
+
2109
+ options.apply_defaults timeout: @config.timeout,
2110
+ metadata: @config.metadata,
2111
+ retry_policy: @config.retry_policy
2112
+
2113
+ @metadata_service_stub.call_rpc :remove_context_children, request, options: options do |response, operation|
2114
+ yield response, operation if block_given?
2115
+ return response
2116
+ end
2117
+ rescue ::GRPC::BadStatus => e
2118
+ raise ::Google::Cloud::Error.from_error(e)
2119
+ end
2120
+
2013
2121
  ##
2014
2122
  # Retrieves Artifacts and Executions within the specified Context, connected
2015
2123
  # by Event edges and returned as a LineageSubgraph.
@@ -2302,7 +2410,7 @@ module Google
2302
2410
  # @param options [::Gapic::CallOptions, ::Hash]
2303
2411
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2304
2412
  #
2305
- # @overload list_executions(parent: nil, page_size: nil, page_token: nil, filter: nil)
2413
+ # @overload list_executions(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
2306
2414
  # Pass arguments to `list_executions` via keyword arguments. Note that at
2307
2415
  # least one keyword argument is required. To specify no parameters, or to keep all
2308
2416
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2346,8 +2454,17 @@ module Google
2346
2454
  # `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
2347
2455
  #
2348
2456
  # Each of the above supported filters can be combined together using
2349
- # logical operators (`AND` & `OR`).
2457
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
2458
+ # is 5.
2459
+ #
2350
2460
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
2461
+ # @param order_by [::String]
2462
+ # How the list of messages is ordered. Specify the values to order by and an
2463
+ # ordering operation. The default sorting order is ascending. To specify
2464
+ # descending order for a field, users append a " desc" suffix; for example:
2465
+ # "foo desc, bar".
2466
+ # Subfields are specified with a `.` character, such as foo.bar.
2467
+ # see https://google.aip.dev/132#ordering for more details.
2351
2468
  #
2352
2469
  # @yield [response, operation] Access the result along with the RPC operation
2353
2470
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::Execution>]
@@ -3246,7 +3363,8 @@ module Google
3246
3363
  # For example: `metadata.field_1.number_value = 10.0`
3247
3364
  #
3248
3365
  # Each of the above supported filter types can be combined together using
3249
- # logical operators (`AND` & `OR`).
3366
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
3367
+ # is 5.
3250
3368
  #
3251
3369
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
3252
3370
  #
@@ -3540,6 +3658,11 @@ module Google
3540
3658
  #
3541
3659
  attr_reader :add_context_children
3542
3660
  ##
3661
+ # RPC-specific configuration for `remove_context_children`
3662
+ # @return [::Gapic::Config::Method]
3663
+ #
3664
+ attr_reader :remove_context_children
3665
+ ##
3543
3666
  # RPC-specific configuration for `query_context_lineage_subgraph`
3544
3667
  # @return [::Gapic::Config::Method]
3545
3668
  #
@@ -3643,6 +3766,8 @@ module Google
3643
3766
  @add_context_artifacts_and_executions = ::Gapic::Config::Method.new add_context_artifacts_and_executions_config
3644
3767
  add_context_children_config = parent_rpcs.add_context_children if parent_rpcs.respond_to? :add_context_children
3645
3768
  @add_context_children = ::Gapic::Config::Method.new add_context_children_config
3769
+ remove_context_children_config = parent_rpcs.remove_context_children if parent_rpcs.respond_to? :remove_context_children
3770
+ @remove_context_children = ::Gapic::Config::Method.new remove_context_children_config
3646
3771
  query_context_lineage_subgraph_config = parent_rpcs.query_context_lineage_subgraph if parent_rpcs.respond_to? :query_context_lineage_subgraph
3647
3772
  @query_context_lineage_subgraph = ::Gapic::Config::Method.new query_context_lineage_subgraph_config
3648
3773
  create_execution_config = parent_rpcs.create_execution if parent_rpcs.respond_to? :create_execution
@@ -394,6 +394,9 @@ module Google
394
394
  # * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard.
395
395
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
396
396
  # `create_time` must be in RFC 3339 format.
397
+ # * `labels` supports general map functions that is:
398
+ # `labels.key=value` - key:value equality
399
+ # `labels.key:* - key existence
397
400
  #
398
401
  # Some examples of using the filter are:
399
402
  #
@@ -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.12.0"
24
+ VERSION = "0.14.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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"
@@ -72,12 +72,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
72
72
  optional :imported_entity_count, :int64, 1
73
73
  optional :imported_feature_value_count, :int64, 2
74
74
  optional :invalid_row_count, :int64, 6
75
+ optional :timestamp_outside_retention_rows_count, :int64, 4
75
76
  end
76
77
  add_message "google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest" do
77
78
  optional :featurestore, :string, 1
78
79
  optional :destination, :message, 4, "google.cloud.aiplatform.v1.FeatureValueDestination"
79
80
  repeated :pass_through_fields, :message, 8, "google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.PassThroughField"
80
81
  repeated :entity_type_specs, :message, 7, "google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpec"
82
+ optional :start_time, :message, 11, "google.protobuf.Timestamp"
81
83
  oneof :read_option do
82
84
  optional :csv_read_instances, :message, 3, "google.cloud.aiplatform.v1.CsvSource"
83
85
  optional :bigquery_read_instances, :message, 5, "google.cloud.aiplatform.v1.BigQuerySource"
@@ -208,6 +210,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
208
210
  optional :imported_entity_count, :int64, 2
209
211
  optional :imported_feature_value_count, :int64, 3
210
212
  optional :invalid_row_count, :int64, 6
213
+ optional :timestamp_outside_retention_rows_count, :int64, 7
211
214
  end
212
215
  add_message "google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata" do
213
216
  optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
@@ -60,6 +60,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
60
60
  optional :page_size, :int32, 2
61
61
  optional :page_token, :string, 3
62
62
  optional :filter, :string, 4
63
+ optional :order_by, :string, 5
63
64
  end
64
65
  add_message "google.cloud.aiplatform.v1.ListArtifactsResponse" do
65
66
  repeated :artifacts, :message, 1, "google.cloud.aiplatform.v1.Artifact"
@@ -99,6 +100,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
99
100
  optional :page_size, :int32, 2
100
101
  optional :page_token, :string, 3
101
102
  optional :filter, :string, 4
103
+ optional :order_by, :string, 5
102
104
  end
103
105
  add_message "google.cloud.aiplatform.v1.ListContextsResponse" do
104
106
  repeated :contexts, :message, 1, "google.cloud.aiplatform.v1.Context"
@@ -139,6 +141,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
139
141
  end
140
142
  add_message "google.cloud.aiplatform.v1.AddContextChildrenResponse" do
141
143
  end
144
+ add_message "google.cloud.aiplatform.v1.RemoveContextChildrenRequest" do
145
+ optional :context, :string, 1
146
+ repeated :child_contexts, :string, 2
147
+ end
148
+ add_message "google.cloud.aiplatform.v1.RemoveContextChildrenResponse" do
149
+ end
142
150
  add_message "google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest" do
143
151
  optional :context, :string, 1
144
152
  end
@@ -155,6 +163,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
155
163
  optional :page_size, :int32, 2
156
164
  optional :page_token, :string, 3
157
165
  optional :filter, :string, 4
166
+ optional :order_by, :string, 5
158
167
  end
159
168
  add_message "google.cloud.aiplatform.v1.ListExecutionsResponse" do
160
169
  repeated :executions, :message, 1, "google.cloud.aiplatform.v1.Execution"
@@ -249,6 +258,8 @@ module Google
249
258
  AddContextArtifactsAndExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsResponse").msgclass
250
259
  AddContextChildrenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AddContextChildrenRequest").msgclass
251
260
  AddContextChildrenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AddContextChildrenResponse").msgclass
261
+ RemoveContextChildrenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RemoveContextChildrenRequest").msgclass
262
+ RemoveContextChildrenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RemoveContextChildrenResponse").msgclass
252
263
  QueryContextLineageSubgraphRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest").msgclass
253
264
  CreateExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateExecutionRequest").msgclass
254
265
  GetExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetExecutionRequest").msgclass
@@ -76,6 +76,10 @@ module Google
76
76
  # have more than 10 parents, the request will fail with an INVALID_ARGUMENT
77
77
  # error.
78
78
  rpc :AddContextChildren, ::Google::Cloud::AIPlatform::V1::AddContextChildrenRequest, ::Google::Cloud::AIPlatform::V1::AddContextChildrenResponse
79
+ # Remove a set of children contexts from a parent Context. If any of the
80
+ # child Contexts were NOT added to the parent Context, they are
81
+ # simply skipped.
82
+ rpc :RemoveContextChildren, ::Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest, ::Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse
79
83
  # Retrieves Artifacts and Executions within the specified Context, connected
80
84
  # by Event edges and returned as a LineageSubgraph.
81
85
  rpc :QueryContextLineageSubgraph, ::Google::Cloud::AIPlatform::V1::QueryContextLineageSubgraphRequest, ::Google::Cloud::AIPlatform::V1::LineageSubgraph
@@ -40,6 +40,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
40
40
  optional :etag, :string, 16
41
41
  map :labels, :string, :string, 17
42
42
  optional :encryption_spec, :message, 24, "google.cloud.aiplatform.v1.EncryptionSpec"
43
+ optional :model_source_info, :message, 38, "google.cloud.aiplatform.v1.ModelSourceInfo"
44
+ optional :metadata_artifact, :string, 44
43
45
  end
44
46
  add_message "google.cloud.aiplatform.v1.Model.ExportFormat" do
45
47
  optional :id, :string, 1
@@ -73,6 +75,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
73
75
  add_message "google.cloud.aiplatform.v1.Port" do
74
76
  optional :container_port, :int32, 3
75
77
  end
78
+ add_message "google.cloud.aiplatform.v1.ModelSourceInfo" do
79
+ optional :source_type, :enum, 1, "google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType"
80
+ end
81
+ add_enum "google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType" do
82
+ value :MODEL_SOURCE_TYPE_UNSPECIFIED, 0
83
+ value :AUTOML, 1
84
+ value :CUSTOM, 2
85
+ value :BQML, 3
86
+ end
76
87
  end
77
88
  end
78
89
 
@@ -87,6 +98,8 @@ module Google
87
98
  PredictSchemata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PredictSchemata").msgclass
88
99
  ModelContainerSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelContainerSpec").msgclass
89
100
  Port = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Port").msgclass
101
+ ModelSourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelSourceInfo").msgclass
102
+ ModelSourceInfo::ModelSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType").enummodule
90
103
  end
91
104
  end
92
105
  end
@@ -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"
@@ -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]
@@ -33,7 +33,7 @@ module Google
33
33
  # Required. The user-defined name of this BatchPredictionJob.
34
34
  # @!attribute [rw] model
35
35
  # @return [::String]
36
- # The name of the Model resoure that produces the predictions via this job,
36
+ # The name of the Model resource that produces the predictions via this job,
37
37
  # must share the same ancestor Location.
38
38
  # Starting this job has no impact on any existing deployments of the Model
39
39
  # and their resources.
@@ -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]
@@ -108,7 +108,6 @@ module Google
108
108
  end
109
109
 
110
110
  # Represents the spec of a CustomJob.
111
- # Next Id: 15
112
111
  # @!attribute [rw] worker_pool_specs
113
112
  # @return [::Array<::Google::Cloud::AIPlatform::V1::WorkerPoolSpec>]
114
113
  # Required. The spec of the worker pools including machine type and Docker image.
@@ -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.
@@ -247,6 +247,10 @@ module Google
247
247
  # * Having a null entityId.
248
248
  # * Having a null timestamp.
249
249
  # * Not being parsable (applicable for CSV sources).
250
+ # @!attribute [rw] timestamp_outside_retention_rows_count
251
+ # @return [::Integer]
252
+ # The number rows that weren't ingested due to having feature timestamps
253
+ # outside the retention boundary.
250
254
  class ImportFeatureValuesResponse
251
255
  include ::Google::Protobuf::MessageExts
252
256
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -306,6 +310,11 @@ module Google
306
310
  # [BatchReadFeatureValuesRequest.entity_type_specs] must have a column
307
311
  # specifying entity IDs in the EntityType in
308
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.
309
318
  class BatchReadFeatureValuesRequest
310
319
  include ::Google::Protobuf::MessageExts
311
320
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -622,7 +631,7 @@ module Google
622
631
  # Required. The ID to use for the Feature, which will become the final component of
623
632
  # the Feature's resource name.
624
633
  #
625
- # 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
626
635
  # `[a-z0-9_]`. The first character cannot be a number.
627
636
  #
628
637
  # The value must be unique within an EntityType.
@@ -931,6 +940,10 @@ module Google
931
940
  # * Having a null entityId.
932
941
  # * Having a null timestamp.
933
942
  # * Not being parsable (applicable for CSV sources).
943
+ # @!attribute [rw] timestamp_outside_retention_rows_count
944
+ # @return [::Integer]
945
+ # The number rows that weren't ingested due to having timestamps outside the
946
+ # retention boundary.
934
947
  class ImportFeatureValuesOperationMetadata
935
948
  include ::Google::Protobuf::MessageExts
936
949
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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
@@ -60,6 +60,9 @@ module Google
60
60
  # * `state` supports `=`, `!=` comparisons.
61
61
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
62
62
  # `create_time` must be in RFC 3339 format.
63
+ # * `labels` supports general map functions that is:
64
+ # `labels.key=value` - key:value equality
65
+ # `labels.key:* - key existence
63
66
  #
64
67
  # Some examples of using the filter are:
65
68
  #
@@ -67,6 +70,8 @@ module Google
67
70
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
68
71
  # * `NOT display_name="my_job"`
69
72
  # * `create_time>"2021-05-18T00:00:00Z"`
73
+ # * `labels.keyA=valueA`
74
+ # * `labels.keyB:*`
70
75
  # @!attribute [rw] page_size
71
76
  # @return [::Integer]
72
77
  # The standard list page size.
@@ -158,6 +163,9 @@ module Google
158
163
  # * `state` supports `=`, `!=` comparisons.
159
164
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
160
165
  # `create_time` must be in RFC 3339 format.
166
+ # * `labels` supports general map functions that is:
167
+ # `labels.key=value` - key:value equality
168
+ # `labels.key:* - key existence
161
169
  #
162
170
  # Some examples of using the filter are:
163
171
  #
@@ -165,6 +173,8 @@ module Google
165
173
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
166
174
  # * `NOT display_name="my_job"`
167
175
  # * `create_time>"2021-05-18T00:00:00Z"`
176
+ # * `labels.keyA=valueA`
177
+ # * `labels.keyB:*`
168
178
  # @!attribute [rw] page_size
169
179
  # @return [::Integer]
170
180
  # The standard list page size.
@@ -261,6 +271,9 @@ module Google
261
271
  # * `state` supports `=`, `!=` comparisons.
262
272
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
263
273
  # `create_time` must be in RFC 3339 format.
274
+ # * `labels` supports general map functions that is:
275
+ # `labels.key=value` - key:value equality
276
+ # `labels.key:* - key existence
264
277
  #
265
278
  # Some examples of using the filter are:
266
279
  #
@@ -268,6 +281,8 @@ module Google
268
281
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
269
282
  # * `NOT display_name="my_job"`
270
283
  # * `create_time>"2021-05-18T00:00:00Z"`
284
+ # * `labels.keyA=valueA`
285
+ # * `labels.keyB:*`
271
286
  # @!attribute [rw] page_size
272
287
  # @return [::Integer]
273
288
  # The standard list page size.
@@ -362,6 +377,9 @@ module Google
362
377
  # * `state` supports `=`, `!=` comparisons.
363
378
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
364
379
  # `create_time` must be in RFC 3339 format.
380
+ # * `labels` supports general map functions that is:
381
+ # `labels.key=value` - key:value equality
382
+ # `labels.key:* - key existence
365
383
  #
366
384
  # Some examples of using the filter are:
367
385
  #
@@ -369,6 +387,8 @@ module Google
369
387
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
370
388
  # * `NOT display_name="my_job"`
371
389
  # * `create_time>"2021-05-18T00:00:00Z"`
390
+ # * `labels.keyA=valueA`
391
+ # * `labels.keyB:*`
372
392
  # @!attribute [rw] page_size
373
393
  # @return [::Integer]
374
394
  # The standard list page size.
@@ -539,6 +559,9 @@ module Google
539
559
  # * `state` supports `=`, `!=` comparisons.
540
560
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
541
561
  # `create_time` must be in RFC 3339 format.
562
+ # * `labels` supports general map functions that is:
563
+ # `labels.key=value` - key:value equality
564
+ # `labels.key:* - key existence
542
565
  #
543
566
  # Some examples of using the filter are:
544
567
  #
@@ -546,6 +569,8 @@ module Google
546
569
  # * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
547
570
  # * `NOT display_name="my_job"`
548
571
  # * `create_time>"2021-05-18T00:00:00Z"`
572
+ # * `labels.keyA=valueA`
573
+ # * `labels.keyB:*`
549
574
  # @!attribute [rw] page_size
550
575
  # @return [::Integer]
551
576
  # The standard list page size.
@@ -206,9 +206,18 @@ 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`.
213
+ # @!attribute [rw] order_by
214
+ # @return [::String]
215
+ # How the list of messages is ordered. Specify the values to order by and an
216
+ # ordering operation. The default sorting order is ascending. To specify
217
+ # descending order for a field, users append a " desc" suffix; for example:
218
+ # "foo desc, bar".
219
+ # Subfields are specified with a `.` character, such as foo.bar.
220
+ # see https://google.aip.dev/132#ordering for more details.
212
221
  class ListArtifactsRequest
213
222
  include ::Google::Protobuf::MessageExts
214
223
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -392,9 +401,18 @@ module Google
392
401
  # ```
393
402
  #
394
403
  # Each of the above supported filters can be combined together using
395
- # logical operators (`AND` & `OR`).
404
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
405
+ # is 5.
396
406
  #
397
407
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
408
+ # @!attribute [rw] order_by
409
+ # @return [::String]
410
+ # How the list of messages is ordered. Specify the values to order by and an
411
+ # ordering operation. The default sorting order is ascending. To specify
412
+ # descending order for a field, users append a " desc" suffix; for example:
413
+ # "foo desc, bar".
414
+ # Subfields are specified with a `.` character, such as foo.bar.
415
+ # see https://google.aip.dev/132#ordering for more details.
398
416
  class ListContextsRequest
399
417
  include ::Google::Protobuf::MessageExts
400
418
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -551,6 +569,28 @@ module Google
551
569
  extend ::Google::Protobuf::MessageExts::ClassMethods
552
570
  end
553
571
 
572
+ # Request message for
573
+ # [MetadataService.DeleteContextChildrenRequest][].
574
+ # @!attribute [rw] context
575
+ # @return [::String]
576
+ # Required. The resource name of the parent Context.
577
+ #
578
+ # Format:
579
+ # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
580
+ # @!attribute [rw] child_contexts
581
+ # @return [::Array<::String>]
582
+ # The resource names of the child Contexts.
583
+ class RemoveContextChildrenRequest
584
+ include ::Google::Protobuf::MessageExts
585
+ extend ::Google::Protobuf::MessageExts::ClassMethods
586
+ end
587
+
588
+ # Response message for {::Google::Cloud::AIPlatform::V1::MetadataService::Client#remove_context_children MetadataService.RemoveContextChildren}.
589
+ class RemoveContextChildrenResponse
590
+ include ::Google::Protobuf::MessageExts
591
+ extend ::Google::Protobuf::MessageExts::ClassMethods
592
+ end
593
+
554
594
  # Request message for {::Google::Cloud::AIPlatform::V1::MetadataService::Client#query_context_lineage_subgraph MetadataService.QueryContextLineageSubgraph}.
555
595
  # @!attribute [rw] context
556
596
  # @return [::String]
@@ -647,8 +687,18 @@ module Google
647
687
  # `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
648
688
  #
649
689
  # Each of the above supported filters can be combined together using
650
- # logical operators (`AND` & `OR`).
690
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
691
+ # is 5.
692
+ #
651
693
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
694
+ # @!attribute [rw] order_by
695
+ # @return [::String]
696
+ # How the list of messages is ordered. Specify the values to order by and an
697
+ # ordering operation. The default sorting order is ascending. To specify
698
+ # descending order for a field, users append a " desc" suffix; for example:
699
+ # "foo desc, bar".
700
+ # Subfields are specified with a `.` character, such as foo.bar.
701
+ # see https://google.aip.dev/132#ordering for more details.
652
702
  class ListExecutionsRequest
653
703
  include ::Google::Protobuf::MessageExts
654
704
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -899,7 +949,8 @@ module Google
899
949
  # For example: `metadata.field_1.number_value = 10.0`
900
950
  #
901
951
  # Each of the above supported filter types can be combined together using
902
- # logical operators (`AND` & `OR`).
952
+ # logical operators (`AND` & `OR`). Maximum nested expression depth allowed
953
+ # is 5.
903
954
  #
904
955
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
905
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
@@ -239,6 +239,15 @@ module Google
239
239
  # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
240
240
  # Customer-managed encryption key spec for a Model. If set, this
241
241
  # Model and all sub-resources of this Model will be secured by this key.
242
+ # @!attribute [r] model_source_info
243
+ # @return [::Google::Cloud::AIPlatform::V1::ModelSourceInfo]
244
+ # Output only. Source of a model. It can either be automl training pipeline, custom
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}`.
242
251
  class Model
243
252
  include ::Google::Protobuf::MessageExts
244
253
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -586,6 +595,30 @@ module Google
586
595
  include ::Google::Protobuf::MessageExts
587
596
  extend ::Google::Protobuf::MessageExts::ClassMethods
588
597
  end
598
+
599
+ # Detail description of the source information of the model.
600
+ # @!attribute [rw] source_type
601
+ # @return [::Google::Cloud::AIPlatform::V1::ModelSourceInfo::ModelSourceType]
602
+ # Type of the model source.
603
+ class ModelSourceInfo
604
+ include ::Google::Protobuf::MessageExts
605
+ extend ::Google::Protobuf::MessageExts::ClassMethods
606
+
607
+ # Source of the model.
608
+ module ModelSourceType
609
+ # Should not be used.
610
+ MODEL_SOURCE_TYPE_UNSPECIFIED = 0
611
+
612
+ # The Model is uploaded by automl training pipeline.
613
+ AUTOML = 1
614
+
615
+ # The Model is uploaded by user or custom training pipeline.
616
+ CUSTOM = 2
617
+
618
+ # The Model is registered and sync'ed from BigQuery ML.
619
+ BQML = 3
620
+ end
621
+ end
589
622
  end
590
623
  end
591
624
  end
@@ -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
@@ -61,6 +61,9 @@ module Google
61
61
  # * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard.
62
62
  # * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
63
63
  # `create_time` must be in RFC 3339 format.
64
+ # * `labels` supports general map functions that is:
65
+ # `labels.key=value` - key:value equality
66
+ # `labels.key:* - key existence
64
67
  #
65
68
  # Some examples of using the filter are:
66
69
  #
@@ -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.12.0
4
+ version: 0.14.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-08-26 00:00:00.000000000 Z
11
+ date: 2022-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.10'
19
+ version: '0.12'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a