google-cloud-ai_platform-v1 0.22.0 → 0.23.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +121 -0
  3. data/lib/google/cloud/ai_platform/v1/endpoint_service/paths.rb +35 -9
  4. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -2
  5. data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +57 -10
  6. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
  7. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +36 -10
  8. data/lib/google/cloud/ai_platform/v1/pipeline_service/paths.rb +36 -10
  9. data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +35 -9
  10. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -4
  11. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  12. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -0
  13. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -0
  14. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +14 -0
  15. data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +5 -0
  16. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +1 -0
  17. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -0
  18. data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -0
  19. data/proto_docs/google/api/client.rb +10 -1
  20. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  21. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +2 -2
  22. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +10 -0
  23. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -4
  24. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +6 -5
  25. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +50 -0
  26. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +7 -0
  27. data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +0 -4
  28. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +2 -2
  29. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +5 -4
  30. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +8 -0
  31. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +1 -1
  32. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -2
  33. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +2 -2
  34. data/proto_docs/google/cloud/aiplatform/v1/model.rb +3 -0
  35. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +4 -2
  36. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +1 -1
  37. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +8 -6
  38. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +7 -6
  39. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c1062351f3dbc02b36511198731b9f24ca91e93dc229861cb271eca58ec2fa1
4
- data.tar.gz: ce36f47cdb282c320f98e08bb4db0ffd5e1b5f5c0d53bed572c0799c19498319
3
+ metadata.gz: 7983d3d1a9814c8defe22ac7f9df51d6e6ae240e46b3fcf0792795bfb3ae5c0d
4
+ data.tar.gz: ec23fa3ec0276c4b18b4aaed04b28e763d3ba58045453b73c83f179ddfc48762
5
5
  SHA512:
6
- metadata.gz: 92a1c9fa7e0d62d1a8686e56e0fa5123feccb6e7f43de2618488d16b44a97b5c67d8eade6a010ff7352c45836e8e9972b95d913d2dee89909c71a2189aea2aa1
7
- data.tar.gz: efd9bd50226ef911dc549e2ee721d892fe9312839fdbb020c57783e602339842c7248628c619e2270c05be1d2db94c2ea3c041adb5f3a9486c580cf77119401b
6
+ metadata.gz: '079b939e1294250ce689f007d81a4cbf1a56716918312eb914674f96ce77d49d10c23039ed2c171d423dfa16a801aee7d86056aa32efab4923ce6325f6314355'
7
+ data.tar.gz: 226bae05c0d5b06a5812b9f2a54a9cefabd5003ca256964e5ee1e819b5f950abd64b1ac91345868c7ec4f16b7634b08e44321427976126f870f91a4b966ab49f
@@ -915,6 +915,120 @@ module Google
915
915
  raise ::Google::Cloud::Error.from_error(e)
916
916
  end
917
917
 
918
+ ##
919
+ # Updates an existing deployed model. Updatable fields include
920
+ # `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`,
921
+ # `disable_container_logging` (v1 only), and `enable_container_logging`
922
+ # (v1beta1 only).
923
+ #
924
+ # @overload mutate_deployed_model(request, options = nil)
925
+ # Pass arguments to `mutate_deployed_model` via a request object, either of type
926
+ # {::Google::Cloud::AIPlatform::V1::MutateDeployedModelRequest} or an equivalent Hash.
927
+ #
928
+ # @param request [::Google::Cloud::AIPlatform::V1::MutateDeployedModelRequest, ::Hash]
929
+ # A request object representing the call parameters. Required. To specify no
930
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
931
+ # @param options [::Gapic::CallOptions, ::Hash]
932
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
933
+ #
934
+ # @overload mutate_deployed_model(endpoint: nil, deployed_model: nil, update_mask: nil)
935
+ # Pass arguments to `mutate_deployed_model` via keyword arguments. Note that at
936
+ # least one keyword argument is required. To specify no parameters, or to keep all
937
+ # the default parameter values, pass an empty Hash as a request object (see above).
938
+ #
939
+ # @param endpoint [::String]
940
+ # Required. The name of the Endpoint resource into which to mutate a
941
+ # DeployedModel. Format:
942
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
943
+ # @param deployed_model [::Google::Cloud::AIPlatform::V1::DeployedModel, ::Hash]
944
+ # Required. The DeployedModel to be mutated within the Endpoint. Only the
945
+ # following fields can be mutated:
946
+ #
947
+ # * `min_replica_count` in either
948
+ # {::Google::Cloud::AIPlatform::V1::DedicatedResources DedicatedResources} or
949
+ # {::Google::Cloud::AIPlatform::V1::AutomaticResources AutomaticResources}
950
+ # * `max_replica_count` in either
951
+ # {::Google::Cloud::AIPlatform::V1::DedicatedResources DedicatedResources} or
952
+ # {::Google::Cloud::AIPlatform::V1::AutomaticResources AutomaticResources}
953
+ # * {::Google::Cloud::AIPlatform::V1::DedicatedResources#autoscaling_metric_specs autoscaling_metric_specs}
954
+ # * `disable_container_logging` (v1 only)
955
+ # * `enable_container_logging` (v1beta1 only)
956
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
957
+ # Required. The update mask applies to the resource. See
958
+ # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
959
+ #
960
+ # @yield [response, operation] Access the result along with the RPC operation
961
+ # @yieldparam response [::Gapic::Operation]
962
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
963
+ #
964
+ # @return [::Gapic::Operation]
965
+ #
966
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
967
+ #
968
+ # @example Basic example
969
+ # require "google/cloud/ai_platform/v1"
970
+ #
971
+ # # Create a client object. The client can be reused for multiple calls.
972
+ # client = Google::Cloud::AIPlatform::V1::EndpointService::Client.new
973
+ #
974
+ # # Create a request. To set request fields, pass in keyword arguments.
975
+ # request = Google::Cloud::AIPlatform::V1::MutateDeployedModelRequest.new
976
+ #
977
+ # # Call the mutate_deployed_model method.
978
+ # result = client.mutate_deployed_model request
979
+ #
980
+ # # The returned object is of type Gapic::Operation. You can use it to
981
+ # # check the status of an operation, cancel it, or wait for results.
982
+ # # Here is how to wait for a response.
983
+ # result.wait_until_done! timeout: 60
984
+ # if result.response?
985
+ # p result.response
986
+ # else
987
+ # puts "No response received."
988
+ # end
989
+ #
990
+ def mutate_deployed_model request, options = nil
991
+ raise ::ArgumentError, "request must be provided" if request.nil?
992
+
993
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::MutateDeployedModelRequest
994
+
995
+ # Converts hash and nil to an options object
996
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
997
+
998
+ # Customize the options with defaults
999
+ metadata = @config.rpcs.mutate_deployed_model.metadata.to_h
1000
+
1001
+ # Set x-goog-api-client and x-goog-user-project headers
1002
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1003
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1004
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1005
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1006
+
1007
+ header_params = {}
1008
+ if request.endpoint
1009
+ header_params["endpoint"] = request.endpoint
1010
+ end
1011
+
1012
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1013
+ metadata[:"x-goog-request-params"] ||= request_params_header
1014
+
1015
+ options.apply_defaults timeout: @config.rpcs.mutate_deployed_model.timeout,
1016
+ metadata: metadata,
1017
+ retry_policy: @config.rpcs.mutate_deployed_model.retry_policy
1018
+
1019
+ options.apply_defaults timeout: @config.timeout,
1020
+ metadata: @config.metadata,
1021
+ retry_policy: @config.retry_policy
1022
+
1023
+ @endpoint_service_stub.call_rpc :mutate_deployed_model, request, options: options do |response, operation|
1024
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1025
+ yield response, operation if block_given?
1026
+ return response
1027
+ end
1028
+ rescue ::GRPC::BadStatus => e
1029
+ raise ::Google::Cloud::Error.from_error(e)
1030
+ end
1031
+
918
1032
  ##
