google-cloud-ai_platform-v1 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e0f0901e313ad5a36849d8860a23ab471ed9d3cf26e0cc26013c91d6f00225d
4
- data.tar.gz: 77fed0c78f95acfbf3f4a09c016fc4bdea3c2279545272a7376ece04915327b5
3
+ metadata.gz: f902b8c33ab6a8356d2271fa266775882e3f6b4352a77b9619d915dd057b3669
4
+ data.tar.gz: c345efacea4673cd9c82e147ec8f99d97c934a573f056680e4ab6bedac6b6fb6
5
5
  SHA512:
6
- metadata.gz: 2425933e026298ed84a4929c64ce202e01e8a142f5b6b7ae1b318de8111a1e173cc8753bd4a5691f534c2b984835cbbcc0142b3a412304c9799922fbb1ed6fb5
7
- data.tar.gz: 27824c873457b05039a76ab8f3343e7a2421158dae41f7d8eaa9d0ad1fd5c1d5b66c63a9ae182a03b75a287ae192695720770d1e38212fcc82f7c76ce533c4e5
6
+ metadata.gz: 4ed990ba9cc2364f1a4fac8683124300b7b28ab4380a979c8a4a20282491e5c0274b17d5c4b941d373b641bc2ab8e7423d1320dfb9e38aee2300293e499e5daa
7
+ data.tar.gz: 988cbdf0ec08ff19ea3046f104c674281fa4aecbb2694525655556524dfed74205e80cc55956024aa8848968b117b0ce862272b89409261f78004869786adf79
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
@@ -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).
@@ -827,6 +827,13 @@ module Google
827
827
  # logical operators (`AND` & `OR`).
828
828
  #
829
829
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
830
+ # @param order_by [::String]
831
+ # How the list of messages is ordered. Specify the values to order by and an
832
+ # ordering operation. The default sorting order is ascending. To specify
833
+ # descending order for a field, users append a " desc" suffix; for example:
834
+ # "foo desc, bar".
835
+ # Subfields are specified with a `.` character, such as foo.bar.
836
+ # see https://google.aip.dev/132#ordering for more details.
830
837
  #
831
838
  # @yield [response, operation] Access the result along with the RPC operation
832
839
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::Artifact>]
@@ -1393,7 +1400,7 @@ module Google
1393
1400
  # @param options [::Gapic::CallOptions, ::Hash]
1394
1401
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1395
1402
  #
1396
- # @overload list_contexts(parent: nil, page_size: nil, page_token: nil, filter: nil)
1403
+ # @overload list_contexts(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
1397
1404
  # Pass arguments to `list_contexts` via keyword arguments. Note that at
1398
1405
  # least one keyword argument is required. To specify no parameters, or to keep all
1399
1406
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1444,6 +1451,13 @@ module Google
1444
1451
  # logical operators (`AND` & `OR`).
1445
1452
  #
1446
1453
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
1454
+ # @param order_by [::String]
1455
+ # How the list of messages is ordered. Specify the values to order by and an
1456
+ # ordering operation. The default sorting order is ascending. To specify
1457
+ # descending order for a field, users append a " desc" suffix; for example:
1458
+ # "foo desc, bar".
1459
+ # Subfields are specified with a `.` character, such as foo.bar.
1460
+ # see https://google.aip.dev/132#ordering for more details.
1447
1461
  #
1448
1462
  # @yield [response, operation] Access the result along with the RPC operation
1449
1463
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::Context>]
@@ -2010,6 +2024,98 @@ module Google
2010
2024
  raise ::Google::Cloud::Error.from_error(e)
2011
2025
  end
2012
2026
 