919
1033
  # Configuration class for the EndpointService API.
920
1034
  #
@@ -1085,6 +1199,11 @@ module Google
1085
1199
  # @return [::Gapic::Config::Method]
1086
1200
  #
1087
1201
  attr_reader :undeploy_model
1202
+ ##
1203
+ # RPC-specific configuration for `mutate_deployed_model`
1204
+ # @return [::Gapic::Config::Method]
1205
+ #
1206
+ attr_reader :mutate_deployed_model
1088
1207
 
1089
1208
  # @private
1090
1209
  def initialize parent_rpcs = nil
@@ -1102,6 +1221,8 @@ module Google
1102
1221
  @deploy_model = ::Gapic::Config::Method.new deploy_model_config
1103
1222
  undeploy_model_config = parent_rpcs.undeploy_model if parent_rpcs.respond_to? :undeploy_model
1104
1223
  @undeploy_model = ::Gapic::Config::Method.new undeploy_model_config
1224
+ mutate_deployed_model_config = parent_rpcs.mutate_deployed_model if parent_rpcs.respond_to? :mutate_deployed_model
1225
+ @mutate_deployed_model = ::Gapic::Config::Method.new mutate_deployed_model_config
1105
1226
 
1106
1227
  yield self if block_given?
1107
1228
  end
@@ -27,20 +27,46 @@ module Google
27
27
  ##
28
28
  # Create a fully-qualified Endpoint resource string.
29
29
  #
30
- # The resource will be in the following format:
30
+ # @overload endpoint_path(project:, location:, endpoint:)
31
+ # The resource will be in the following format:
31
32
  #
32
- # `projects/{project}/locations/{location}/endpoints/{endpoint}`
33
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
33
34
  #
34
- # @param project [String]
35
- # @param location [String]
36
- # @param endpoint [String]
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param endpoint [String]
38
+ #
39
+ # @overload endpoint_path(project:, location:, publisher:, model:)
40
+ # The resource will be in the following format:
41
+ #
42
+ # `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`
43
+ #
44
+ # @param project [String]
45
+ # @param location [String]
46
+ # @param publisher [String]
47
+ # @param model [String]
37
48
  #
38
49
  # @return [::String]
39
- def endpoint_path project:, location:, endpoint:
40
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
50
+ def endpoint_path **args
51
+ resources = {
52
+ "endpoint:location:project" => (proc do |project:, location:, endpoint:|
53
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
54
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
55
+
56
+ "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
57
+ end),
58
+ "location:model:project:publisher" => (proc do |project:, location:, publisher:, model:|
59
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
60
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
61
+ raise ::ArgumentError, "publisher cannot contain /" if publisher.to_s.include? "/"
62
+
63
+ "projects/#{project}/locations/#{location}/publishers/#{publisher}/models/#{model}"
64
+ end)
65
+ }
42
66
 
43
- "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
67
+ resource = resources[args.keys.sort.join(":")]
68
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
69
+ resource.call(**args)
44
70
  end
45
71
 
46
72
  ##
@@ -546,7 +546,7 @@ module Google
546
546
  # * `labels`
547
547
  # * `online_serving_config.fixed_node_count`
548
548
  # * `online_serving_config.scaling`
549
- # * `online_storage_ttl_days` (available in Preview)
549
+ # * `online_storage_ttl_days`
550
550
  #
551
551
  # @yield [response, operation] Access the result along with the RPC operation
552
552
  # @yieldparam response [::Gapic::Operation]
@@ -1089,7 +1089,7 @@ module Google
1089
1089
  # * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
1090
1090
  # * `monitoring_config.numerical_threshold_config.value`
1091
1091
  # * `monitoring_config.categorical_threshold_config.value`
1092
- # * `offline_storage_ttl_days` (available in Preview)
1092
+ # * `offline_storage_ttl_days`
1093
1093
  #
1094
1094
  # @yield [response, operation] Access the result along with the RPC operation
1095
1095
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::EntityType]
@@ -43,6 +43,27 @@ module Google
43
43
  "projects/#{project}/locations/#{location}/batchPredictionJobs/#{batch_prediction_job}"
44
44
  end
45
45
 
46
+ ##
47
+ # Create a fully-qualified Context resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ # @param metadata_store [String]
56
+ # @param context [String]
57
+ #
58
+ # @return [::String]
59
+ def context_path project:, location:, metadata_store:, context:
60
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
62
+ raise ::ArgumentError, "metadata_store cannot contain /" if metadata_store.to_s.include? "/"
63
+
64
+ "projects/#{project}/locations/#{location}/metadataStores/#{metadata_store}/contexts/#{context}"
65
+ end
66
+
46
67
  ##
47
68
  # Create a fully-qualified CustomJob resource string.
48
69
  #
@@ -103,20 +124,46 @@ module Google
103
124
  ##
104
125
  # Create a fully-qualified Endpoint resource string.
105
126
  #
106
- # The resource will be in the following format:
127
+ # @overload endpoint_path(project:, location:, endpoint:)
128
+ # The resource will be in the following format:
107
129
  #
108
- # `projects/{project}/locations/{location}/endpoints/{endpoint}`
130
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
109
131
  #
110
- # @param project [String]
111
- # @param location [String]
112
- # @param endpoint [String]
132
+ # @param project [String]
133
+ # @param location [String]
134
+ # @param endpoint [String]
135
+ #
136
+ # @overload endpoint_path(project:, location:, publisher:, model:)
137
+ # The resource will be in the following format:
138
+ #
139
+ # `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`
140
+ #
141
+ # @param project [String]
142
+ # @param location [String]
143
+ # @param publisher [String]
144
+ # @param model [String]
113
145
  #
114
146
  # @return [::String]
115
- def endpoint_path project:, location:, endpoint:
116
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
117
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
118
-
119
- "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
147
+ def endpoint_path **args
148
+ resources = {
149
+ "endpoint:location:project" => (proc do |project:, location:, endpoint:|
150
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
151
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
152
+
153
+ "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
154
+ end),
155
+ "location:model:project:publisher" => (proc do |project:, location:, publisher:, model:|
156
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
157
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
158
+ raise ::ArgumentError, "publisher cannot contain /" if publisher.to_s.include? "/"
159
+
160
+ "projects/#{project}/locations/#{location}/publishers/#{publisher}/models/#{model}"
161
+ end)
162
+ }
163
+
164
+ resource = resources[args.keys.sort.join(":")]
165
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
166
+ resource.call(**args)
120
167
  end
121
168
 
122
169
  ##
@@ -549,8 +549,10 @@ module Google
549
549
  # @param page_token [::String]
550
550
  # The standard list page token.
551
551
  # Typically obtained via
552
- # {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token ListModelVersionsResponse.next_page_token}
553
- # of the previous [ModelService.ListModelversions][] call.
552
+ # {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token next_page_token}
553
+ # of the previous
554
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_versions ListModelVersions}
555
+ # call.
554
556
  # @param filter [::String]
555
557
  # An expression for filtering the results of the request. For field names
556
558
  # both snake_case and camelCase are supported.
@@ -27,20 +27,46 @@ module Google
27
27
  ##
28
28
  # Create a fully-qualified Endpoint resource string.
29
29
  #
30
- # The resource will be in the following format:
30
+ # @overload endpoint_path(project:, location:, endpoint:)
31
+ # The resource will be in the following format:
31
32
  #
32
- # `projects/{project}/locations/{location}/endpoints/{endpoint}`
33
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
33
34
  #
34
- # @param project [String]
35
- # @param location [String]
36
- # @param endpoint [String]
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param endpoint [String]
38
+ #
39
+ # @overload endpoint_path(project:, location:, publisher:, model:)
40
+ # The resource will be in the following format:
41
+ #
42
+ # `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`
43
+ #
44
+ # @param project [String]
45
+ # @param location [String]
46
+ # @param publisher [String]
47
+ # @param model [String]
37
48
  #
38
49
  # @return [::String]
39
- def endpoint_path project:, location:, endpoint:
40
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
-
43
- "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
50
+ def endpoint_path **args
51
+ resources = {
52
+ "endpoint:location:project" => (proc do |project:, location:, endpoint:|
53
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
54
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
55
+
56
+ "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
57
+ end),
58
+ "location:model:project:publisher" => (proc do |project:, location:, publisher:, model:|
59
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
60
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
61
+ raise ::ArgumentError, "publisher cannot contain /" if publisher.to_s.include? "/"
62
+
63
+ "projects/#{project}/locations/#{location}/publishers/#{publisher}/models/#{model}"
64
+ end)
65
+ }
66
+
67
+ resource = resources[args.keys.sort.join(":")]
68
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
69
+ resource.call(**args)
44
70
  end