2027
+ ##
2028
+ # Remove a set of children contexts from a parent Context. If any of the
2029
+ # child Contexts were NOT added to the parent Context, they are
2030
+ # simply skipped.
2031
+ #
2032
+ # @overload remove_context_children(request, options = nil)
2033
+ # Pass arguments to `remove_context_children` via a request object, either of type
2034
+ # {::Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest} or an equivalent Hash.
2035
+ #
2036
+ # @param request [::Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest, ::Hash]
2037
+ # A request object representing the call parameters. Required. To specify no
2038
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2039
+ # @param options [::Gapic::CallOptions, ::Hash]
2040
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2041
+ #
2042
+ # @overload remove_context_children(context: nil, child_contexts: nil)
2043
+ # Pass arguments to `remove_context_children` via keyword arguments. Note that at
2044
+ # least one keyword argument is required. To specify no parameters, or to keep all
2045
+ # the default parameter values, pass an empty Hash as a request object (see above).
2046
+ #
2047
+ # @param context [::String]
2048
+ # Required. The resource name of the parent Context.
2049
+ #
2050
+ # Format:
2051
+ # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
2052
+ # @param child_contexts [::Array<::String>]
2053
+ # The resource names of the child Contexts.
2054
+ #
2055
+ # @yield [response, operation] Access the result along with the RPC operation
2056
+ # @yieldparam response [::Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse]
2057
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2058
+ #
2059
+ # @return [::Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse]
2060
+ #
2061
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2062
+ #
2063
+ # @example Basic example
2064
+ # require "google/cloud/ai_platform/v1"
2065
+ #
2066
+ # # Create a client object. The client can be reused for multiple calls.
2067
+ # client = Google::Cloud::AIPlatform::V1::MetadataService::Client.new
2068
+ #
2069
+ # # Create a request. To set request fields, pass in keyword arguments.
2070
+ # request = Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest.new
2071
+ #
2072
+ # # Call the remove_context_children method.
2073
+ # result = client.remove_context_children request
2074
+ #
2075
+ # # The returned object is of type Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse.
2076
+ # p result
2077
+ #
2078
+ def remove_context_children request, options = nil
2079
+ raise ::ArgumentError, "request must be provided" if request.nil?
2080
+
2081
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::RemoveContextChildrenRequest
2082
+
2083
+ # Converts hash and nil to an options object
2084
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2085
+
2086
+ # Customize the options with defaults
2087
+ metadata = @config.rpcs.remove_context_children.metadata.to_h
2088
+
2089
+ # Set x-goog-api-client and x-goog-user-project headers
2090
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2091
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2092
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2093
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2094
+
2095
+ header_params = {}
2096
+ if request.context
2097
+ header_params["context"] = request.context
2098
+ end
2099
+
2100
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2101
+ metadata[:"x-goog-request-params"] ||= request_params_header
2102
+
2103
+ options.apply_defaults timeout: @config.rpcs.remove_context_children.timeout,
2104
+ metadata: metadata,
2105
+ retry_policy: @config.rpcs.remove_context_children.retry_policy
2106
+
2107
+ options.apply_defaults timeout: @config.timeout,
2108
+ metadata: @config.metadata,
2109
+ retry_policy: @config.retry_policy
2110
+
2111
+ @metadata_service_stub.call_rpc :remove_context_children, request, options: options do |response, operation|
2112
+ yield response, operation if block_given?
2113
+ return response
2114
+ end
2115
+ rescue ::GRPC::BadStatus => e
2116
+ raise ::Google::Cloud::Error.from_error(e)
2117
+ end
2118
+
2013
2119
  ##
2014
2120
  # Retrieves Artifacts and Executions within the specified Context, connected
2015
2121
  # by Event edges and returned as a LineageSubgraph.
@@ -2302,7 +2408,7 @@ module Google
2302
2408
  # @param options [::Gapic::CallOptions, ::Hash]
2303
2409
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2304
2410
  #
2305
- # @overload list_executions(parent: nil, page_size: nil, page_token: nil, filter: nil)
2411
+ # @overload list_executions(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
2306
2412
  # Pass arguments to `list_executions` via keyword arguments. Note that at
2307
2413
  # least one keyword argument is required. To specify no parameters, or to keep all
2308
2414
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2348,6 +2454,13 @@ module Google
2348
2454
  # Each of the above supported filters can be combined together using
2349
2455
  # logical operators (`AND` & `OR`).
2350
2456
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
2457
+ # @param order_by [::String]
2458
+ # How the list of messages is ordered. Specify the values to order by and an
2459
+ # ordering operation. The default sorting order is ascending. To specify
2460
+ # descending order for a field, users append a " desc" suffix; for example:
2461
+ # "foo desc, bar".
2462
+ # Subfields are specified with a `.` character, such as foo.bar.
2463
+ # see https://google.aip.dev/132#ordering for more details.
2351
2464
  #
2352
2465
  # @yield [response, operation] Access the result along with the RPC operation
2353
2466
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::Execution>]
@@ -3540,6 +3653,11 @@ module Google
3540
3653
  #
3541
3654
  attr_reader :add_context_children
3542
3655
  ##
3656
+ # RPC-specific configuration for `remove_context_children`
3657
+ # @return [::Gapic::Config::Method]
3658
+ #
3659
+ attr_reader :remove_context_children
3660
+ ##
3543
3661
  # RPC-specific configuration for `query_context_lineage_subgraph`
3544
3662
  # @return [::Gapic::Config::Method]
3545
3663
  #
@@ -3643,6 +3761,8 @@ module Google
3643
3761
  @add_context_artifacts_and_executions = ::Gapic::Config::Method.new add_context_artifacts_and_executions_config
3644
3762
  add_context_children_config = parent_rpcs.add_context_children if parent_rpcs.respond_to? :add_context_children
3645
3763
  @add_context_children = ::Gapic::Config::Method.new add_context_children_config
3764
+ remove_context_children_config = parent_rpcs.remove_context_children if parent_rpcs.respond_to? :remove_context_children
3765
+ @remove_context_children = ::Gapic::Config::Method.new remove_context_children_config
3646
3766
  query_context_lineage_subgraph_config = parent_rpcs.query_context_lineage_subgraph if parent_rpcs.respond_to? :query_context_lineage_subgraph
3647
3767
  @query_context_lineage_subgraph = ::Gapic::Config::Method.new query_context_lineage_subgraph_config
3648
3768
  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
  #
@@ -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.13.0"
25
25
  end
26
26
  end
27
27
  end
@@ -72,6 +72,7 @@ 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
@@ -208,6 +209,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
208
209
  optional :imported_entity_count, :int64, 2
209
210
  optional :imported_feature_value_count, :int64, 3
210
211
  optional :invalid_row_count, :int64, 6
212
+ optional :timestamp_outside_retention_rows_count, :int64, 7
211
213
  end
212
214
  add_message "google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata" do
213
215
  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,7 @@ 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"
43
44
  end
44
45
  add_message "google.cloud.aiplatform.v1.Model.ExportFormat" do
45
46
  optional :id, :string, 1
@@ -73,6 +74,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
73
74
  add_message "google.cloud.aiplatform.v1.Port" do
74
75
  optional :container_port, :int32, 3
75
76
  end
77
+ add_message "google.cloud.aiplatform.v1.ModelSourceInfo" do
78
+ optional :source_type, :enum, 1, "google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType"
79
+ end
80
+ add_enum "google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType" do
81
+ value :MODEL_SOURCE_TYPE_UNSPECIFIED, 0
82
+ value :AUTOML, 1
83
+ value :CUSTOM, 2
84
+ value :BQML, 3
85
+ end
76
86
  end
77
87
  end
78
88
 
@@ -87,6 +97,8 @@ module Google
87
97
  PredictSchemata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PredictSchemata").msgclass
88
98
  ModelContainerSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelContainerSpec").msgclass
89
99
  Port = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Port").msgclass
100
+ ModelSourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelSourceInfo").msgclass
101
+ ModelSourceInfo::ModelSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType").enummodule
90
102
  end
91
103
  end
92
104
  end
@@ -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.
@@ -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.
@@ -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
@@ -931,6 +935,10 @@ module Google
931
935
  # * Having a null entityId.
932
936
  # * Having a null timestamp.
933
937
  # * Not being parsable (applicable for CSV sources).
938
+ # @!attribute [rw] timestamp_outside_retention_rows_count
939
+ # @return [::Integer]
940
+ # The number rows that weren't ingested due to having timestamps outside the
941
+ # retention boundary.
934
942
  class ImportFeatureValuesOperationMetadata
935
943
  include ::Google::Protobuf::MessageExts
936
944
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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.
@@ -209,6 +209,14 @@ module Google
209
209
  # logical operators (`AND` & `OR`).
210
210
  #
211
211
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
212
+ # @!attribute [rw] order_by
213
+ # @return [::String]
214
+ # How the list of messages is ordered. Specify the values to order by and an
215
+ # ordering operation. The default sorting order is ascending. To specify
216
+ # descending order for a field, users append a " desc" suffix; for example:
217
+ # "foo desc, bar".
218
+ # Subfields are specified with a `.` character, such as foo.bar.
219
+ # see https://google.aip.dev/132#ordering for more details.
212
220
  class ListArtifactsRequest