45
71
 
46
72
  ##
@@ -88,20 +88,46 @@ module Google
88
88
  ##
89
89
  # Create a fully-qualified Endpoint resource string.
90
90
  #
91
- # The resource will be in the following format:
91
+ # @overload endpoint_path(project:, location:, endpoint:)
92
+ # The resource will be in the following format:
92
93
  #
93
- # `projects/{project}/locations/{location}/endpoints/{endpoint}`
94
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
94
95
  #
95
- # @param project [String]
96
- # @param location [String]
97
- # @param endpoint [String]
96
+ # @param project [String]
97
+ # @param location [String]
98
+ # @param endpoint [String]
99
+ #
100
+ # @overload endpoint_path(project:, location:, publisher:, model:)
101
+ # The resource will be in the following format:
102
+ #
103
+ # `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`
104
+ #
105
+ # @param project [String]
106
+ # @param location [String]
107
+ # @param publisher [String]
108
+ # @param model [String]
98
109
  #
99
110
  # @return [::String]
100
- def endpoint_path project:, location:, endpoint:
101
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
102
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
103
-
104
- "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
111
+ def endpoint_path **args
112
+ resources = {
113
+ "endpoint:location:project" => (proc do |project:, location:, endpoint:|
114
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
115
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
116
+
117
+ "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
118
+ end),
119
+ "location:model:project:publisher" => (proc do |project:, location:, publisher:, model:|
120
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
121
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
122
+ raise ::ArgumentError, "publisher cannot contain /" if publisher.to_s.include? "/"
123
+
124
+ "projects/#{project}/locations/#{location}/publishers/#{publisher}/models/#{model}"
125
+ end)
126
+ }
127
+
128
+ resource = resources[args.keys.sort.join(":")]
129
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
130
+ resource.call(**args)
105
131
  end
106
132
 
107
133
  ##
@@ -27,20 +27,46 @@ module Google
27
27
  ##
28
28
  # Create a fully-qualified Endpoint resource string.
29
29
  #
30
- # The resource will be in the following format:
30
+ # @overload endpoint_path(project:, location:, endpoint:)
31
+ # The resource will be in the following format:
31
32
  #
32
- # `projects/{project}/locations/{location}/endpoints/{endpoint}`
33
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
33
34
  #
34
- # @param project [String]
35
- # @param location [String]
36
- # @param endpoint [String]
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param endpoint [String]
38
+ #
39
+ # @overload endpoint_path(project:, location:, publisher:, model:)
40
+ # The resource will be in the following format:
41
+ #
42
+ # `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`
43
+ #
44
+ # @param project [String]
45
+ # @param location [String]
46
+ # @param publisher [String]
47
+ # @param model [String]
37
48
  #
38
49
  # @return [::String]
39
- def endpoint_path project:, location:, endpoint:
40
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
50
+ def endpoint_path **args
51
+ resources = {
52
+ "endpoint:location:project" => (proc do |project:, location:, endpoint:|
53
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
54
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
55
+
56
+ "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
57
+ end),
58
+ "location:model:project:publisher" => (proc do |project:, location:, publisher:, model:|
59
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
60
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
61
+ raise ::ArgumentError, "publisher cannot contain /" if publisher.to_s.include? "/"
62
+
63
+ "projects/#{project}/locations/#{location}/publishers/#{publisher}/models/#{model}"
64
+ end)
65
+ }
42
66
 
43
- "projects/#{project}/locations/#{location}/endpoints/#{endpoint}"
67
+ resource = resources[args.keys.sort.join(":")]
68
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
69
+ resource.call(**args)
44
70
  end
45
71
 
46
72
  extend self
@@ -2902,12 +2902,12 @@ module Google
2902
2902
  # Values above 10000 are coerced to 10000.
2903
2903
  # @param page_token [::String]
2904
2904
  # A page token, received from a previous
2905
- # [TensorboardService.ExportTensorboardTimeSeries][] call.
2906
- # Provide this to retrieve the subsequent page.
2905
+ # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#export_tensorboard_time_series_data ExportTensorboardTimeSeriesData}
2906
+ # call. Provide this to retrieve the subsequent page.
2907
2907
  #
2908
2908
  # When paginating, all other parameters provided to
2909
- # [TensorboardService.ExportTensorboardTimeSeries][] must
2910
- # match the call that provided the page token.
2909
+ # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#export_tensorboard_time_series_data ExportTensorboardTimeSeriesData}
2910
+ # must match the call that provided the page token.
2911
2911
  # @param order_by [::String]
2912
2912
  # Field to use to sort the TensorboardTimeSeries' data.
2913
2913
  # By default, TensorboardTimeSeries' data is returned in a pseudo random
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "0.22.0"
24
+ VERSION = "0.23.0"
25
25
  end
26
26
  end
27
27
  end
@@ -13,6 +13,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  value :NVIDIA_TESLA_P4, 4
14
14
  value :NVIDIA_TESLA_T4, 5
15
15
  value :NVIDIA_TESLA_A100, 8
16
+ value :NVIDIA_L4, 11
16
17
  value :TPU_V2, 6
17
18
  value :TPU_V3, 7
18
19
  value :TPU_V4_POD, 10
@@ -40,6 +40,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
40
40
  optional :tensorboard, :string, 7
41
41
  optional :enable_web_access, :bool, 10
42
42
  optional :enable_dashboard_access, :bool, 16
43
+ optional :experiment, :string, 17
44
+ optional :experiment_run, :string, 18
43
45
  end
44
46
  add_message "google.cloud.aiplatform.v1.WorkerPoolSpec" do
45
47
  optional :machine_spec, :message, 1, "google.cloud.aiplatform.v1.MachineSpec"
@@ -66,6 +66,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
66
66
  add_message "google.cloud.aiplatform.v1.UndeployModelOperationMetadata" do
67
67
  optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
68
68
  end
69
+ add_message "google.cloud.aiplatform.v1.MutateDeployedModelRequest" do
70
+ optional :endpoint, :string, 1
71
+ optional :deployed_model, :message, 2, "google.cloud.aiplatform.v1.DeployedModel"
72
+ optional :update_mask, :message, 4, "google.protobuf.FieldMask"
73
+ end
74
+ add_message "google.cloud.aiplatform.v1.MutateDeployedModelResponse" do
75
+ optional :deployed_model, :message, 1, "google.cloud.aiplatform.v1.DeployedModel"
76
+ end
77
+ add_message "google.cloud.aiplatform.v1.MutateDeployedModelOperationMetadata" do
78
+ optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
79
+ end
69
80
  end
70
81
  end
71
82
 
@@ -86,6 +97,9 @@ module Google
86
97
  UndeployModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UndeployModelRequest").msgclass
87
98
  UndeployModelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UndeployModelResponse").msgclass
88
99
  UndeployModelOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UndeployModelOperationMetadata").msgclass
100
+ MutateDeployedModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MutateDeployedModelRequest").msgclass
101
+ MutateDeployedModelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MutateDeployedModelResponse").msgclass
102
+ MutateDeployedModelOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MutateDeployedModelOperationMetadata").msgclass
89
103
  end
90
104
  end
91
105
  end
@@ -48,6 +48,11 @@ module Google
48
48
  # Undeploys a Model from an Endpoint, removing a DeployedModel from it, and
49
49
  # freeing all resources it's using.
50
50
  rpc :UndeployModel, ::Google::Cloud::AIPlatform::V1::UndeployModelRequest, ::Google::Longrunning::Operation
51
+ # Updates an existing deployed model. Updatable fields include
52
+ # `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`,
53
+ # `disable_container_logging` (v1 only), and `enable_container_logging`
54
+ # (v1beta1 only).
55
+ rpc :MutateDeployedModel, ::Google::Cloud::AIPlatform::V1::MutateDeployedModelRequest, ::Google::Longrunning::Operation
51
56
  end
52
57
 
53
58
  Stub = Service.rpc_stub_class
@@ -18,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
18
  map :labels, :string, :string, 6
19
19
  optional :etag, :string, 7
20
20
  optional :monitoring_config, :message, 8, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig"
21
+ optional :offline_storage_ttl_days, :int32, 10
21
22
  end
22
23
  end
23
24
  end
@@ -18,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
18
  map :labels, :string, :string, 6
19
19
  optional :online_serving_config, :message, 7, "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig"
20
20
  optional :state, :enum, 8, "google.cloud.aiplatform.v1.Featurestore.State"
21
+ optional :online_storage_ttl_days, :int32, 13
21
22
  optional :encryption_spec, :message, 10, "google.cloud.aiplatform.v1.EncryptionSpec"
22
23
  end
23
24
  add_message "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig" do
@@ -89,6 +89,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
89
89
  value :CUSTOM, 2
90
90
  value :BQML, 3
91
91
  value :MODEL_GARDEN, 4
92
+ value :GENIE, 5
92
93
  end
93
94
  end
94
95
  end
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -353,6 +353,15 @@ module Google
353
353
 
354
354
  # Street View Org.
355
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
356
365
  end
357
366
 
358
367
  # To where should client libraries be published?
@@ -44,6 +44,9 @@ module Google
44
44
  # Nvidia Tesla A100 GPU.
45
45
  NVIDIA_TESLA_A100 = 8
46
46
 
47
+ # Nvidia L4 GPU.
48
+ NVIDIA_L4 = 11
49
+
47
50
  # TPU v2.
48
51
  TPU_V2 = 6
49
52
 
@@ -205,9 +205,9 @@ module Google
205
205
  # @return [::Boolean]
206
206
  # For custom-trained Models and AutoML Tabular Models, the container of the
207
207
  # DeployedModel instances will send `stderr` and `stdout` streams to
208
- # Stackdriver Logging by default. Please note that the logs incur cost,
208
+ # Cloud Logging by default. Please note that the logs incur cost,
209
209
  # which are subject to [Cloud Logging
210
- # pricing](https://cloud.google.com/stackdriver/pricing).
210
+ # pricing](https://cloud.google.com/logging/pricing).
211
211
  #
212
212
  # User can disable container logging by setting this flag to true.
213
213
  class BatchPredictionJob
@@ -203,6 +203,16 @@ module Google
203
203
  # {::Google::Cloud::AIPlatform::V1::Trial#web_access_uris Trial.web_access_uris}
204
204
  # (within
205
205
  # {::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob#trials HyperparameterTuningJob.trials}).
206
+ # @!attribute [rw] experiment
207
+ # @return [::String]
208
+ # Optional. The Experiment associated with this job.
209
+ # Format:
210
+ # `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}`
211
+ # @!attribute [rw] experiment_run
212
+ # @return [::String]
213
+ # Optional. The Experiment Run associated with this job.
214
+ # Format:
215
+ # `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}`
206
216
  class CustomJobSpec
207
217
  include ::Google::Protobuf::MessageExts
208
218
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -73,7 +73,7 @@ module Google
73
73
  # @!attribute [rw] saved_queries
74
74
  # @return [::Array<::Google::Cloud::AIPlatform::V1::SavedQuery>]