213
221
  include ::Google::Protobuf::MessageExts
214
222
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -395,6 +403,14 @@ module Google
395
403
  # logical operators (`AND` & `OR`).
396
404
  #
397
405
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
406
+ # @!attribute [rw] order_by
407
+ # @return [::String]
408
+ # How the list of messages is ordered. Specify the values to order by and an
409
+ # ordering operation. The default sorting order is ascending. To specify
410
+ # descending order for a field, users append a " desc" suffix; for example:
411
+ # "foo desc, bar".
412
+ # Subfields are specified with a `.` character, such as foo.bar.
413
+ # see https://google.aip.dev/132#ordering for more details.
398
414
  class ListContextsRequest
399
415
  include ::Google::Protobuf::MessageExts
400
416
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -551,6 +567,28 @@ module Google
551
567
  extend ::Google::Protobuf::MessageExts::ClassMethods
552
568
  end
553
569
 
570
+ # Request message for
571
+ # [MetadataService.DeleteContextChildrenRequest][].
572
+ # @!attribute [rw] context
573
+ # @return [::String]
574
+ # Required. The resource name of the parent Context.
575
+ #
576
+ # Format:
577
+ # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
578
+ # @!attribute [rw] child_contexts
579
+ # @return [::Array<::String>]
580
+ # The resource names of the child Contexts.
581
+ class RemoveContextChildrenRequest
582
+ include ::Google::Protobuf::MessageExts
583
+ extend ::Google::Protobuf::MessageExts::ClassMethods
584
+ end
585
+
586
+ # Response message for {::Google::Cloud::AIPlatform::V1::MetadataService::Client#remove_context_children MetadataService.RemoveContextChildren}.
587
+ class RemoveContextChildrenResponse
588
+ include ::Google::Protobuf::MessageExts
589
+ extend ::Google::Protobuf::MessageExts::ClassMethods
590
+ end
591
+
554
592
  # Request message for {::Google::Cloud::AIPlatform::V1::MetadataService::Client#query_context_lineage_subgraph MetadataService.QueryContextLineageSubgraph}.
555
593
  # @!attribute [rw] context
556
594
  # @return [::String]
@@ -649,6 +687,14 @@ module Google
649
687
  # Each of the above supported filters can be combined together using
650
688
  # logical operators (`AND` & `OR`).
651
689
  # For example: `display_name = "test" AND metadata.field1.bool_value = true`.
690
+ # @!attribute [rw] order_by
691
+ # @return [::String]
692
+ # How the list of messages is ordered. Specify the values to order by and an
693
+ # ordering operation. The default sorting order is ascending. To specify
694
+ # descending order for a field, users append a " desc" suffix; for example:
695
+ # "foo desc, bar".
696
+ # Subfields are specified with a `.` character, such as foo.bar.
697
+ # see https://google.aip.dev/132#ordering for more details.
652
698
  class ListExecutionsRequest
653
699
  include ::Google::Protobuf::MessageExts
654
700
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -239,6 +239,10 @@ 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.
242
246
  class Model
243
247
  include ::Google::Protobuf::MessageExts
244
248
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -586,6 +590,30 @@ module Google
586
590
  include ::Google::Protobuf::MessageExts
587
591
  extend ::Google::Protobuf::MessageExts::ClassMethods
588
592
  end
593
+
594
+ # Detail description of the source information of the model.
595
+ # @!attribute [rw] source_type
596
+ # @return [::Google::Cloud::AIPlatform::V1::ModelSourceInfo::ModelSourceType]
597
+ # Type of the model source.
598
+ class ModelSourceInfo
599
+ include ::Google::Protobuf::MessageExts
600
+ extend ::Google::Protobuf::MessageExts::ClassMethods
601
+
602
+ # Source of the model.
603
+ module ModelSourceType
604
+ # Should not be used.
605
+ MODEL_SOURCE_TYPE_UNSPECIFIED = 0
606
+
607
+ # The Model is uploaded by automl training pipeline.
608
+ AUTOML = 1
609
+
610
+ # The Model is uploaded by user or custom training pipeline.
611
+ CUSTOM = 2
612
+
613
+ # The Model is registered and sync'ed from BigQuery ML.
614
+ BQML = 3
615
+ end
616
+ end
589
617
  end
590
618
  end
591
619
  end
@@ -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
  #
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.13.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-09-28 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