75
75
  # All SavedQueries belong to the Dataset will be returned in List/Get
76
- # Dataset response. The [annotation_specs][SavedQuery.annotation_specs] field
76
+ # Dataset response. The annotation_specs field
77
77
  # will not be populated except for UI cases which will only use
78
78
  # {::Google::Cloud::AIPlatform::V1::SavedQuery#annotation_spec_count annotation_spec_count}.
79
79
  # In CreateDataset request, a SavedQuery is created together if
@@ -182,9 +182,9 @@ module Google
182
182
  # Split based on fractions defining the size of each set.
183
183
  # @!attribute [rw] annotations_filter
184
184
  # @return [::String]
185
- # A filter on Annotations of the Dataset. Only Annotations on to-be-exported
186
- # DataItems(specified by [data_items_filter][]) that match this filter will
187
- # be exported. The filter syntax is the same as in
185
+ # An expression for filtering what part of the Dataset is to be exported.
186
+ # Only Annotations that match this filter will be exported. The filter syntax
187
+ # is the same as in
188
188
  # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_annotations ListAnnotations}.
189
189
  class ExportDataConfig
190
190
  include ::Google::Protobuf::MessageExts
@@ -106,7 +106,8 @@ module Google
106
106
  # @return [::String]
107
107
  # Output only. Resource name of the Model Monitoring job associated with this
108
108
  # Endpoint if monitoring is enabled by
109
- # [CreateModelDeploymentMonitoringJob][]. Format:
109
+ # {::Google::Cloud::AIPlatform::V1::JobService::Client#create_model_deployment_monitoring_job JobService.CreateModelDeploymentMonitoringJob}.
110
+ # Format:
110
111
  # `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
111
112
  # @!attribute [rw] predict_request_response_logging_config
112
113
  # @return [::Google::Cloud::AIPlatform::V1::PredictRequestResponseLoggingConfig]
@@ -203,19 +204,19 @@ module Google
203
204
  # @return [::Boolean]
204
205
  # For custom-trained Models and AutoML Tabular Models, the container of the
205
206
  # DeployedModel instances will send `stderr` and `stdout` streams to
206
- # Stackdriver Logging by default. Please note that the logs incur cost,
207
+ # Cloud Logging by default. Please note that the logs incur cost,
207
208
  # which are subject to [Cloud Logging
208
- # pricing](https://cloud.google.com/stackdriver/pricing).
209
+ # pricing](https://cloud.google.com/logging/pricing).
209
210
  #
210
211
  # User can disable container logging by setting this flag to true.
211
212
  # @!attribute [rw] enable_access_logging
212
213
  # @return [::Boolean]
213
- # If true, online prediction access logs are sent to StackDriver
214
+ # If true, online prediction access logs are sent to Cloud
214
215
  # Logging.
215
216
  # These logs are like standard server access logs, containing
216
217
  # information like timestamp and latency for each prediction request.
217
218
  #
218
- # Note that Stackdriver logs may incur a cost, especially if your project
219
+ # Note that logs may incur a cost, especially if your project
219
220
  # receives prediction requests at a high queries per second rate (QPS).
220
221
  # Estimate your costs before enabling this option.
221
222
  # @!attribute [r] private_endpoints
@@ -280,6 +280,56 @@ module Google
280
280
  include ::Google::Protobuf::MessageExts
281
281
  extend ::Google::Protobuf::MessageExts::ClassMethods
282
282
  end
283
+
284
+ # Request message for
285
+ # {::Google::Cloud::AIPlatform::V1::EndpointService::Client#mutate_deployed_model EndpointService.MutateDeployedModel}.
286
+ # @!attribute [rw] endpoint
287
+ # @return [::String]
288
+ # Required. The name of the Endpoint resource into which to mutate a
289
+ # DeployedModel. Format:
290
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
291
+ # @!attribute [rw] deployed_model
292
+ # @return [::Google::Cloud::AIPlatform::V1::DeployedModel]
293
+ # Required. The DeployedModel to be mutated within the Endpoint. Only the
294
+ # following fields can be mutated:
295
+ #
296
+ # * `min_replica_count` in either
297
+ # {::Google::Cloud::AIPlatform::V1::DedicatedResources DedicatedResources} or
298
+ # {::Google::Cloud::AIPlatform::V1::AutomaticResources AutomaticResources}
299
+ # * `max_replica_count` in either
300
+ # {::Google::Cloud::AIPlatform::V1::DedicatedResources DedicatedResources} or
301
+ # {::Google::Cloud::AIPlatform::V1::AutomaticResources AutomaticResources}
302
+ # * {::Google::Cloud::AIPlatform::V1::DedicatedResources#autoscaling_metric_specs autoscaling_metric_specs}
303
+ # * `disable_container_logging` (v1 only)
304
+ # * `enable_container_logging` (v1beta1 only)
305
+ # @!attribute [rw] update_mask
306
+ # @return [::Google::Protobuf::FieldMask]
307
+ # Required. The update mask applies to the resource. See
308
+ # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
309
+ class MutateDeployedModelRequest
310
+ include ::Google::Protobuf::MessageExts
311
+ extend ::Google::Protobuf::MessageExts::ClassMethods
312
+ end
313
+
314
+ # Response message for
315
+ # {::Google::Cloud::AIPlatform::V1::EndpointService::Client#mutate_deployed_model EndpointService.MutateDeployedModel}.
316
+ # @!attribute [rw] deployed_model
317
+ # @return [::Google::Cloud::AIPlatform::V1::DeployedModel]
318
+ # The DeployedModel that's being mutated.
319
+ class MutateDeployedModelResponse
320
+ include ::Google::Protobuf::MessageExts
321
+ extend ::Google::Protobuf::MessageExts::ClassMethods
322
+ end
323
+
324
+ # Runtime operation information for
325
+ # {::Google::Cloud::AIPlatform::V1::EndpointService::Client#mutate_deployed_model EndpointService.MutateDeployedModel}.
326
+ # @!attribute [rw] generic_metadata
327
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
328
+ # The operation generic information.
329
+ class MutateDeployedModelOperationMetadata
330
+ include ::Google::Protobuf::MessageExts
331
+ extend ::Google::Protobuf::MessageExts::ClassMethods
332
+ end
283
333
  end
284
334
  end
285
335
  end
@@ -72,6 +72,13 @@ module Google
72
72
  # [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
73
73
  # analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
74
74
  # disabled.
75
+ # @!attribute [rw] offline_storage_ttl_days
76
+ # @return [::Integer]
77
+ # Optional. Config for data retention policy in offline storage.
78
+ # TTL in days for feature values that will be stored in offline storage.
79
+ # The Feature Store offline storage periodically removes obsolete feature
80
+ # values older than `offline_storage_ttl_days` since the feature generation
81
+ # time. If unset (or explicitly set to 0), default to 4000 days TTL.
75
82
  class EntityType
76
83
  include ::Google::Protobuf::MessageExts
77
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -76,10 +76,6 @@ module Google
76
76
  # ModelEvaluation. The EvaluatedDataItemView consists of all ground truths
77
77
  # and predictions on
78
78
  # {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#data_item_payload data_item_payload}.
79
- #
80
- # Can be passed in
81
- # [GetEvaluatedDataItemView's][ModelService.GetEvaluatedDataItemView][]
82
- # [id][GetEvaluatedDataItemViewRequest.id].
83
79
  # @!attribute [rw] explanations
84
80
  # @return [::Array<::Google::Cloud::AIPlatform::V1::EvaluatedAnnotationExplanation>]
85
81
  # Explanations of
@@ -443,8 +443,8 @@ module Google
443
443
  # @!attribute [rw] parameters
444
444
  # @return [::Google::Cloud::AIPlatform::V1::ExplanationParameters]
445
445
  # The parameters to be overridden. Note that the
446
- # [method][google.cloud.aiplatform.v1.ExplanationParameters.method] cannot be
447
- # changed. If not specified, no parameter is overridden.
446
+ # attribution method cannot be changed. If not specified,
447
+ # no parameter is overridden.
448
448
  # @!attribute [rw] metadata
449
449
  # @return [::Google::Cloud::AIPlatform::V1::ExplanationMetadataOverride]
450
450
  # The metadata to be overridden. If not specified, no metadata is overridden.
@@ -80,10 +80,11 @@ module Google
80
80
  include ::Google::Protobuf::MessageExts
81
81
  extend ::Google::Protobuf::MessageExts::ClassMethods
82
82
 
83
- # A list of historical [Snapshot
84
- # Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
85
- # Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
86
- # requested by user, sorted by
83
+ # A list of historical
84
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::SnapshotAnalysis SnapshotAnalysis}
85
+ # or
86
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ImportFeaturesAnalysis ImportFeaturesAnalysis}
87
+ # stats requested by user, sorted by
87
88
  # {::Google::Cloud::AIPlatform::V1::FeatureStatsAnomaly#start_time FeatureStatsAnomaly.start_time}
88
89
  # descending.
89
90
  # @!attribute [r] objective
@@ -61,6 +61,14 @@ module Google
61
61
  # @!attribute [r] state
62
62
  # @return [::Google::Cloud::AIPlatform::V1::Featurestore::State]
63
63
  # Output only. State of the featurestore.
64
+ # @!attribute [rw] online_storage_ttl_days
65
+ # @return [::Integer]
66
+ # Optional. TTL in days for feature values that will be stored in online
67
+ # serving storage. The Feature Store online storage periodically removes
68
+ # obsolete feature values older than `online_storage_ttl_days` since the
69
+ # feature generation time. Note that `online_storage_ttl_days` should be less
70
+ # than or equal to `offline_storage_ttl_days` for each EntityType under a
71
+ # featurestore. If not set, default to 4000 days
64
72
  # @!attribute [rw] encryption_spec
65
73
  # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
66
74
  # Optional. Customer-managed encryption key spec for data storage. If set,
@@ -129,7 +129,7 @@ module Google
129
129
  # @!attribute [rw] feature_descriptors
130
130
  # @return [::Array<::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::FeatureDescriptor>]
131
131
  # List of Feature metadata corresponding to each piece of
132
- # [ReadFeatureValuesResponse.data][].
132
+ # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::EntityView#data ReadFeatureValuesResponse.EntityView.data}.
133
133
  class Header
134
134
  include ::Google::Protobuf::MessageExts
135
135
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -153,7 +153,7 @@ module Google
153
153
  # * `labels`
154
154
  # * `online_serving_config.fixed_node_count`
155
155
  # * `online_serving_config.scaling`
156
- # * `online_storage_ttl_days` (available in Preview)
156
+ # * `online_storage_ttl_days`
157
157
  class UpdateFeaturestoreRequest
158
158
  include ::Google::Protobuf::MessageExts
159
159
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -617,7 +617,7 @@ module Google
617
617
  # * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
618
618
  # * `monitoring_config.numerical_threshold_config.value`
619
619
  # * `monitoring_config.categorical_threshold_config.value`
620
- # * `offline_storage_ttl_days` (available in Preview)
620
+ # * `offline_storage_ttl_days`
621
621
  class UpdateEntityTypeRequest
622
622
  include ::Google::Protobuf::MessageExts
623
623
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -187,13 +187,13 @@ module Google
187
187
  # e2-standard-16 and e2-highmem-16 for cost efficiency.
188
188
  # @!attribute [rw] enable_access_logging
189
189
  # @return [::Boolean]
190
- # Optional. If true, private endpoint's access logs are sent to StackDriver
190
+ # Optional. If true, private endpoint's access logs are sent to Cloud
191
191
  # Logging.
192
192
  #
193
193
  # These logs are like standard server access logs, containing
194
194
  # information like timestamp and latency for each MatchRequest.
195
195
  #
196
- # Note that Stackdriver logs may incur a cost, especially if the deployed
196
+ # Note that logs may incur a cost, especially if the deployed
197
197
  # index receives a high queries per second rate (QPS).
198
198
  # Estimate your costs before enabling this option.
199
199
  # @!attribute [rw] deployed_index_auth_config
@@ -692,6 +692,9 @@ module Google
692
692
 
693
693
  # The Model is saved or tuned from Model Garden.
694
694
  MODEL_GARDEN = 4
695
+
696
+ # The Model is saved or tuned from Genie.
697
+ GENIE = 5
695
698
  end
696
699
  end
697
700
  end
@@ -185,8 +185,10 @@ module Google
185
185
  # @return [::String]
186
186
  # The standard list page token.
187
187
  # Typically obtained via
188
- # {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token ListModelVersionsResponse.next_page_token}
189
- # of the previous [ModelService.ListModelversions][] call.
188
+ # {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token next_page_token}
189
+ # of the previous
190
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_versions ListModelVersions}
191
+ # call.
190
192
  # @!attribute [rw] filter
191
193
  # @return [::String]
192
194
  # An expression for filtering the results of the request. For field names
@@ -251,7 +251,7 @@ module Google
251
251
  # @!attribute [r] task_name
252
252
  # @return [::String]
253
253
  # Output only. The user specified name of the task that is defined in
254
- # [PipelineJob.spec][].
254
+ # {::Google::Cloud::AIPlatform::V1::PipelineJob#pipeline_spec pipeline_spec}.
255
255
  # @!attribute [r] create_time
256
256
  # @return [::Google::Protobuf::Timestamp]
257
257
  # Output only. Task create time.
@@ -44,18 +44,20 @@ module Google
44
44
  # @return [::Google::Protobuf::Map{::String => ::String}]
45
45
  # The labels with user-defined metadata to organize your Datasets.
46
46
  #
47
- # Label keys and values can be no longer than 64 characters
47
+ # Label keys and values cannot be longer than 64 characters
48
48
  # (Unicode codepoints), can only contain lowercase letters, numeric
49
49
  # characters, underscores and dashes. International characters are allowed.
50
50
  # No more than 64 user labels can be associated with one Dataset (System
51
51
  # labels are excluded).
52
52
  #
53
53
  # See https://goo.gl/xmQnxf for more information and examples of labels.
54
- # System reserved label keys are prefixed with "aiplatform.googleapis.com/"
55
- # and are immutable. Following system labels exist for each Dataset:
56
- # * "aiplatform.googleapis.com/dataset_metadata_schema":
57
- # - output only, its value is the
58
- # [metadata_schema's][metadata_schema_uri] title.
54
+ # System reserved label keys are prefixed with `aiplatform.googleapis.com/`
55
+ # and are immutable. The following system labels exist for each Dataset:
56
+ #
57
+ # * `aiplatform.googleapis.com/dataset_metadata_schema`: output only. Its
58
+ # value is the
59
+ # [metadata_schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri]
60
+ # title.
59
61
  # @!attribute [rw] etag
60
62
  # @return [::String]
61
63
  # Used to perform consistent read-modify-write updates. If not set, a blind
@@ -747,12 +747,12 @@ module Google
747
747
  # @!attribute [rw] page_token
748
748
  # @return [::String]
749
749
  # A page token, received from a previous
750
- # [TensorboardService.ExportTensorboardTimeSeries][] call.
751
- # Provide this to retrieve the subsequent page.
750
+ # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#export_tensorboard_time_series_data ExportTensorboardTimeSeriesData}
751
+ # call. Provide this to retrieve the subsequent page.
752
752
  #
753
753
  # When paginating, all other parameters provided to
754
- # [TensorboardService.ExportTensorboardTimeSeries][] must
755
- # match the call that provided the page token.
754
+ # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#export_tensorboard_time_series_data ExportTensorboardTimeSeriesData}
755
+ # must match the call that provided the page token.
756
756
  # @!attribute [rw] order_by
757
757
  # @return [::String]
758
758
  # Field to use to sort the TensorboardTimeSeries' data.
@@ -771,8 +771,9 @@ module Google
771
771
  # @!attribute [rw] next_page_token
772
772
  # @return [::String]
773
773
  # A token, which can be sent as
774
- # [ExportTensorboardTimeSeriesRequest.page_token][] to retrieve the next
775
- # page. If this field is omitted, there are no subsequent pages.
774
+ # {::Google::Cloud::AIPlatform::V1::ExportTensorboardTimeSeriesDataRequest#page_token page_token}
775
+ # to retrieve the next page. If this field is omitted, there are no
776
+ # subsequent pages.
776
777
  class ExportTensorboardTimeSeriesDataResponse
777
778
  include ::Google::Protobuf::MessageExts
778
779
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.22.0
4
+ version: 0.23.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: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common